NXP Reader Library  v17.1.0.2535

SAM commands used for host communication and security related configuration. More...

Collaboration diagram for Security and Configuration:

Macros

#define PHHAL_HW_SAMAV2_CMD_GET_VERSION_DATA_LENGTH   0x00
 CMD length of GetVersion command.
 
#define PHHAL_HW_SAMAV2_CMD_GET_VERSION_RESPONSE_LENGTH   0x1F
 Response length for GetVersion command.
 
#define PHHAL_HW_SAMAV2_CMD_GET_VERSION_RESPONSE_UID_OFFSET   0x0E
 Offset of first UID byte field in the Version field.
 
#define PHHAL_HW_SAMAV2_CMD_GET_VERSION_RESPONSE_HOSTMODE_POS   0x1E
 Offset of first UID byte field in the Version field.
 

Functions

phStatus_t phhalHw_SamAV2_Cmd_SAM_GetVersion (phhalHw_SamAV2_DataParams_t *pDataParams, uint8_t *pVersion, uint8_t *pVersionLength)
 Get version information from the SAM. More...
 

Sam AV2 command code for Sam Security and configuration feature.

#define PHHAL_HW_SAMAV2_CMD_GET_VERSION_INS   0x60
 CMD Byte for GetVersion command.
 

Detailed Description

SAM commands used for host communication and security related configuration.

Function Documentation

◆ phhalHw_SamAV2_Cmd_SAM_GetVersion()

phStatus_t phhalHw_SamAV2_Cmd_SAM_GetVersion ( phhalHw_SamAV2_DataParams_t pDataParams,
uint8_t pVersion,
uint8_t pVersionLength 
)

Get version information from the SAM.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlaying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[out]pVersion[Out] Buffer containing the read version. It has to be 31 bytes long.
[out]pVersionLength[Out] Amount of valid bytes in the version buffer.