NXP Reader Library  v17.1.0.2535
Commands_DataOperations

These Components implement the MIFARE Plus data operation commands. More...

Collaboration diagram for Commands_DataOperations:

Functions

phStatus_t phalMfp_MultiBlockWrite (void *pDataParams, uint8_t bBlockNr, uint8_t bNumBlocks, uint8_t *pBlocks)
 Performs a Multi Block Write command. More...
 
phStatus_t phalMfp_MultiBlockRead (void *pDataParams, uint8_t bBlockNr, uint8_t bNumBlocks, uint8_t *pBlocks)
 Performs a Multi Block Read command. More...
 

Detailed Description

These Components implement the MIFARE Plus data operation commands.

Function Documentation

◆ phalMfp_MultiBlockWrite()

phStatus_t phalMfp_MultiBlockWrite ( void *  pDataParams,
uint8_t  bBlockNr,
uint8_t  bNumBlocks,
uint8_t pBlocks 
)

Performs a Multi Block Write command.

This command is for to use in Security Level 2 only and with MFC Authenticated state.

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]bBlockNr[In] PICC block number to which the data should be written.
[in]bNumBlocks[In] Number of blocks to write (must not be more than 3).
[in]pBlocks[In] Block(s) (16 * bNumBlocks bytes).

◆ phalMfp_MultiBlockRead()

phStatus_t phalMfp_MultiBlockRead ( void *  pDataParams,
uint8_t  bBlockNr,
uint8_t  bNumBlocks,
uint8_t pBlocks 
)

Performs a Multi Block Read command.

This command is for to use in Security Level 2 only and with MFC Authenticated state.

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]bBlockNr[In] PICC block number from which the data should be read.
[in]bNumBlocks[In] Number of blocks to read (must not be more than 3).
[out]pBlocks[Out] Block(s) (16 * bNumBlocks bytes).