Increase BWM_OTA_CHUNK_MAX from 236 to 240

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
Niel Nielsen
2026-09-04 08:31:54 +02:00
committed by GitHub
parent c4cc31e06b
commit f5029c265f
+1 -1
View File
@@ -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 236
#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