mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
hf mfu info: fix strong mod bit parsing
"2" was probably referring to bit 2 == 0x04 I checked the following datasheets and STRG_MOD_EN is always at 0x04: - UL EV1 - NTAG 213/215/216 - NTAG 213_F/216_F
This commit is contained in:
parent
22c7ac0c49
commit
9c05f2c729
1 changed files with 1 additions and 2 deletions
|
@ -1142,8 +1142,7 @@ static int ulev1_print_configuration(uint64_t tagtype, uint8_t *data, uint8_t st
|
|||
PrintAndLogEx(NORMAL, "");
|
||||
PrintAndLogEx(INFO, "--- " _CYAN_("Tag Configuration"));
|
||||
|
||||
bool strg_mod_en = (data[0] & 2);
|
||||
|
||||
bool strg_mod_en = (data[0] & 0x04);
|
||||
uint8_t authlim = (data[4] & 0x07);
|
||||
bool nfc_cnf_prot_pwd = ((data[4] & 0x08) == 0x08);
|
||||
bool nfc_cnf_en = ((data[4] & 0x10) == 0x10);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue