Improved ESP32 BLE pairing. Added unpair command.

This commit is contained in:
Mark Qvist 2025-04-13 16:56:45 +02:00
parent e1a2cc02bb
commit 9ef504392b
6 changed files with 116 additions and 86 deletions

View file

@ -61,6 +61,7 @@
#define CMD_DISP_RCND 0x68
#define CMD_NP_INT 0x65
#define CMD_BT_CTRL 0x46
#define CMD_BT_UNPAIR 0x70
#define CMD_BT_PIN 0x62
#define CMD_DIS_IA 0x69
@ -82,10 +83,10 @@
#define CMD_RESET 0x55
#define CMD_RESET_BYTE 0xF8
#define CMD_LOG 0x70
#define CMD_TIME 0x70
#define CMD_MUX_CHAIN 0x80
#define CMD_MUX_DSCVR 0x81
#define CMD_LOG 0x80
#define CMD_TIME 0x81
#define CMD_MUX_CHAIN 0x82
#define CMD_MUX_DSCVR 0x83
#define DETECT_REQ 0x73
#define DETECT_RESP 0x46