sdrsharp-plutosdr icon indicating copy to clipboard operation
sdrsharp-plutosdr copied to clipboard

Connection via USB

Open Manawyrm opened this issue 6 years ago • 1 comments

... doesn't work at the moment. I don't know why.

use "ip:192.168.2.1" for now.

Manawyrm avatar Aug 20 '17 18:08 Manawyrm

the uri for usb should can be found via an iio scan, there is some example code in iio oscilloscope if you need a pointer.

you should be able to find it manally by doing a:

$ iio_info -s
Library version: 0.15 (git tag: 7dbf0a0)
Compiled with backends: local xml ip usb serial
Available contexts:
	0: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=100000235523730700190030090216fd23 [usb:1.4.5]

then the uri is usb:1.4.5

ie:

$ iio_attr -u usb:1.4.5 -C
IIO context with 11 attributes:
hw_model: Analog Devices PlutoSDR Rev.A (Z7010-AD9363)
hw_serial: 100000235523730700190030090216fd23
ad9361-phy,xo_correction: 40000000
local,kernel: 4.6.0-08871-g6297a9e
usb,idVendor: 0456
usb,idProduct: b673
usb,release: 2.0
usb,vendor: Analog Devices Inc.
usb,product: PlutoSDR (ADALM-PLUTO)
usb,serial: 100000235523730700190030090216fd23
usb,libusb: 1.0.22.11312

-Robin

rgetz avatar Dec 20 '18 00:12 rgetz