* esp32 SerialBLEInterface: 1 second delay now applied before testing whether to re-start advertising

This commit is contained in:
Scott Powell committed 2025-02-26 20:53:31 +11:00
1 parent 1d8057e232
commit 0d33e2e70a
2 files changed
+13 -10

No files matched your search

+2 -2
View File
@@ -12,10 +12,10 @@ class SerialBLEInterface : public BaseSerialInterface, BLESecurityCallbacks, BLE
BLECharacteristic * pTxCharacteristic;
bool deviceConnected;
bool oldDeviceConnected;
bool checkAdvRestart;
bool _isEnabled;
uint32_t _pin_code;
unsigned long _last_write;
unsigned long adv_restart_time;
struct Frame {
uint8_t len;
@@ -53,7 +53,7 @@ public:
pService = NULL;
deviceConnected = false;
oldDeviceConnected = false;
checkAdvRestart = false;
adv_restart_time = 0;
_isEnabled = false;
_last_write = 0;
send_queue_len = recv_queue_len = 0;