validate-uid

xod-dev/pn532-nfc/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.
validate-uid
@/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.
REF@/nfc-uid
Reference UID of an NFC tag
UID@/nfc-uid
A UID of an NFC tag
validate-uid
REF
UID
GOOD
BAD
BADboolean
Returns `True` if UIDs are not equal and `UID` is not empty.
GOODboolean
Returns `True` if UIDs are equal
To use the node 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.