2024-06-21 09:25 AM
Good Afternoon,
I am currently trying to read a text file from an NFC tag from an ST25R3916-AQET NFC reader connected to an STM32 microcontroller.
I have tried to make use of the example case offered by X-NUCLEO-NFC08A1 but it only shows how to detect a tag, not how to read from it. Is there any documentation or case examples that can help or guide me to my objective?
Solved! Go to Solution.
2024-06-24 07:33 AM
Ahah! Just figured out the issue I think!
Not quite sure what it was, to be honest... but it seems to be working now.
Still, I very much appreciate the assistance and apologize for bothering you with this Ulysses.
2024-06-23 11:30 PM
Hi Geminus_Leonem,
what you will need to typically use is NDEF. The X-CUBE-NFC6 should contain two applications, one of them showing how to read (and write) NDEF content.
More up to date is the NDEF demo in ST25 NFC lib.
BR, Ulysses
2024-06-24 07:07 AM
Hi Ulysses,
That is indeed the code I attempted to mention in my initial post. It reads the data block and UID from the tag but that's it.
I am trying to figure out how to read the text itself.
I know that there is a "ndefRtdTextDump" function in the ndef_dump.c but I have yet to figure out how to call it and make use of it.
I haven't found any directions or help on the files so, again, any help regarding this would be appreciated.
2024-06-24 07:14 AM
Hi Geminus_Leonem,
your output seems to be from the non-NDEF project. Please see the folder:
If the tag is properly formatted and has an NDEF then the PollingTagDetectNDEF projects should read the NDEF and display it.
BR, Ulysses
2024-06-24 07:25 AM
Thanks for the quick response!
But no, like I said, the NDEF code does not read the file, it just returns the data block and the UID.
If it was meant to do so then there might be an issue with the example code itself.
2024-06-24 07:33 AM
Ahah! Just figured out the issue I think!
Not quite sure what it was, to be honest... but it seems to be working now.
Still, I very much appreciate the assistance and apologize for bothering you with this Ulysses.