Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BLE Notification when the application is not running

Is there a possibility to receive BLE notification in your application for a specific UUID or whenever any UUID gets in range while the application is not running? E.g. the same way Push Notifications work?

I tried to google around but so far no helpful information that I could achieve. Any pointers?

like image 316
Syed Absar Avatar asked Sep 29 '13 07:09

Syed Absar


Video Answer


1 Answers

Checkout background execution modes. The app does not need to run in foreground in this case, but it needs to have been started before and has to be in background at least.

iOS7 introduces a Bluetooth state preservation and restoration for long term Bluetooth tasks. By these means, even a terminated app will be restored in background mode by the os.

like image 71
alex Avatar answered Oct 13 '22 00:10

alex