-
-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Description
I have to connect 3 devices and each need ~2.5 seconds for a full cycle (doConnect_Senso4s->connectToServer-Notification coming in)
I run this code for each BLE device sequential:
if(doConnect_Senso4s) // MAC+Service found {doConnect_Senso4s = false; // Für nächsten Durchlauf bereit machen if(connectToServer_Senso4s()) { debug_info("Success! we should now be getting Senso4s notifications!",1); } }
Adding the scan delay is on top.
I know that the devices are slow to connect, but I can not change this devices.
I was wondering if I could start the connectToServer simultaneously or if there is any other way to speed this up.
Many thanks for pointing me into the right direction.
Metadata
Metadata
Assignees
Labels
No labels