Reputation: 16
I'm developing an iOS app which interacts with BLE device. what I wanted to do is, app detects BLE device and gets info from it in background mode. After getting info from BLE in background mode, I want to send that info to server. how can i achieve this functionality.
Upvotes: 0
Views: 295
Reputation: 547
Yes you can do this,
Keep one connection request alive in background, whenever your BLE device advertised your app should automatically connect with BLE device and getting information from your BLE device as per your services implementation. After getting data from BLE device you can send that data via web service using background task.
Upvotes: 1