BLE Background Fetching - Polling vs. Notify

I’m working on an iOS app that uses Bluetooth Low Energy (BLE) to communicate with a peripheral device. Currently, we scan by service ID and successfully connect in the background.

Would it be acceptable (and within Apple's guidelines) to poll data from the device every 5 seconds while in the background?

Or is it required to have the BLE device notify?

This is not a matter of being acceptable or guidelines. When in the background your app cannot execute code beyond a few seconds before it gets suspended.

For BLE activity in the background, it must be the remote device which needs to notify in order to wake up your app in the background and give it some execution time to read and process the data.


Argun Tekant /  DTS Engineer / Core Technologies

BLE Background Fetching - Polling vs. Notify
 
 
Q