From 9d122041357ca017e26a408e71dfd6267e901541 Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Fri, 4 Sep 2026 09:56:04 +0200 Subject: [PATCH] Change BWM_OTA_CHUNK_MAX to 240 Updated maximum firmware bytes per WRITE action from 2048 to 240. 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 68d021f6b..54be972ed 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -891,7 +891,7 @@ typedef struct { #define BWM_OTA_ACTION_VERSION 0x04 #define BWM_OTA_ACTION_REBOOT 0x05 // Max firmware bytes per WRITE action. -#define BWM_OTA_CHUNK_MAX 2048 +#define BWM_OTA_CHUNK_MAX 240 // 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