Post

Replies

Boosts

Views

Activity

Communicating with BLE device in background for a long time
I'm developing an app that has to connect with a BLE device in the foreground. Then, when the user starts a process and locks the phone, the app has to send a command to the BLE device in the background every ~30-180 seconds. It has to do this for hours (~8 hours). It's a very simple process that shouldn't drain the battery or require a lot of memory. Is it possible to do this without the app getting terminated by the system? Any help would be really appreciated!
1
0
1.1k
Jun ’20