xod-dev/pn532-nfc@0.28.1

License: MIT

Support for RFID/NFC modules based on a PN532 chip.
NodeDescription
equal(nfc-uid)
Compares two UIDs
example-nfc-scannerNo description
example-read-pageNo description
example-ticketsNo description
example-write-pageNo description
init
Initializes RFID/NFC module
nfc-scanner
A quick-start node which represents an RFID/NFC module. Initializes the module and reads the UID of a detected card
nfc-uid
Constructs the UID type from bytes. If the UID is shorter than 7 bytes it begins from the first position and the rest of bytes are equal to zero
pair-tag
Pairs module with an NFC tag and reads the UID
pn532-deviceNo description
read-page
Reads one page of a Mifare Ultralight NFC tag. To read data from a tag it should be paired first (use `pair-tag`)
unpack-nfc-uid
Destructs the UID type to bytes If the UID of the tag is longer than 7 bytes, then the first 7 bytes will be here and the rest are cut off
write-page
Writes data to the specified page of a Mifare Ultralight NFC tag. To write data to a tag it should be paired first (use `pair-tag`)
To use the nodes in your project you should have the xod-dev/pn532-nfc library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.