From 857a85557a59c42bd76d01c0631b6bfb9c4fe540 Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Fri, 4 Sep 2026 08:22:58 +0200 Subject: [PATCH] Reduce BWM_OTA_CHUNK_MAX from 264 to 248 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 dfbf66336..e0487108b 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -894,7 +894,7 @@ typedef struct { // internal frame buffer (bwm_wifi.c: bwm_cmd()'s `frame[8 + 256]`), which is // far smaller than the USB link's max_cmd_data_size - do not derive this from // g_conn.max_cmd_data_size. -#define BWM_OTA_CHUNK_MAX 264 +#define BWM_OTA_CHUNK_MAX 248 // CMD_PM5_BWM_WIFI payload: [action:u8][port:u16 LE][ssid\0][pwd\0][hostname\0] #define BWM_WIFI_ACTION_START 0x00 // join AP + start TCP server #define BWM_WIFI_ACTION_STOP 0x01 // tear down, back to BLE-only