I have been trying for a long while now to write and read data from my NFC cards. The cards are NTAG216. I can use libnfc examples to read manufacturer ID and it works fine. But I need to write to each tag some custom data, e.g. the string "abcdefg" and read it back.
I have read almost everything relevant I could find about libnfc but all of them does not talk about this specific area. I would appreciate any guidance. Code example will be appreciated.
I use an ACRU122 NFC reader/writer with libnfc 1.7.1 from Github.