From ca129dcafaf0d364f922b4fc76253927b271e1a3 Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Sun, 23 Aug 2026 13:28:07 +0200 Subject: [PATCH] ADD bwmsetcap command id i Signed-off-by: Niel Nielsen --- include/pm3_cmd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index 057ed9f15..0df3c1f68 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -639,7 +639,8 @@ typedef struct { #define CMD_PM5_QC_TEST 0x0177 // PM5, set the antenna RGB LED colour (payload: r,g,b). Used by `hf/lf tune --rgb`. #define CMD_PM5_RGB_SET 0x0178 - +// PM5, provision BWM fuel-gauge (BQ27427) Design Capacity. Used by `hw bwmsetcap`. +#define CMD_PM5_BWM_SET_CAP 0x0179 // For low-frequency tags #define CMD_LF_TI_READ 0x0202 #define CMD_LF_TI_WRITE 0x0203