ATrappmann / PN5180-Library

PN5180 library for Arduino
GNU Lesser General Public License v2.1
105 stars 92 forks source link

Skipped block data #20

Closed vladansw closed 4 years ago

vladansw commented 4 years ago

Hello,

first of all thank you very much for writing this library.

Using your example I was able to write 80 81 82 83 to block 0

Now I have some troubles with reading entire block data. Using your example I get this:

Inventory successful, UID=E0:4:15090D3B05C System Info retrieved: blockSize=4, numBlocks=28 Read block #0: 81 82 83 90

When I use NXP TagInfo app, correct data is received: [0] . 80 81 82 83

What am I doing wrong?

vladansw commented 4 years ago

My bad, blockData[i] = resultPtr[i+1]; fixed the issue