【发布时间】:2014-08-18 20:07:31
【问题描述】:
问题如标题所述。
我有两个应用程序,一个是 CBPeripheralDelegate,一个是 CBCentralManagerDelegate。外围设备在前台做广告(我想,我没有其他 BTLE 设备来测试它),但是如果我在手机的前台运行 Central 应用程序并在后台运行外围设备,似乎两者都看不到另一个.
我已根据documentation 在外围设备 info.plist 中启用 UIBackgroundModes:bluetooth-peripheral 以进行 CoreBluetooth 后台执行。
我发现有几个人试图在此处在后台做广告,但没有人在同一设备上的应用中做广告。
为了我的问题,假设我的代码运行良好......蓝牙信号可以“循环”回同一部 iPhone 吗?
【问题讨论】:
标签: ios iphone bluetooth bluetooth-lowenergy core-bluetooth