+ /** The device can act as a sound level meter. */
+ SR_CONF_SOUNDLEVELMETER,
+
+ /** The device can measure temperature. */
+ SR_CONF_THERMOMETER,
+
+ /** The device can measure humidity. */
+ SR_CONF_HYGROMETER,
+
+ /*--- Driver scan options -------------------------------------------*/
+
+ /**
+ * Specification on how to connect to a device.
+ *
+ * In combination with SR_CONF_SERIALCOMM, this is a serial port in
+ * the form which makes sense to the OS (e.g., /dev/ttyS0).
+ * Otherwise this specifies a USB device, either in the form of
+ * @verbatim <bus>.<address> @endverbatim (decimal, e.g. 1.65) or
+ * @verbatim <vendorid>.<productid> @endverbatim
+ * (hexadecimal, e.g. 1d6b.0001).
+ */
+ SR_CONF_CONN = 20000,
+
+ /**
+ * Serial communication specification, in the form:
+ *
+ * @verbatim <baudrate>/<databits><parity><stopbits> @endverbatim
+ *
+ * Example: 9600/8n1
+ *
+ * The string may also be followed by one or more special settings,
+ * in the form "/key=value". Supported keys and their values are:
+ *
+ * rts 0,1 set the port's RTS pin to low or high
+ * dtr 0,1 set the port's DTR pin to low or high
+ * flow 0 no flow control
+ * 1 hardware-based (RTS/CTS) flow control
+ * 2 software-based (XON/XOFF) flow control
+ *
+ * This is always an optional parameter, since a driver typically
+ * knows the speed at which the device wants to communicate.
+ */
+ SR_CONF_SERIALCOMM,