These Components implement the MIFARE Plus EVx personalization commands. More...

Functions | |
| phStatus_t | phalMfpEVx_WritePerso (void *pDataParams, uint8_t bLayer4Comm, uint16_t wBlockNr, uint8_t bNumBlocks, uint8_t *pValue) |
| Performs a Write Perso command. More... | |
| phStatus_t | phalMfpEVx_CommitPerso (void *pDataParams, uint8_t bOption, uint8_t bLayer4Comm) |
| Performs a Commit Perso command. More... | |
Options to switch the Security Level to 1 or 3. | |
| #define | PHAL_MFPEVX_MAINTIAN_BACKWARD_COMPATIBILITY 0x00U |
| Option to maintain the backward compatibility with MIFARE Plus PICC. | |
| #define | PHAL_MFPEVX_SWITCH_SECURITY_LEVEL_1 0x01U |
| Option to switch the Security Level to 1. | |
| #define | PHAL_MFPEVX_SWITCH_SECURITY_LEVEL_3 0x03U |
| Option to switch the Security Level to 3. | |
These Components implement the MIFARE Plus EVx personalization commands.
| phStatus_t phalMfpEVx_WritePerso | ( | void * | pDataParams, |
| uint8_t | bLayer4Comm, | ||
| uint16_t | wBlockNr, | ||
| uint8_t | bNumBlocks, | ||
| uint8_t * | pValue | ||
| ) |
Performs a Write Perso command.
The Write Perso command can be executed using the ISO14443-3 communication protocol (after layer 3 activation) or using the ISO14443-4 protocol (after layer 4 activation).
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bLayer4Comm | [In] ISO14443 protocol to be used. |
| [in] | wBlockNr | [In] Block number to be personalized. |
| [in] | bNumBlocks | [In] Number of blocks to be personalized. 15 block for Native communication if configured as Software component. 15 block for Native communication if configured as Sam NonX component. 13 blocks if configured as Sam X component. |
| [in] | pValue | [In] The value for the block mentioned in BlockNr parameter. If number of blocks is 1, the length should be 16 bytes. If number of blocks more than 1, the length should be (NoBlocks * 16) bytes. |
| phStatus_t phalMfpEVx_CommitPerso | ( | void * | pDataParams, |
| uint8_t | bOption, | ||
| uint8_t | bLayer4Comm | ||
| ) |
Performs a Commit Perso command.
The Commit Perso command can be executed using the ISO14443-3 communication protocol (after layer 3 activation) or using the ISO14443-4 protocol (after layer 4 activation). This command commits the written data during WritePerso command and switches the SecurityLevel to 1 or 3 based on the option provided.
If the Option parameter is 0, only the command code will be exchanges to PICC. This is to maintain the backward compatibility with MIFARE Plus PICC.
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bOption | [In] Option to be used for Security Level switching. |
| [in] | bLayer4Comm | [In] ISO14443 protocol to be used. |