f0033466a3a18b819f97164766ba1d37156de00d
DongLoRa Python Client
Python client library for talking to a DongLoRa device — either directly over USB or through the mux daemon.
What's in Here
donglora/— the library: device discovery, COBS framing, protocol encoding/decoding, mux client support- Installable as
dongloravia pip/uv
Usage
import donglora as dl
ser = dl.connect()
dl.send(ser, "SetConfig", config=dl.DEFAULT_CONFIG)
dl.send(ser, "StartRx")
while True:
pkt = dl.recv(ser)
if pkt:
print(pkt["rssi"], pkt["payload"].hex())
Dependencies
cobs— COBS framingpyserial— USB serial communication
Optional extras: meshcore (crypto), orac (AI bot).
Languages
Python
99.7%
Just
0.3%