Enable deactivation of BLE connect (#895)
Useful if you want to scan continuously for BLE device, in this case you should deactivate the BLE connect to avoid concurrency between scan and connect
This commit is contained in:
1 parent
e2feb0bc24
commit
8afb1c5223
4 files changed
+41
-3
No files matched your search
@@ -36,6 +36,10 @@ extern void launchBTDiscovery();
|
||||
extern int btQueueBlocked;
|
||||
extern int btQueueLengthSum;
|
||||
extern int btQueueLengthCount;
|
||||
# ifndef AttemptBLECOnnect
|
||||
# define AttemptBLECOnnect true //do we by default attempt a BLE connection to sensors with ESP32
|
||||
# endif
|
||||
bool bleConnect = AttemptBLECOnnect;
|
||||
#endif
|
||||
|
||||
/*----------------------BT topics & parameters-------------------------*/
|
||||
|
||||
Reference in new issue
Block a user