🤖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

    UiFlow 2.0
    1
    1
    27
    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
      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
      • First post
        Last post