NFC: Add MFUL counters to Info page (#472)

* Add MFUL counters to Info page

* Update changelog

---------

Co-authored-by: WillyJL <me@willyjl.dev>
This commit is contained in:
Aaron Tulino
2025-11-29 17:41:00 -07:00
committed by GitHub
parent 2646c7618e
commit 12b8907489
2 changed files with 8 additions and 0 deletions

View File

@@ -72,6 +72,7 @@
- UL: Returning fix for reading PWD locked MFUL (by @mishamyte)
- UL: Added UL-C keys to the dictionary (by @mishamyte)
- Add MIFARE Classic "Show Keys" UI (#473 by @aaronjamt)
- Add MFUL counters to Info page (#472 by @aaronjamt)
- SubGHz:
- UL: Roger (static 28 bit) with add manually support (by @xMasterX & @mishamyte)
- UL: V2 Phoenix full support (button switch, add manually, counter decrypt/encrypt) (by @xMasterX & @RocketGod-git, original code by @Skorpionm)

View File

@@ -9,6 +9,11 @@ static void nfc_render_mf_ultralight_pages_count(const MfUltralightData* data, F
}
}
static void nfc_render_mf_ultralight_counters(const MfUltralightData* data, FuriString* str) {
for(uint8_t i = 0; i < MF_ULTRALIGHT_COUNTER_NUM; i++)
furi_string_cat_printf(str, "\nCounter %u: %lu", i, data->counter[i].counter);
}
void nfc_render_mf_ultralight_pwd_pack(const MfUltralightData* data, FuriString* str) {
MfUltralightConfigPages* config;
@@ -44,6 +49,8 @@ void nfc_render_mf_ultralight_info(
nfc_render_iso14443_3a_info(data->iso14443_3a_data, format_type, str);
nfc_render_mf_ultralight_pages_count(data, str);
nfc_render_mf_ultralight_counters(data, str);
}
void nfc_render_mf_ultralight_dump(const MfUltralightData* data, FuriString* str) {