]> sigrok.org Git - libsigrok.git/commit
dmm/bm52x: add support for recorded measurements (memory data sets)
authorGerhard Sittig <redacted>
Thu, 24 Sep 2020 21:01:26 +0000 (23:01 +0200)
committerGerhard Sittig <redacted>
Thu, 22 Oct 2020 19:25:34 +0000 (21:25 +0200)
commit0931639a12e388aa5206c64d4d937f070d7453b2
treef655f8f8c701b6e03154f2b8e7cc2ada54d4d382
parent9a1a7dc2832b0c51baff94ef551518d91f47ff31
dmm/bm52x: add support for recorded measurements (memory data sets)

Extend the BM52x packet parser, add config get/set/list code to handle
the data source property. Either let the common serial-dmm code run the
acquisition of live readings, or locally retrieve the selected "session
page" and forward its measurements to the session bus. These separate
code paths are required because the protocol differs a lot between these
modes, a totally different set of requests and responses is involved,
response interpretation logic is impossible to share between live and
recorded measurements.
src/dmm/bm52x.c
src/hardware/serial-dmm/api.c
src/libsigrok-internal.h