NFC library brings you the power of NFC tags to your projects, so now with a small tag you can control your home door locks without carrying keys anymore, or you can also control lights or any other physical objects easily once you get your tags near the smartphone.New to NFC…! check this Link.
Adding #define CUSTOM_SETTINGS along with #define INCLUDE_NFC_SHIELD is a key that will let you unlock the NFC shield only amongst all shields and prevent 1Sheeld library from eating your memory specially for UNO board.
– NFC tags cannot be read while the smartphone is in the sleep\lock mode so make sure that your smartphone is awake to get data from tags.
– NFC shield supports only NFC data exchange format “NDEF” Tags.
1- NFCTag class:
Grabs basic info carried by the tag ex. ( tag ID, tag type, Number of records in tag, Max size of tag, Used size… etc ).
2- NFCRecord class:
– Queries data from records in tag and supports three types of data (Record type category ,Record raw Data , Record parsed data”RTD_URI & RTD_TEXT”).
– NFC tag may contain multiple records each record is a part of the NFC memory which holds certain type and data that represents itself.