serial_bt, bluez: support MTU exchange in BLE reception The central must respond to peripherals' requests to exchange the MTU value. If it doesn't then the connection terminates. The central has no choice whether this exchange happens or when it does, applicability is the consequence of using a specific device (a firmware implementation). This was first observed with RDTech TC66C energy meters. Add support for the mtu= parameter in conn=bt/ specifications. A good default value is yet to get determined. The connection type or the chip in use are insufficient conditions AFAICT. Currently it is assumed that users specify the central's MTU when their device firmware requires the exchange. Use the "warning" severity for the diagnostics message when peripherals request MTU exchange while the central won't respond (due to lack of a value to respond with).
README.devices: explicitly discuss serial-over-HID in the UNI-T section This amends commit f736691d1323. Explictly mention that USB cables for UNI-T devices and rebrands transparently work with libsigrok's serial communication over HID cables. Mention that uni-t-dmm is redundant.
README.devices: add an UT-D04 on Windows section (libwdi and hidapi) A user reported that the Windows driver which is assigned to the CH9325 based UT-D04 cable neither provides a genuine serial port nor shows up in the sigrok enumeration which additionally uses HIDAPI. Mention that assigning a different Windows driver can help in that case.
README.devices: discuss ASIX OMEGA in RTM CLI mode (vendor application) A stub sigrok driver can use the vendor's command line application to make principal Asix Omega operation available. Outline the approach and discuss the requirements for this setup in the README.devices file.
rigol-dg: Initial Rigol DG1000z driver implementation. This implements support for Rigol DG1000z series digital signal generators. Driver provides basic control via channel groups ("1", and "2"). Acquisition returns data from the built-in frequency counter. Supported models: DG1022Z, DG1032Z, DG1062Z [ gsi: added some coding style adjustment ]
serial_hid: add iokit= prefix for the Mac IOKit special case Rephrase the logic which turns HIDAPI paths returned from enumerations into something that can be used with conn= device options. Rearrange code paths and rename variables to hopefully increase readability, and to prepare support for more conditions in future implementations. Replace the "IOService:" prefix on recent Mac versions with the "iokit=" literal, to eliminate the previously unhandled colon in path names. This resolves bug #1586. Move the allocation of a writable buffer from the callers to the callee, to simplify multiple call sites, and most of all because the caller need not be aware of the buffer's required size (input and output size can differ in either direction). Update the conn=hid/ section in README.devices, add the iokit= prefix.
uni-t-ut181a: implement device driver for the UNI-T UT181A multimeter Extend the previously introduced skeleton driver for UNI-T UT181A. Introduce support for the full multimeter's protocol as it was documented by the ut181a project. Which covers the retrieval of live readings, saved measurements, and recordings, in all of the meter's modes and including relative, min/max, and peak submodes. This implementation also parses compare mode (limits check) responses, although it cannot express the result in terms of the session feed. Announce the device as a multimeter as well as a thermometer, it supports up to two probes including difference mode. When in doubt, prefer usability over feature coverage (the driver side reflects all properties of the meter, but not all features can get controlled by the driver). The probe routine requires that users specify the serial port, and enable serial communication on the meter. Several TODO items remain. Comments in the driver code discuss limitations of the current implementation, as well as cases where the meter's features don't map well to sigrok's internal presentation. This implementation also contains (optional, off by default) diagnostics for research on the serial protocol.
Add support for the Mooshimeter DMM This adds support for the Mooshim Engineering BLE based Mooshimeter. Because the meter requires raw BLE packets, the driver uses the BLE layer directly. Since the meter has no physical way of configuring it, the actual configuration is set entirely with sigrok device options.