mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
Merge branch 'fz-dev' into dev
This commit is contained in:
commit
196fc562d8
1 changed files with 14 additions and 12 deletions
|
@ -89,18 +89,20 @@ void nfc_scene_nfc_data_info_on_enter(void* context) {
|
||||||
furi_string_cat_printf(temp_str, "\nPassword-protected");
|
furi_string_cat_printf(temp_str, "\nPassword-protected");
|
||||||
} else if(data->auth_success) {
|
} else if(data->auth_success) {
|
||||||
MfUltralightConfigPages* config_pages = mf_ultralight_get_config_pages(data);
|
MfUltralightConfigPages* config_pages = mf_ultralight_get_config_pages(data);
|
||||||
furi_string_cat_printf(
|
if(config_pages) {
|
||||||
temp_str,
|
furi_string_cat_printf(
|
||||||
"\nPassword: %02X %02X %02X %02X",
|
temp_str,
|
||||||
config_pages->auth_data.pwd.raw[0],
|
"\nPassword: %02X %02X %02X %02X",
|
||||||
config_pages->auth_data.pwd.raw[1],
|
config_pages->auth_data.pwd.raw[0],
|
||||||
config_pages->auth_data.pwd.raw[2],
|
config_pages->auth_data.pwd.raw[1],
|
||||||
config_pages->auth_data.pwd.raw[3]);
|
config_pages->auth_data.pwd.raw[2],
|
||||||
furi_string_cat_printf(
|
config_pages->auth_data.pwd.raw[3]);
|
||||||
temp_str,
|
furi_string_cat_printf(
|
||||||
"\nPACK: %02X %02X",
|
temp_str,
|
||||||
config_pages->auth_data.pack.raw[0],
|
"\nPACK: %02X %02X",
|
||||||
config_pages->auth_data.pack.raw[1]);
|
config_pages->auth_data.pack.raw[0],
|
||||||
|
config_pages->auth_data.pack.raw[1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if(protocol == NfcDeviceProtocolMifareClassic) {
|
} else if(protocol == NfcDeviceProtocolMifareClassic) {
|
||||||
MfClassicData* data = &dev_data->mf_classic_data;
|
MfClassicData* data = &dev_data->mf_classic_data;
|
||||||
|
|
Loading…
Reference in a new issue