EMS-TU-Ilmenau / sllurp

LLRP interface implemented in Python
GNU General Public License v3.0
18 stars 7 forks source link

Zebra FX7500 - Idea in how to find the config #3

Open stifferdoroskevich opened 2 years ago

stifferdoroskevich commented 2 years ago

Hello!

Im trying to add a new reader (Zebra FX-7500). Anyone has an idea in how to approach this?

Cant make it read with the project using the reader (fx9600). When I use:

from sllurp.reader import FX9600 
tags = reader.detectTags()

Returns:

    No hop table with id 0 found. Using table {'HopTableId': 1, 'NumHops': 50, 'Frequency1': 922550, 'Frequency2': 922350, 'Frequency3': 917550, .....
    Connected to reader
    Traceback (most recent call last):
    .
    .
    File "C:\___\project\api\venv\lib\site-packages\sllurp\llrp.py", line 149, in read
    return self.sock.recv(4096)
    socket.timeout: timed out

Cant find the exact frequency, the region is set to US FCC C (giving me a range of freqs) Found that the antenna use an "Default - Auto Mac" RF MODE ( Cant identify the equivalent number to the mode) Antenna singulation is set to Session_0 State Aware to SL_deAsserted

My LLRP config in the reader is set to Server (Operation Mode), port 5084, client ip 0.0.0.0 Connecting to the reader using ethernet cable through a router. Using the browser to the IP of the reader, I can read the tags with no problems.

Python Version: 3.7.9 OS: Windows 10

Thanks in advance! And very nice project! (Hoping to contribute )

beustens commented 1 year ago

from sllurp.reader import FX9600 tags = reader.detectTags()

This does not work, you have to instantiate the FX9600 reader class like so:

from sllurp.reader import FX9600 
reader = FX9600('192.168.1.2') # insert the readers IP address here
tags = reader.detectTags()

Can you post the complete Traceback?

beustens commented 1 year ago

Hm, I actually have the same problem. I know it worked in Feb. 2022, but I made some changes since then. The problem seems to be that the Zebra reader does not report anything back (can be checked with Wireshark)

beustens commented 1 year ago

The problem disappeared magically, no idea why. Maybe it is related to the reader

matslindh commented 1 year ago

Power cycling the reader usually fixes the issue when it happens.

For the FX7400 you can use the FX9600 class, but you'll have to change the given mode, as FX7400 doesn't have mode 21.