Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    pyscan can not read the nfc tag

    Scheduled Pinned Locked Moved Expansion Board
    pyscannfcdata
    2 Posts 2 Posters 342 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mia1913
      last edited by

      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

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jcaron @mia1913
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0

        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
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom