chore: massive repo reorganization
This commit is contained in:
17678 files changed
+5555
-4565083
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# DongLoRa Python Client
|
||||
|
||||
Python client library for talking to a DongLoRa device — either directly
|
||||
over USB or through the [mux daemon](../../mux/).
|
||||
|
||||
## What's in Here
|
||||
|
||||
- `donglora/` — the library: device discovery, COBS framing, protocol
|
||||
encoding/decoding, mux client support
|
||||
- Installable as `donglora` via pip/uv
|
||||
|
||||
## Usage
|
||||
|
||||
```python
|
||||
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 framing
|
||||
- `pyserial` — USB serial communication
|
||||
|
||||
Optional extras: `meshcore` (crypto), `orac` (AI bot).
|
||||
Reference in new issue
Block a user