On behalf of Hubert Chaumette (author)
Clarification on usage:
'conn' was used for the IP in previous iterations, but the current code
uses libiio's IIOD_REMOTE variable for that. Instead, conn is now used
to choose a device, on branch generic-iio. This example should be:
$ IIOD_REMOTE=$IP_OF_IIOD sigrok-cli --driver
generic-iio:conn=$IIO_DEVICE_ID_OR_NAME --samples 3
Commit message:
generic-iio: change "conn" parameter to select an IIO device
SR_CONF_CONN was used to connect with an IIO server, which is
already handled by IIOD_REMOTE env variable. Change it instead to
select an IIO device: $ sigrok-cli --driver generic-iio:conn=ina226
--samples 256 or $ sigrok-cli --driver generic-iio:conn=device0
--samples 256 Note that the device ID shouldn't include the leading
'iio:'.
Regards,
Hubert
------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel