Browse Source
iio_create_scan_context() and the iio_context_info list were removed in libiio 1.x. Use iio_scan() and the iio_scan_get_*() accessors when LIBIIO_V1 is set. Also release the 0.x scan context when listing fails. libiio 1.x reports network contexts as a bare mDNS host name with no "ip:" prefix, so the probe failed and the hostname-to-IP rewrite and backend labels never applied. Add the prefix when no backend is given, and probe the rewritten URI: the .local name can resolve to another interface (e.g. the USB gadget network) than the one that was scanned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>chirpmodem-v8.0.0
1 changed files with 58 additions and 1 deletions
Loading…
Reference in new issue