ArduinoCore-primo
ArduinoCore-primo copied to clipboard
NFC Unique Tag ID
Sorry to raise an issue, I don;t see any contact details.
The NFC library is lacking an example of how to retrieve the Unique Tag ID of the NFC tag on a tag presented event. Does a callback for generic events like this exist, or is there a guide as to how to perform this basic NFC function?
Thanks in advance.
Any solution on this?
I would like an update too.
The header file suggests that the functionality has not been implemented yet. Are there any plans to add this?
/** \brief Function for querying an NFC parameter value.
*
* \note Not implemented. For future use.
*
* The queried value will be placed into the passed data buffer. If the buffer
* is too small, maxDataLength will contain the required buffer size. If the
* buffer is big enough, maxDataLength will contain the actual size of the
* data.
*
* \param id ID of the parameter to query.
* \param data Pointer to a buffer receiving the queried data.
* \param maxDataLength Size of the buffer, receives actual size of queried data.
*
* \retval OK If the parameter was received successfully. If one of the arguments
* was invalid (for example, the buffer was too small), an error code
* is returned.
*/
NfcRetval nfcGetParameter (NfcParamId id, void *data, size_t *maxDataLength);