These Components implement the MIFARE Plus (R) commands. More...

Modules | |
| Component : Software | |
| Component : Sam_NonX | |
| Component : Sam_X | |
| Commands_Personalization | |
| These Components implements the MIFARE Plus personalization commands. | |
| Commands_Authenticate | |
| These Components implement the MIFARE Plus authentication commands. | |
| Commands_DataOperations | |
| These Components implement the MIFARE Plus data operation commands. | |
| Commands_ValueOperations | |
| These Components implement the MIFARE Plus value operation commands. | |
| Commands_Special | |
| These Components implement the MIFARE Plus additional feature commands. | |
Authentication Parameters | |
| #define | PHAL_MFP_KEYA 0x0AU |
| MIFARE(R) Key A. | |
| #define | PHAL_MFP_KEYB 0x0BU |
| MIFARE(R) Key B. | |
Custom Error Codes | |
| #define | PHAL_MFP_ERR_AUTH (PH_ERR_CUSTOM_BEGIN + 0) /*< MFP Authentication Error. */ |
| #define | PHAL_MFP_ERR_CMD_OVERFLOW (PH_ERR_CUSTOM_BEGIN + 1) /*< MFP Command Overflow Error. */ |
| #define | PHAL_MFP_ERR_MAC_PCD (PH_ERR_CUSTOM_BEGIN + 2) /*< MFP MAC Error. */ |
| #define | PHAL_MFP_ERR_BNR (PH_ERR_CUSTOM_BEGIN + 3) /*< MFP Blocknumber Error. */ |
| #define | PHAL_MFP_ERR_EXT (PH_ERR_CUSTOM_BEGIN + 4) /*< MFP Extension Error. */ |
| #define | PHAL_MFP_ERR_CMD_INVALID (PH_ERR_CUSTOM_BEGIN + 5) /*< MFP Invalid Command Error. */ |
| #define | PHAL_MFP_ERR_FORMAT (PH_ERR_CUSTOM_BEGIN + 6) /*< MFP Authentication Error. */ |
| #define | PHAL_MFP_ERR_GEN_FAILURE (PH_ERR_CUSTOM_BEGIN + 7) /*< MFP Generic Error. */ |
Sizes | |
| #define | PHAL_MFP_SIZE_TI 4U |
| Size of Transaction Identifier. | |
| #define | PHAL_MFP_SIZE_KEYMODIFIER 6U |
| Size of MIFARE KeyModifier. | |
| #define | PHAL_MFP_SIZE_MAC 16U |
| Size of (untruncated) MAC. | |
Options to indicate the ISO14443 protocol layer to be used. | |
| #define | PHAL_MFP_ISO14443_L3 0x00U |
| Option to use Iso14443 Layer 3 protocol. | |
| #define | PHAL_MFP_ISO14443_L4 0x01U |
| Option to use Iso14443 Layer 4 protocol. | |
Options to indicate the communication mode. | |
| #define | PHAL_MFP_ENCRYPTION_OFF 0x00U |
| Option to indicate the communication between PCD and PICC is plain. | |
| #define | PHAL_MFP_ENCRYPTION_ON 0x01U |
| Option to indicate the communication between PCD and PICC is encrypted. | |
Options to indicate the communication mode as maced for PCD to PICC transfer. | |
| #define | PHAL_MFP_MAC_ON_COMMAND_OFF 0x00U |
| Option to indicate the communication is not maced for PCD to PICC transfer. | |
| #define | PHAL_MFP_MAC_ON_COMMAND_ON 0x01U |
| Option to indicate the communication is maced for PCD to PICC transfer. | |
Options to indicate the communication mode as maced for PICC to PCD transfer. | |
| #define | PHAL_MFP_MAC_ON_RESPONSE_OFF 0x00U |
| Option to indicate the communication is not maced for PICC to PCD transfer. | |
| #define | PHAL_MFP_MAC_ON_RESPONSE_ON 0x01U |
| Option to indicate the communication is maced for PICC to PCD transfer. | |
These Components implement the MIFARE Plus (R) commands.