]> sigrok.org Git - libsigrok.git/commit
serial-lcr: add support for packet request
authorGerhard Sittig <redacted>
Mon, 17 Jun 2019 20:59:25 +0000 (22:59 +0200)
committerGerhard Sittig <redacted>
Thu, 20 Jun 2019 14:45:36 +0000 (16:45 +0200)
commitcb5cd1538f5dc064a4799f0bd985e1015bdb9238
tree8492569f3c0e167b76fefeda975b62cf655ad672
parent3f5473dde2044130f8cb405e2a3ebb43c226a474
serial-lcr: add support for packet request

Some meters require the reception of a request before they provide
acquisition data. Add support for the chip driver's .packet_request()
routine, and timeout handling in the serial-lcr driver. This follows
the serial-dmm model.
src/hardware/serial-lcr/api.c
src/hardware/serial-lcr/protocol.c
src/hardware/serial-lcr/protocol.h