These Components implement the MIFARE Identity ISO/IEC 7816-4 Basic commands. More...

Functions | |
| phStatus_t | phalMfIdentity_IsoSelectFile (void *pDataParams, uint8_t bOption, uint8_t bSelector, uint8_t *pFid, uint8_t *pDFname, uint8_t bDFnameLen, uint8_t bExtendedLenApdu, uint8_t **ppFCI, uint16_t *pwFCILen) |
| ISO Select. More... | |
Options for ISOSelectFile command. | |
| #define | PHAL_MFIDENTITY_FCI_RETURNED 0x00U |
| Option to indicate the return of FCI. | |
| #define | PHAL_MFIDENTITY_FCI_NOT_RETURNED 0x0CU |
| Option to indicate the no return of FCI. | |
| #define | PHAL_MFIDENTITY_SELECTOR_0 0x00U |
| Option to indicate Selection by 2 byte file Id. | |
| #define | PHAL_MFIDENTITY_SELECTOR_1 0x01U |
| Option to indicate Selection by child DF. | |
| #define | PHAL_MFIDENTITY_SELECTOR_2 0x02U |
| Option to indicate Select EF under current DF. More... | |
| #define | PHAL_MFIDENTITY_SELECTOR_3 0x03U |
| Option to indicate Select parent DF of the current DF. | |
| #define | PHAL_MFIDENTITY_SELECTOR_4 0x04U |
| Option to indicate Selection by DF Name. More... | |
These Components implement the MIFARE Identity ISO/IEC 7816-4 Basic commands.
| #define PHAL_MFIDENTITY_SELECTOR_2 0x02U |
Option to indicate Select EF under current DF.
Fid = EF id.
| #define PHAL_MFIDENTITY_SELECTOR_4 0x04U |
Option to indicate Selection by DF Name.
DFName and len is then valid.
| phStatus_t phalMfIdentity_IsoSelectFile | ( | void * | pDataParams, |
| uint8_t | bOption, | ||
| uint8_t | bSelector, | ||
| uint8_t * | pFid, | ||
| uint8_t * | pDFname, | ||
| uint8_t | bDFnameLen, | ||
| uint8_t | bExtendedLenApdu, | ||
| uint8_t ** | ppFCI, | ||
| uint16_t * | pwFCILen | ||
| ) |
ISO Select.
This command is implemented in compliance with ISO/IEC 7816-4.
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bOption | [In] Option for return / no return of FCI. |
| [in] | bSelector | [In] The selector to be used. |
| [in] | pFid | [In] The ISO File number to be selected. |
| [in] | pDFname | [In] The ISO DFName to be selected. Valid only when bOption = 0x04. |
| [in] | bDFnameLen | [In] Length of bytes available in DFname buffer. |
| [in] | bExtendedLenApdu | [In] Flag for Extended Length APDU. 0x01 for Extended Length APDUs. 0x00 or any other value for Short APDUs. |
| [out] | ppFCI | [Out] The FCI information returned by the PICC. |
| [out] | pwFCILen | [Out] Length of bytes available in FCI buffer. |