5#define MF_DESFIRE_FFF_PICC_PREFIX "PICC"
6#define MF_DESFIRE_FFF_APP_PREFIX "Application"
9#define MF_DESFIRE_STATUS_OPERATION_OK (0x00)
11#define MF_DESFIRE_STATUS_NO_CHANGES (0x0C)
13#define MF_DESFIRE_STATUS_OUT_OF_EEPROM_ERROR (0x0E)
15#define MF_DESFIRE_STATUS_ILLEGAL_COMMAND_CODE (0x1C)
17#define MF_DESFIRE_STATUS_INTEGRITY_ERROR (0x1E)
19#define MF_DESFIRE_STATUS_NO_SUCH_KEY (0x40)
21#define MF_DESFIRE_STATUS_LENGTH_ERROR (0x7E)
23#define MF_DESFIRE_STATUS_PERMISSION_DENIED (0x9D)
25#define MF_DESFIRE_STATUS_PARAMETER_ERROR (0x9E)
27#define MF_DESFIRE_STATUS_APPLICATION_NOT_FOUND (0xA0)
29#define MF_DESFIRE_STATUS_APPL_INTEGRITY_ERROR (0xA1)
31#define MF_DESFIRE_STATUS_AUTHENTICATION_ERROR (0xAE)
33#define MF_DESFIRE_STATUS_ADDITIONAL_FRAME (0xAF)
36#define MF_DESFIRE_STATUS_BOUNDARY_ERROR (0xBE)
38#define MF_DESFIRE_STATUS_PICC_INTEGRITY_ERROR (0xC1)
40#define MF_DESFIRE_STATUS_COMMAND_ABORTED (0xCA)
42#define MF_DESFIRE_STATUS_PICC_DISABLED_ERROR (0xCD)
44#define MF_DESFIRE_STATUS_COUNT_ERROR (0xCE)
46#define MF_DESFIRE_STATUS_DUBLICATE_ERROR (0xDE)
48#define MF_DESFIRE_STATUS_EEPROM_ERROR (0xEE)
50#define MF_DESFIRE_STATUS_FILE_NOT_FOUND (0xF0)
52#define MF_DESFIRE_STATUS_FILE_INTEGRITY_ERROR (0xF1)
71bool mf_desfire_key_version_parse(MfDesfireKeyVersion* data,
const BitBuffer* buf);
73bool mf_desfire_application_id_parse(
78bool mf_desfire_file_id_parse(MfDesfireFileId* data, uint32_t index,
const BitBuffer* buf);
108bool mf_desfire_key_settings_load(
113bool mf_desfire_key_version_load(
114 MfDesfireKeyVersion* data,
119bool mf_desfire_file_count_load(uint32_t* data,
const char* prefix,
FlipperFormat* ff);
121bool mf_desfire_file_ids_load(
122 MfDesfireFileId* data,
127bool mf_desfire_file_settings_load(
134bool mf_desfire_application_count_load(uint32_t* data,
FlipperFormat* ff);
136bool mf_desfire_application_ids_load(
149bool mf_desfire_key_settings_save(
154bool mf_desfire_key_version_save(
155 const MfDesfireKeyVersion* data,
160bool mf_desfire_file_ids_save(
161 const MfDesfireFileId* data,
166bool mf_desfire_file_settings_save(
171bool mf_desfire_file_data_save(
176bool mf_desfire_application_count_save(
const uint32_t* data,
FlipperFormat* ff);
178bool mf_desfire_application_ids_save(
183bool mf_desfire_application_save(
Definition bit_buffer.c:7
Definition mf_desfire.h:120
Definition mf_desfire.h:116
Definition mf_desfire.h:112
Definition mf_desfire.h:89
Definition mf_desfire.h:55
Definition mf_desfire.h:60
Definition mf_desfire.h:32
Simple Array configuration structure.
Definition simple_array.h:37