Browse Source
A Pluto reachable both on its USB gadget network (192.168.2.1) and on a LAN address is reported as two "ip" contexts. Both got the same key (<serial>_ip), so m_serialMap kept one of them arbitrarily and selecting "PlutoSDR0 (ip)" could open the wrong address. When keys collide, append the address to the backend part of the key, e.g. <serial>_ip:192.168.50.20, which also shows in the device name. A device with a single address keeps its usual key, so saved device references still match. Exact duplicate URIs are skipped, and the serial and URI maps are now cleared on each scan instead of keeping entries from previous scans. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>chirpmodem-v8.0.0
2 changed files with 31 additions and 2 deletions
Loading…
Reference in new issue