3

我学会了使用新的 ios7 API 进行点对点通信,并且工作正常,但仅限于 ios 设备之间。所以这不是我的目标!我需要制作一个 ios 应用程序来发现附近的设备(ios 或 android),并且只可视化设备的名称和唯一的密钥(我知道的 mac 地址已被 ios7 弃用)。重复我不希望设备之间的通信我只想看到附近的设备....我想在 ios 出现问题之前接近然后我将传递给 android sdk。

任何想法?....

4

1 回答 1

2

Android and iOS do not cooperate on BLE connections. The issue is explained in detail in this answer https://stackoverflow.com/a/18757882/768935.

Shortly, you won't be able to do this until the https://code.google.com/p/android/issues/detail?id=58725 issue is solved.

Alternatively, you can use e.g. the Bump API to implement the connection (and it's a lot funnier too) https://stackoverflow.com/a/18984325/768935

于 2013-11-05T14:09:36.030 回答