how can iOS app set the Core Bluetooth advertisement rate?

对着背影说爱祢 提交于 2019-12-10 20:00:08

问题


My iOS app running iPad is advertising too often, and subsequently seems to be spamming my embedded Bluetooth LE device, which is reading data out of ad from iPad.

How can I slow down iPad rate of advertising?


回答1:


Advertisement rate is not settable in Core Bluetooth. There is no public API that enables you to do it.

While your application is in the foreground, the advertisement will be fast, and in the background it will be limited, most importantly rate throttled down, advertised services removed and local name not used.



来源:https://stackoverflow.com/questions/21412903/how-can-ios-app-set-the-core-bluetooth-advertisement-rate

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