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

    ValueError: buffer to small when using uhf-rfid with core2

    Scheduled Pinned Locked Moved UiFlow 2.0
    1 Posts 1 Posters 175 Views 1 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.
    • K Offline
      kapipema
      last edited by

      Hi,
      I am using a Core2 together with a uhf-rfid unit and it works mostly ok but sometimes I get a "buffer to small" error.

      Traceback (most recent call last):
        File "m5ui/port.py", line 46, in task_handler
        File "<stdin>", line 33, in button0_event_handler
        File "<stdin>", line 28, in button0_short_clicked_event
        File "<stdin>", line 18, in inventory1
        File "unit/uhf_rfid.py", line 19, in inventory
        File "driver/jrd4035/__init__.py", line 72, in inventory
        File "driver/jrd4035/__init__.py", line 445, in command
        File "driver/jrd4035/__init__.py", line 490, in _receive
      ValueError: buffer too small
      

      I can't seem to find what is triggering the situation.
      It is not related to a specific tag or any other situation that I can figure out but it never
      happens where there are NO tags around.
      Even if I trigger the inventory manually it happens from time to time.

      Skärmbild 2026-03-24 111100.png

      Is there any way of figuring out and/or change the buffer size or fix the possible bug?

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