pyscan can not read the nfc tag
-
Hi,
I uesd the code of pyscan library, and ran the code named nfc.py. When the nfc tag touched the nfc antenna, I counld only got an incomplete (4 byte) uid, which actually has 7 byte uid. Onther data in fan sectors, ,such as URL, written in the nfc tag can not be read. The function of nfc.mf630_MF_auth reading sector data never successed. I am not sure the reason for it. The type of nfc tag is ISO 14443-3A, NXPMIFARE Ultralight C.
Can anyone give me suggestions? Thank you.
Mia CHEN
-
@mia1913 don’t know the details of the interface / library, but at a low level, 7 and 10-byte UUIDs are actually transmitted in several round trips.
For a 7-byte UUID, only 3 bytes of the UUID are returned, and the other byte is a special value which means “there’s more”. You then do another request which returns the remaining 4 bytes.
No idea how this is/should be handled on the Pyscan, though.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login