SAM commands used for ISO14443 layer 3 communication in X-Mode.
More...
|
| phStatus_t | phhalHw_SamAV3_Cmd_X_ISO14443_3_RequestA_Wakeup (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t bCmdCode, uint8_t *pAtqa) |
| | Perform a request or wake-up command (type A). More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_X_ISO14443_3_AnticollisionSelect (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t *pSelCodes, uint8_t bSelCodesLen, uint8_t *pSak, uint8_t *pUid, uint8_t *pUidLen) |
| | Perform a bit-wise anticollision and select. More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_X_ISO14443_3_ActivateIdle (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t bOption, uint8_t bNumCards, uint16_t wTime, uint8_t *pAtqaIn, uint8_t *pSakIn, uint8_t **ppResponse, uint16_t *pRespLen) |
| | Perform one or several request - anticollision - select sequences (type A). More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_X_ISO14443_3_ActivateWakeUp (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t *pUid, uint8_t bUidLen) |
| | Perform a reactivate and select for a card in halt state (type A). More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_X_ISO14443_3_HaltA (phhalHw_SamAV3_DataParams_t *pDataParams) |
| | Perform a halt command (type A). More...
|
| |
| phStatus_t | phhalHw_SamAV3_Cmd_X_ISO14443_3_TransparentExchange (phhalHw_SamAV3_DataParams_t *pDataParams, uint8_t *pTxBuf, uint8_t bTxLen, uint8_t bTxBitLen, uint8_t **ppRxBuf, uint16_t *pRxLen, uint8_t *pRxBitLen) |
| | Perform a transparent exchange command (type A). More...
|
| |
SAM commands used for ISO14443 layer 3 communication in X-Mode.
◆ phhalHw_SamAV3_Cmd_X_ISO14443_3_RequestA_Wakeup()
Perform a request or wake-up command (type A).
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bCmdCode | [In] Command code.
|
| [out] | pAtqa | [Out] AtqA returned by the card. The buffer has to be 2 bytes long. |
◆ phhalHw_SamAV3_Cmd_X_ISO14443_3_AnticollisionSelect()
Perform a bit-wise anticollision and select.
(type A).
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pSelCodes | [In] Buffer containing the SEL sequence bytes (93h, 95h and 97h). |
| [in] | bSelCodesLen | [In] Length of the SEL sequence buffer (01h to 03h). |
| [out] | pSak | [Out] Pointer to the 1 byte Select Acknowledge reveived from card. |
| [out] | pUid | [Out] Buffer containing the received UID. This buffer has to be 10 bytes long. |
| [out] | pUidLen | [Out] Amount of valid bytes in UID buffer. |
◆ phhalHw_SamAV3_Cmd_X_ISO14443_3_ActivateIdle()
Perform one or several request - anticollision - select sequences (type A).
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bOption | [In] Option parameter:
|
| [in] | bNumCards | [In] Holds the number of cards to activate. |
| [in] | wTime | [In] Time to wait for a card. |
| [in] | pAtqaIn | [In] Buffer containing the AtqA filter. This buffer has to be 4 bytes long. |
| [in] | pSakIn | [In] Buffer containing the Sak filter. This buffer has to be 2 bytes long. |
| [out] | ppResponse | [Out] Pointer to the buffer containing the received data. |
| [out] | pRespLen | [Out] Amount of valid bytes in Response buffer. |
◆ phhalHw_SamAV3_Cmd_X_ISO14443_3_ActivateWakeUp()
Perform a reactivate and select for a card in halt state (type A).
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pUid | [In] UID of the card to reactivate. |
| [in] | bUidLen | [In] Length of UID (4, 7 or 10 bytes). |
◆ phhalHw_SamAV3_Cmd_X_ISO14443_3_HaltA()
Perform a halt command (type A).
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
◆ phhalHw_SamAV3_Cmd_X_ISO14443_3_TransparentExchange()
Perform a transparent exchange command (type A).
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlaying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pTxBuf | [In] Buffer containing the data to be sent. The buffer has to be bTxLength bytes long. |
| [in] | bTxLen | [In] Number of bytes to be sent to the card. |
| [in] | bTxBitLen | [In] Number valid bits in the last byte of the bTxBuffer. If set to 00h all bits are valid. |
| [out] | ppRxBuf | [Out] Pointer to the buffer containing the received data. |
| [out] | pRxLen | [Out] Amount of valid bytes in RxBuffer. |
| [out] | pRxBitLen | [Out] Amount of valid bits in the last byte in case of an incomplete byte. |