Driver options
Jump to navigation
Jump to search
Every libsigrok driver can take options. These relate to the driver finding and connecting to the device; once it's discovered these options are not used.
The following options are available, listen by configuration key:
SR_CONF_CONN
This option should be available in every driver, and identifies a connection string. The syntax of the string depends on the transport that driver can use to get to reach the device. Some driver can use more than one transport, for example on devices that have both a USB and serial port.
Transport | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Serial | Serial communication specification, in the form:
Example: 9600/8n1 The string may also be followed by one or more special settings, in the form "/key=value". Supported keys and their allowed values are:
|