Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a338d929ec
|
No files matched your search
@@ -1,5 +1,15 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.0.1 — 2026-04-22
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- `discovery.find_port` / `wait_for_device` now match the WCH CH340K
|
||||||
|
USB-UART bridge (`1a86:7522`) in `BRIDGE_VID_PIDS`. The Elecrow
|
||||||
|
ThinkNode-M2 board ships with a CH340K bridge; the previous set
|
||||||
|
covered CP2102, CH9102, standard CH340, and FTDI but missed this
|
||||||
|
specific revision, so `discovery` returned `None` on that board.
|
||||||
|
|
||||||
## 1.0.0 — 2026-04-22
|
## 1.0.0 — 2026-04-22
|
||||||
|
|
||||||
The 1.0 Python client, mirroring the Rust client 1.0 API and the
|
The 1.0 Python client, mirroring the Rust client 1.0 API and the
|
||||||
|
|||||||
@@ -18,7 +18,13 @@ USB_VID: int = 0x1209
|
|||||||
USB_PID: int = 0x5741
|
USB_PID: int = 0x5741
|
||||||
USB_VID_PID: str = "1209:5741"
|
USB_VID_PID: str = "1209:5741"
|
||||||
|
|
||||||
BRIDGE_VID_PIDS: set[str] = {"10c4:ea60", "1a86:55d4", "1a86:7523", "0403:6001"}
|
BRIDGE_VID_PIDS: set[str] = {
|
||||||
|
"10c4:ea60", # CP2102 (Silicon Labs)
|
||||||
|
"1a86:55d4", # CH9102
|
||||||
|
"1a86:7522", # CH340K — Elecrow ThinkNode-M2 ships with this
|
||||||
|
"1a86:7523", # CH340
|
||||||
|
"0403:6001", # FT232R (FTDI)
|
||||||
|
}
|
||||||
"""Known USB-UART bridge VID:PIDs found on some board revisions."""
|
"""Known USB-UART bridge VID:PIDs found on some board revisions."""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "donglora"
|
name = "donglora"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
description = "DongLoRa host library — talk LoRa from Python over USB"
|
description = "DongLoRa host library — talk LoRa from Python over USB"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
|
|||||||
Reference in new issue
Block a user