mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-12 02:09:28 +00:00
For the Flipper Zero FAP's status page: hw status/CMD_STATUS replies entirely via free-text Dbprintf packets the FAP's frame layer discards, with nothing structured on the terminating ack. CMD_CEP_STATUS follows the CMD_CAPABILITIES precedent instead - one binary cep_status_t reply covering CEP handshake state, BWM battery telemetry, and a firmware version string. Always replies PM3_SUCCESS; fields for a feature this build lacks (no WITH_CEP, no WITH_BWM_STATUS) read as zero rather than failing the command, so any client can call it unconditionally. cep_attached isn't included yet - its getter (cep_is_attached()) only exists on the not-yet-merged WFI-skip responsiveness branch (#3687); can be appended later following capabilities_t's own append-only convention. Stacked on the pm5-bwm-battery-telemetry branch (CMD_PM5_BWM_GET_BATTERY), which this command's battery field reuses via bwm_read_battery_info(). Co-Authored-By: Claude Sonnet 5 <[email protected]>