Skip to main content

zebra-llrp

PyPI - Version PyPI - Python Version

Python driver for Zebra FX series RAIN RFID readers via LLRP protocol (sllurp).

Features

  • Connect to Zebra FX9600 (and compatible) readers via LLRP (TCP 5084)
  • Start/stop inventory with configurable antenna ports, TX power, RF mode, and session
  • Real-time tag streaming with callback-based notifications
  • Query reader capabilities (model, firmware, antenna count, TX power range, RF modes)
  • EPC decoding with double-encoding detection (FX9600 quirk)
  • TX power control by index or dBm

Installation

pip install zebra-llrp

Quick Start

from zebra_llrp import ZebraLlrp, ZebraLlrpTagReport

reader = ZebraLlrp()

def on_tag(report: ZebraLlrpTagReport):
    print(f"EPC: {report.epc}  RSSI: {report.peak_rssi_dbm} dBm")

reader.set_notification_callback(on_tag)
reader.connect("192.168.1.100")
reader.set_tx_power_dbm(25.0)
reader.set_rf_mode(1)
reader.start()

# ... tags arrive via callback ...

reader.stop()
reader.disconnect()

API Reference

ZebraLlrp

Method Description
connect(ip, port) Connect to reader via LLRP
disconnect() Stop inventory and disconnect
is_connected() Check connection status
set_notification_callback(fn) Register tag report callback
get_reader_info() Get model, firmware, antenna count, power limits, RF modes
start() Start inventory
stop() Stop inventory
get_tx_power() / set_tx_power(index) Get/set TX power by index
get_tx_power_dbm() / set_tx_power_dbm(dbm) Get/set TX power in dBm
get_antenna_config() / set_antenna_config(list) Get/set active antenna ports
get_rf_mode() / set_rf_mode(mode) Get/set LLRP mode identifier
get_session() / set_session(n) Get/set inventory session (0-3)

ZebraLlrpTagReport

Field Type Description
epc str Tag EPC (hex string)
antenna_port int Antenna port number
peak_rssi_dbm int Peak RSSI in dBm
last_seen_timestamp int Last seen timestamp (microseconds UTC)
tag_seen_count int Number of times tag was seen

ZebraLlrpReaderInfo

Field Type Description
manufacturer str Device manufacturer
model str Reader model
firmware_version str Firmware version
antenna_count int Number of antenna ports
min_tx_power_dbm float Minimum TX power
max_tx_power_dbm float Maximum TX power
rf_modes list[dict] Available RF modes with miller, bdr, tari, pie

License

zebra-llrp is distributed under the terms of the MIT license.

Metadata

Release files for zebra-llrp 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zebra-llrp 0.7.0
File Size Uploaded
zebra_llrp-0.7.0.tar.gz 14.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zebra-llrp 0.7.0
File Interpreter ABI Platform
zebra_llrp-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.1 kB

Release files / zebra_llrp-0.7.0.tar.gz

Download URL zebra_llrp-0.7.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f4ed34f21c23ec9e4ff12b7551717ee6724644c5b0fb7198e846d3bea1df5c74
BLAKE2b-256 checksum
How to use checksums
8fcc27e948ee48aad071e0fec380c76676723f01f3b33dd2da67839c35c8ddde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release files / zebra_llrp-0.7.0-py3-none-any.whl

Download URL zebra_llrp-0.7.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aefd1f26dcd1e4e5b48b19c329b0d67a75951a70df4306b497848870e7f5e3dd
BLAKE2b-256 checksum
How to use checksums
6c1817d349a00738dbcf2bef008c70a8e9111c4fd1c3541ded537b31f0a81932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page