Ble advertising and scanning in background mode

早过忘川 提交于 2020-05-06 00:30:48

问题


I have an application that acts as a BLE Peripheral and advertises a specific service CBUUIDs,

It never connects to the peripherals

It is critical for my use case that this app continues advertising even when the app is operating in the background.

Though according to Apple’s documentation and several posts from online forums, iOS will severely limit what an app advertise while operating in the background, Is there any way we can advertise the device with name/data in complete background mode so that it can be detected by all the devices (android / ios ) in both background and foreground mode in continues manner or periodically i.e after every 5/10/15 min

Any help is appreciated!

来源:https://stackoverflow.com/questions/61510706/ble-advertising-and-scanning-in-background-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!