From b3fc31f58f77cc18219beee4c1578ed424645e37 Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Fri, 28 Aug 2026 10:24:18 +0200 Subject: [PATCH] Fix header file formatting and add missing defines Signed-off-by: Niel Nielsen --- include/pm3_cmd.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index 21ccfb9f1..739c6b0c4 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -662,6 +662,9 @@ typedef struct { // PM5, toggle automatic power-off on USB unplug. Used by `hw bwmautooff`. #define CMD_PM5_BWM_AUTOOFF 0x017B #define CMD_PM5_BWM_WIFI 0x017C +// 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 // For low-frequency tags #define CMD_LF_TI_READ 0x0202 #define CMD_LF_TI_WRITE 0x0203