mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-07-22 06:28:43 -04:00
Improved ESP32 BLE pairing. Added unpair command.
This commit is contained in:
parent
e1a2cc02bb
commit
9ef504392b
6 changed files with 116 additions and 86 deletions
|
@ -1144,6 +1144,10 @@ void serial_callback(uint8_t sbyte) {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
} else if (command == CMD_BT_UNPAIR) {
|
||||
#if HAS_BLE
|
||||
if (sbyte == 0x01) { bt_debond_all(); }
|
||||
#endif
|
||||
} else if (command == CMD_DISP_INT) {
|
||||
#if HAS_DISPLAY
|
||||
if (sbyte == FESC) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue