NXP Reader Library  v17.1.0.2535
Commands_MemoryConfiguration

These Components implement the MIFARE PRIME NTAG Memory and Configuration Management related commands. More...

Collaboration diagram for Commands_MemoryConfiguration:

Functions

phStatus_t phalMfprimeNtag_SetConfiguration (void *pDataParams, uint8_t bOption, uint8_t *pData, uint8_t bDataLen)
 Configures the card and pre personalizes the card with a key, defines if the UID or the random ID is sent back during communication setup and configures the ATS string. More...
 
phStatus_t phalMfprimeNtag_GetVersion (void *pDataParams, uint8_t *pVerInfo)
 Returns manufacturing related data of the PICC. More...
 

Options for SetConfiguration command.

#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION0   0x00U
 Option 0 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION1   0x01U
 Option 1 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION2   0x02U
 Option 2 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION3   0x03U
 Option 3 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION4   0x04U
 Option 4 for Secure Messaging Configuration.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION5   0x05U
 Option 5 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION6   0x06U
 Option 6 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION7   0x07U
 Option 7 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION8   0x08U
 Option 8 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION9   0x09U
 Option 9 Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION10   0x0AU
 Option A Reserved.
 
#define PHAL_MFPRIMENTAG_SET_CONFIG_OPTION11   0x0BU
 Option B Reserved.
 

Detailed Description

These Components implement the MIFARE PRIME NTAG Memory and Configuration Management related commands.

Function Documentation

◆ phalMfprimeNtag_SetConfiguration()

phStatus_t phalMfprimeNtag_SetConfiguration ( void *  pDataParams,
uint8_t  bOption,
uint8_t pData,
uint8_t  bDataLen 
)

Configures the card and pre personalizes the card with a key, defines if the UID or the random ID is sent back during communication setup and configures the ATS string.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]bOption[In] Configuration Option. Define length and content of the Data parameter.
[in]pData[In] Data for the option specified.
[in]bDataLen[In] Length of bytes available in Data buffer.

◆ phalMfprimeNtag_GetVersion()

phStatus_t phalMfprimeNtag_GetVersion ( void *  pDataParams,
uint8_t pVerInfo 
)

Returns manufacturing related data of the PICC.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[out]pVerInfo[Out] The version information of the product.