Update CAPABILITIES_VERSION to 12

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
Niel Nielsen authored and Philippe Teuwen committed 2026-09-23 13:44:57 +02:00
1 parent 495a72e347
commit 2c8df402f8
1 file changed
+5 -1
+5 -1
View File
@@ -284,12 +284,16 @@ typedef struct {
// emulator memory needs no client change.
uint16_t em_size;
bool em_allocated : 1; // is a card image resident right now
// Appended in version 12.
bool compiled_with_bwm : 1; // PM5 built with PLATFORM_EXTRAS=BWM (battery/wireless module)
} PACKED capabilities_t;
// Bump this whenever a command payload changes shape, so a mismatched client and
// firmware refuse to talk instead of misparsing each other.
// 10: CMD_HF_MIFARE_EML_MEMSET gained a flags byte
// 11: capabilities_t gained em_size / em_allocated
#define CAPABILITIES_VERSION 11
// 12: capabilities_t gained compiled_with_bwm
#define CAPABILITIES_VERSION 12
// what a pre-v9 device would have used, it could not tell us
#define CAPABILITIES_LEGACY_CMD_DATA_SIZE 512
extern capabilities_t g_pm3_capabilities;