NXP Reader Library  v17.1.0.2535

Version Command of HAL DUT Command dispatcher frame. More...

Collaboration diagram for Command_Version:

Modules

 Command_Codes
 Version Command Codes of HAL DUT Command dispatcher frame.
 

Functions

phStatus_t phhalHw_DUT_Cmd_GetVersion (phhalHw_DUT_DataParams_t *pDataParams, uint8_t *pProductVer, uint16_t *pMajor, uint8_t *pMinor, uint16_t *pPatch_Dev, uint8_t *pVersionString, uint16_t *pVersionLen)
 The function gets the Version of the Firmware of DUT. More...
 
phStatus_t phhalHw_DUT_Cmd_GetVersion_NFC (phhalHw_DUT_DataParams_t *pDataParams, uint8_t *pProductVer, uint16_t *pMajor, uint8_t *pMinor, uint16_t *pPatch_Dev, uint8_t *pVersionString, uint16_t *pVersionLen)
 The function gets the Version of the NFC Controller connected to the DUT. More...
 
phStatus_t phhalHw_DUT_Cmd_GetVersion_CompiledInfo (phhalHw_DUT_DataParams_t *pDataParams, uint8_t *pResponse, uint16_t *pRspLen)
 The function gets the date and time at which the firmware code is compiled. More...
 
phStatus_t phhalHw_DUT_Cmd_GetVersion_ReaderIcType (phhalHw_DUT_DataParams_t *pDataParams, uint8_t *pResponse, uint16_t *pRspLen)
 The function gets the type of NFC Reader IC being used. More...
 

Detailed Description

Version Command of HAL DUT Command dispatcher frame.

Function Documentation

◆ phhalHw_DUT_Cmd_GetVersion()

phStatus_t phhalHw_DUT_Cmd_GetVersion ( phhalHw_DUT_DataParams_t pDataParams,
uint8_t pProductVer,
uint16_t pMajor,
uint8_t pMinor,
uint16_t pPatch_Dev,
uint8_t pVersionString,
uint16_t pVersionLen 
)

The function gets the Version of the Firmware of DUT.

Returns
Status code
Return values
PH_ERR_SUCCESSCommand successfully executed.
PH_ERR_INTERFACE_ERRORCommunication error.
PH_ERR_PROTOCOL_ERRORInvalid frame or unexpected receive data length or command code mismatch.
Parameters
[in]pDataParams[IN] Pointer to this layer parameter structure.
[out]pProductVer[OUT] Product Version.
[out]pMajor[OUT] Major Version.
[out]pMinor[OUT] Minor Version.
[out]pPatch_Dev[OUT] Development/Patch Version.
[out]pVersionString[OUT] Complete version information in form of ASCII bytes. Should be minimum 32 bytes long.
[in]pVersionLen[In] Length of bytes allocated for pVersionString buffer. [Out] Length of bytes available in pVersionString buffer.

◆ phhalHw_DUT_Cmd_GetVersion_NFC()

phStatus_t phhalHw_DUT_Cmd_GetVersion_NFC ( phhalHw_DUT_DataParams_t pDataParams,
uint8_t pProductVer,
uint16_t pMajor,
uint8_t pMinor,
uint16_t pPatch_Dev,
uint8_t pVersionString,
uint16_t pVersionLen 
)

The function gets the Version of the NFC Controller connected to the DUT.

Returns
Status code
Return values
PH_ERR_SUCCESSCommand successfully executed.
PH_ERR_INTERFACE_ERRORCommunication error.
PH_ERR_PROTOCOL_ERRORInvalid frame or unexpected receive data length or command code mismatch.
Parameters
[in]pDataParams[IN] Pointer to this layer parameter structure.
[out]pProductVer[OUT] Product Version.
[out]pMajor[OUT] Major Version.
[out]pMinor[OUT] Minor Version.
[out]pPatch_Dev[OUT] Development/Patch Version.
[out]pVersionString[OUT] Complete version information in form of ASCII bytes. Should be minimum 32 bytes long.
[in]pVersionLen[In] Length of bytes allocated for pVersionString buffer. [Out] Length of bytes available in pVersionString buffer.

◆ phhalHw_DUT_Cmd_GetVersion_CompiledInfo()

phStatus_t phhalHw_DUT_Cmd_GetVersion_CompiledInfo ( phhalHw_DUT_DataParams_t pDataParams,
uint8_t pResponse,
uint16_t pRspLen 
)

The function gets the date and time at which the firmware code is compiled.

Returns
Status code
Return values
PH_ERR_SUCCESSCommand successfully executed.
PH_ERR_INTERFACE_ERRORCommunication error.
PH_ERR_PROTOCOL_ERRORInvalid frame or unexpected receive data length or command code mismatch.
Parameters
[in]pDataParams[IN] Pointer to this layer parameter structure.
[out]pResponse[OUT] Complete version information in form of ASCII bytes. Should be minimum 128 bytes long.
[in]pRspLen[In] Length of bytes allocated for pResponse buffer. [Out] Length of bytes available in pResponse buffer.

◆ phhalHw_DUT_Cmd_GetVersion_ReaderIcType()

phStatus_t phhalHw_DUT_Cmd_GetVersion_ReaderIcType ( phhalHw_DUT_DataParams_t pDataParams,
uint8_t pResponse,
uint16_t pRspLen 
)

The function gets the type of NFC Reader IC being used.

Returns
Status code
Return values
PH_ERR_SUCCESSCommand successfully executed.
PH_ERR_INTERFACE_ERRORCommunication error.
PH_ERR_PROTOCOL_ERRORInvalid frame or unexpected receive data length or command code mismatch.
Parameters
[in]pDataParams[IN] Pointer to this layer parameter structure.
[out]pResponse[OUT] NFCController / FrontEnd type in form of ASCII. Should be minimum 16 bytes long.
[in]pRspLen[In] Length of bytes allocated for pResponse buffer. [Out] Length of bytes available in pResponse buffer.