Obsttube / MFRC522_NTAG424DNA

Arduino RFID/NFC Library for NXP NTAG 424 DNA tags using MFRC522.
MIT License
6 stars 2 forks source link

reading Type 4 tags, MFRC522v2 #3

Open mhaberler opened 11 months ago

mhaberler commented 11 months ago

thanks for this very interesting code!

while I have 424 DNA tags on order, I played with your code and did 2 things:

I made it work with the better maintained MFRC522v2 so it can be used more easily with I2C devices like the RFID2 (uses a WS1850S - a Chinese variant of the 522 but seems to work well) - if you are interested, I'll clean it up

Also, I used your code as a base to explore reading Type4 tags, im my case a RuuviTag (a Nordic nrf52 which exports config info via NFC) - I had working code for the PN532 and thought I can make it work with yours

interestingly, I ran into this problem: https://github.com/miguelbalboa/rfid/issues/492#issuecomment-1856450425 and a potential solution

since your code introduced the pcb argument in DNA_BasicTransceive(), I thought you might be able to shed some light on the issue? can you point me to a reference for chaining?

am I correct in assuming the block number needs to be toggled for each DNA_BasicTransceive() operaation? while your code provides the option to pass in a BN, I did not see some toggling code like you would do with the alternating bit protocol?

could be the 424 DNA cards do not need this?

thanks in advance

Michael Haberler

ps: my goal is to be able to read MifareClassic and Ultralight, and the Ruuvi tags config info