License: MIT
| Node | Description |
|---|---|
| equal(nfc-uid) | Compares two UIDs |
| example-nfc-scanner | No description |
| example-read-page | No description |
| example-tickets | No description |
| example-write-page | No description |
| is-empty | Checks whether a UID is empty which corresponds to “no tag” |
| nfc-scanner | A quick-start node which represents an RFID/NFC module.
Initializes the module and reads the UID of a detected card
Possible errors:
— Initialization error |
| 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 |
| pn532-device | No 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`)
Possible errors:
— Can't read the value |
| pair-tag | Pairs module with an NFC tag and reads the UID |
| 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`)
Possible errors:
— Can't write the value |
| validate-uid | Compares an UID of the NFC tag with the reference UID.
Returns `False` on both outputs if the UID of NFC tag is empty. |
| 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 |