User manual

NXP Semiconductors
UM10663
NXP Reader Library User Manual
UM10663
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2013. All rights reserved.
User Manual
COMPANY PUBLIC
Rev. 1.224 July 2013
257412
34 of 47
bSrcBlockNo: source block number in MIFARE Classic card EEPROM. Value from this
block to be incremented.
bDstBlockNo: destination block number. Incremented value from source block is stored
to this block.
*pValue: 4 byte value that is value from source block incremented by.
returnValues:
PH_ERR_SUCCESS
- operation successful.
Other: depending on implementation and underlaying component.
2.4.10 DecrementTransfer
- phalMfc_DecrementTransfer()
This function executes both Decrement and Transfer command respectively. Value from
source block is copied into volatile memory where it is decremented by given value then
stored into destination in EEPROM memory. All the mentioned is executed within the
MIFARE Classic card.
phStatus_t phalMfc_DecrementTransfer(
void * pDataParams, [In]
uint8_t bSrcBlockNo, [In]
uint8_t bDstBlockNo, [In]
uint8_t * pValue ); [In]
*pDataParams: pointer to the MIFARE Classic AL layer data parameter structure.
bSrcBlockNo: block number to be decremented.
bDstBlockNo: destination block number. Decremented value from source block is stored
to this block.
*pValue: 4 byte value that is value from source block decremented by.
returnValues:
PH_ERR_SUCCESS
- operation successful.
Other: depending on implementation and underlaying component.
2.4.11 RestoreTransfer
- phalMfc_RestoreTransfer()
This function executes both Decrement and Transfer command respectively. Value from
source block is copied into volatile memory where it is incremented by given value then
stored into destination in EEPROM memory. All the mentioned is executed within the
MIFARE Classic card.
phStatus_t phalMfc_RestoreTransfer(
void * pDataParams, [In]
uint8_t bSrcBlockNo, [In]
uint8_t bDstBlockNo ); [In]
*pDataParams: pointer to the MIFARE Classic AL layer data parameter structure.
bSrcBlockNo: block number to be decremented.
bDstBlockNo: block number to be transferred to.
returnValues:
PH_ERR_SUCCESS
- operation successful.