mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-12 12:26:11 -04:00
serious bug: connection to phones not being properly tracked
This commit is contained in:
1 parent
e60ef655cb
commit
d179bda728
14 files changed
+90
-54
No files matched your search
@@ -31,6 +31,10 @@ void BluetoothPhoneAPI::onNowHasData(uint32_t fromRadioNum)
|
||||
}
|
||||
}
|
||||
|
||||
bool BluetoothPhoneAPI::checkIsConnected() {
|
||||
return curConnectionHandle != -1;
|
||||
}
|
||||
|
||||
int toradio_callback(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg)
|
||||
{
|
||||
auto om = ctxt->om;
|
||||
|
||||
Reference in new issue
Block a user