How to decrement value on a MIFARE Classic value block using PN532 reader?
I'm trying to manage value block with a Mifare Classic and PN532 reader. I'm using an open source library named "libnfc" but I do not see anything related to value blocks in this library. Does anyone know how I could make increment, decrement and transfer calls with this reader & library?
Have a look at the header utils/mifare.h (and its associated implementation utils/mifare.c). They contain an implementation of the MIFARE reader commands. For instance, for the increment command, you would use something like: mp.mpv.abtValue = 1; mp.mpv.abtValue = 0; mp.mpv.abtValue = 0; mp.mpv.abtValue = 0; nfc_initiator_mifare_cmd(pnd, MC_INCREMENT, blockNumber, &mp); Where pnd is a nfc_device *, mp is a mifare_param and you previously authenticated to that sector (see utils/nfc-mfclassic.c).
How to write RFID data tag?
ISO 15693: read multiple security blocks
LLRP Impinj can't see Antenna Port when tag seen
Zebra RZ400 prints an RFID tag, but encodes the next tag
Different values of different RFID readers
Robot and RFID readers compatible with Contiki?
Small Distance Measurement With Reader and Passive Target
Dectect motion with RFID without use of sensors
How can I write data on UHF RFID tags?
Programming RFID Tags
MiFare - Difference between UID and Serial Number of MiFare Card
What kind of block format is the Desfire authentication message?
Zebra RZ400 prints an RFID tag, but encodes the subsequent one
Detecting presence (arrival/departure) with active RFID tags
Limit the RFID band