mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
Added naming for DESFire cards + fix MF3ICD40 cards unable to be read (#4058)
* Fixed MF3ICD40 DESFire cards soft-locking NFC application due to read free memory being an unsupported function, added naming for DESFire cards * NFC: slightly more granular desfire card type resolution Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -82,9 +82,12 @@ static NfcCommand mf_desfire_poller_handler_read_free_memory(MfDesfirePoller* in
|
||||
FURI_LOG_D(TAG, "Read free memory success");
|
||||
instance->state = MfDesfirePollerStateReadMasterKeySettings;
|
||||
} else if(instance->error == MfDesfireErrorNotPresent) {
|
||||
FURI_LOG_D(TAG, "Read free memoty is unsupported");
|
||||
FURI_LOG_D(TAG, "Read free memory is not present");
|
||||
instance->state = MfDesfirePollerStateReadMasterKeySettings;
|
||||
command = NfcCommandReset;
|
||||
} else if(instance->error == MfDesfireErrorCommandNotSupported) {
|
||||
FURI_LOG_D(TAG, "Read free memory is unsupported");
|
||||
instance->state = MfDesfirePollerStateReadMasterKeySettings;
|
||||
} else {
|
||||
FURI_LOG_E(TAG, "Failed to read free memory");
|
||||
iso14443_4a_poller_halt(instance->iso14443_4a_poller);
|
||||
|
||||
Reference in New Issue
Block a user