ArduinoCore-primo icon indicating copy to clipboard operation
ArduinoCore-primo copied to clipboard

NFC Unique Tag ID

Open trevordAPC opened this issue 7 years ago • 2 comments

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.

trevordAPC avatar Oct 02 '17 14:10 trevordAPC

Any solution on this?

kfollesdal avatar Oct 15 '17 17:10 kfollesdal

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?

nfc_t2t_lib.h:

/** \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);

stedmeister avatar Oct 16 '17 09:10 stedmeister