From 094df6102e102f123ad5f8e4b92185043564b220 Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Sun, 13 Sep 2026 11:22:47 +0200 Subject: [PATCH] Update pm3_cmd.h Signed-off-by: Niel Nielsen --- include/pm3_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index fe8f52a03..3c11866f1 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -910,7 +910,7 @@ typedef struct { #define CMD_PM5_BWM_BLE_NAME 0x017F // payload: [action:u8][name bytes if SET] #define BWM_BLE_NAME_ACTION_GET 0x00 // resp: current BLE device name string #define BWM_BLE_NAME_ACTION_SET 0x01 // req: name bytes follow the action byte; BWM reboots to apply -#define BWM_BLE_NAME_MAX_LEN 31 // usable chars; ESP name buffer is 32 incl NUL +#define BWM_BLE_NAME_MAX_LEN 15 // usable chars; ESP name buffer is 16 incl NUL #define BWM_OTA_ACTION_BEGIN 0x00 #define BWM_OTA_ACTION_WRITE 0x01 #define BWM_OTA_ACTION_END 0x02