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