brymen-dmm: unbreak BM85x communication by pulsing RTS after COM port open
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 20 Sep 2020 07:23:45 +0000 (09:23 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 20 Sep 2020 08:44:20 +0000 (10:44 +0200)
commit648f32d11966917a53caed2d2b640ea75de5c3dd
treeba2a43616bdacff6a18f408dff8dffeba2b61479
parent3ad30b4e19211eda2f4e00f78c76feeea3323b49
brymen-dmm: unbreak BM85x communication by pulsing RTS after COM port open

Either the Brymen meters in the BM850s series or their cables require an
RTS pulse to wakeup, without it there won't be a response during scan or
when requesting measurements. Follow the vendor's documented sequence for
a low RTS pulse after opening the serial port and before communication to
the device.

This fixes bug #1595.

Reported-By: Karl Palsson <karlp@tweak.net.au>
src/hardware/brymen-dmm/api.c