Micropython, RC522 and writing NDEF tags #9355
-
Are there are libraries out there for reading and writing NDEF tags using micropython from an MCU? I have RC522 setup with an ESP32 (can also use rp2) and can read and write it with no problem, but it doesn't play nice with other readers if I just write text in my own format. But I'm struggling to find a package to help out with NDEF. I've read lots of documentation and understand what is happening / needs to happen to read and write tags in the format, but my python skills pretty new and writing a driver like that is still above my head. I spend several days searching with no luck, then spent the last few days trying to modify: Is my google fu failing me? Or has this just not been done yet for micropython? I'm trying to read/write mifare classic 1k cards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I've updated the above library to work with micropython. Tested on rp2 with MP 1.19 https://github.com/maveric/micropython-pyndef The library handles only the NDEF message portion, and not the NDEF container. I handle that at read/write time for now. I plan to update this library to handle the whole process in time. |
Beta Was this translation helpful? Give feedback.
I've updated the above library to work with micropython. Tested on rp2 with MP 1.19
https://github.com/maveric/micropython-pyndef
The library handles only the NDEF message portion, and not the NDEF container. I handle that at read/write time for now. I plan to update this library to handle the whole process in time.