🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    RFID 2 Unit timeout?

    Units
    1
    4
    1.8k
    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
      mtylerjr
      last edited by

      There doesnt seem to be a way to specify a read timeout for reading the UID or Data from a tag.

      This makes the read operation completely blocking. Is there something I am overlooking? I would need to to a tag search for a specified number of ms, and if no tag is found, continue on. The way it looks (at least in UIFLOW) you just send the read command, and it tries forever until it succeeds?

      If there is no timeout capability yet, please add it to the list of highly desired features. :)

      1 Reply Last reply Reply Quote 0
      • M
        mtylerjr
        last edited by

        Maybe there is a way to start a timer with a callback, and if the RFID operation has not finished (no tag found after xxx ms) is there a way to kill the command/request? That could be a workaround, but I dont know how to kill the ongoing rfid read/search in that case...

        M 1 Reply Last reply Reply Quote 0
        • M
          mtylerjr @mtylerjr
          last edited by mtylerjr

          Okay, I see how "Card near" is intended to be used, as a tag search before trying to read. That helps a little - but if the tag is moving (as it would be in my application) it isnt a guarantee that the next read will be successful, so a timeout would really really really be helpful.

          1 Reply Last reply Reply Quote 0
          • M
            mtylerjr
            last edited by

            Any chance m5stack releases FW code for individual units like this one? I couldnt find any in github. I have a few decades of experience with RFID firmware, writing ISO15693 anti-collision algorithms, etc and could add some enhancements to it for multi-tag, EAC alarms, etc. (My previous username here was in fact ISO15693)

            Otherwise Im going to need to use non-m5stack rfid HW for my project I think.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post