NXP Reader Library  v17.1.0.2535

SAM NonX implementation of the MIFARE Ultralight / NTAG commands. Here the MIFARE Ultralight / NTAG commands are framed and exchanged to PICC. More...

Collaboration diagram for Component : Sam_NonX:

Data Structures

struct  phalMful_SamAV2_DataParams_t
 Data structure for MIFARE Ultralight / NTAG SAM AV2 NonX layer implementation
More...
 
struct  phalMful_SamAV3_NonX_DataParams_t
 Data structure for MIFARE Ultralight / NTAG SAM AV3 NonX layer implementation
More...
 

Macros

#define PHAL_MFUL_SAMAV2_ID   0x02
 ID for SamAV2 MIFARE Ultralight layer.
 
#define PHAL_MFUL_SAMAV3_NONX_ID   0x04
 ID for SamAV3 NonX MIFARE Ultralight layer.
 

Functions

phStatus_t phalMful_SamAV2_Init (phalMful_SamAV2_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phhalHw_SamAV2_DataParams_t *pHalSamDataParams, void *pPalMifareDataParams)
 Initialization API for MIFARE Ultralight / NTAG SAM AV2 NonX component. More...
 
phStatus_t phalMful_SamAV3_NonX_Init (phalMful_SamAV3_NonX_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phhalHw_SamAV3_DataParams_t *pHalSamDataParams, void *pPalMifareDataParams)
 Initialization API for MIFARE Ultralight / NTAG SAM AV3 NonX component. More...
 

Detailed Description

SAM NonX implementation of the MIFARE Ultralight / NTAG commands. Here the MIFARE Ultralight / NTAG commands are framed and exchanged to PICC.

Function Documentation

◆ phalMful_SamAV2_Init()

phStatus_t phalMful_SamAV2_Init ( phalMful_SamAV2_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phhalHw_SamAV2_DataParams_t pHalSamDataParams,
void *  pPalMifareDataParams 
)

Initialization API for MIFARE Ultralight / NTAG SAM AV2 NonX component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMS
  • If the input size doest not match the DataParams size of this component.
  • If any of the DataParams are null.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pHalSamDataParams[In] Pointer to halHw_SamAV2 parameter structure.
[in]pPalMifareDataParams[In] Pointer to palMifare parameter structure.

◆ phalMful_SamAV3_NonX_Init()

phStatus_t phalMful_SamAV3_NonX_Init ( phalMful_SamAV3_NonX_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phhalHw_SamAV3_DataParams_t pHalSamDataParams,
void *  pPalMifareDataParams 
)

Initialization API for MIFARE Ultralight / NTAG SAM AV3 NonX component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMS
  • If the input size doest not match the DataParams size of this component.
  • If any of the DataParams are null.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pHalSamDataParams[In] Pointer to halHw_SamAV3 parameter structure.
[in]pPalMifareDataParams[In] Pointer to palMifare parameter structure.