Skip to content

feat: support Quectel USB identity and multiple DJI modules - #7

Open
vvusu wants to merge 2 commits into
ZenGeekLabs:mainfrom
vvusu:feat/multi-device-usb-support
Open

feat: support Quectel USB identity and multiple DJI modules#7
vvusu wants to merge 2 commits into
ZenGeekLabs:mainfrom
vvusu:feat/multi-device-usb-support

Conversation

@vvusu

@vvusu vvusu commented Aug 2, 2026

Copy link
Copy Markdown

Summary

  • support both the original DJI 2ca3:4006 identity and the Quectel-compatible 2c7c:0125 identity
  • enumerate identical modules by macOS USB locationID and open the selected physical device through libusb
  • add a compact responsive module selector to the web UI
  • isolate per-device SMS caches and rebuild eSIM sessions when switching modules
  • document multi-module usage and add USB identity/location grouping tests

Hardware verification

  • detected two connected 2c7c:0125 modules at distinct USB locations
  • opened the AT bulk interface independently on both modules
  • verified AT returns OK after A -> B -> A switching
  • verified both SIMs are inserted and registered on LTE
  • verified eSIM inventories remain distinct between modules

Test plan

  • go test ./...
  • go vet ./...
  • go test -race ./cmd/djonehub-macos
  • node --check cmd/djonehub-macos/web/app.js
  • git diff --check origin/main...HEAD

Closes #5

vvusu added 2 commits August 3, 2026 01:25
Enumerate compatible modules by physical USB location, allow switching the active module in the web UI, and isolate per-device SMS and eSIM sessions. Also add 2c7c:0125 compatibility and multi-device coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

设备已修改 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem ,但程序无法识别(mac 已显示 ID 2c7c:0125 2c7c Baiwang)

1 participant