Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read TID with python-mercuryapi #105

Open
leojomoabate opened this issue Mar 2, 2020 · 0 comments
Open

Read TID with python-mercuryapi #105

leojomoabate opened this issue Mar 2, 2020 · 0 comments

Comments

@leojomoabate
Copy link

Hi, I have a problems with reading TID memory bank.

This is my code:

import mercury
reader = mercury.Reader("tmr:///dev/ttyUSB0")
reader.set_region("EU3")
reader.set_read_plan([1], "GEN2",bank=["tid"],read_power=2700)
while True:
    epc_list=reader.read(2000)    
    for tag in epc_list:
        print (tag.tid_mem_data)

The code works well but the TID readed is incorrect:

bytearray(b'\xe2\x80h\x10 \x00\x00\x01"WK\x9d')

The TID that I expect is:
E2 801 10C 20 00 77 8C F5 52 09 4E

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant