dmm/bm85x: introduce DMM packet parser for Brymen BM850(a/s)
authorGerhard Sittig <gerhard.sittig@gmx.net>
Thu, 24 Sep 2020 19:45:51 +0000 (21:45 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Thu, 22 Oct 2020 19:25:34 +0000 (21:25 +0200)
commit27186edacfe2cf168b0794c80672c422587cf8e8
treeca73eda1c44ea6aca819dab5d1098b6fd7426f1a
parent91ab2f6475aa559085bd87d36796a828ac041335
dmm/bm85x: introduce DMM packet parser for Brymen BM850(a/s)

Implement a DMM packet parser for the BM850s protocol. This involves
variable length responses, which recently became a common serial-dmm
feature. Register the new parser under the "brymen-bm85x" device name.
This obsoletes the brymen-dmm driver which announces as "brymen-bm857".
This implementation was tested with the BM859s meter.

The text to number conversion with precision detection resolves the
last remaining issue of bug #1611.
Makefile.am
src/dmm/bm85x.c [new file with mode: 0644]
src/hardware/serial-dmm/api.c
src/libsigrok-internal.h