]> sigrok.org Git - libsigrok.git/commit
rdtech-dps: Retry sr_modbus_read_holding_registers() up to 3 times.
authorFrank Stettner <redacted>
Wed, 1 May 2019 21:18:13 +0000 (23:18 +0200)
committerFrank Stettner <redacted>
Wed, 13 Nov 2019 09:09:07 +0000 (10:09 +0100)
commitaff2094193c7ed0c040ff69d6e6de9c7f2b9d53e
tree466af1f953200ee7453e39fbb34582e67c8a4f80
parentc9b187a6074d21c2f1b867ae122fc100198555dd
rdtech-dps: Retry sr_modbus_read_holding_registers() up to 3 times.

The communication with the rdtech power supplies is not very reliable,
especially during the start. Because of that, the driver tries to read the
modbus registers up to three times.
Nevertheless there is the chance, that the communication fails.
src/hardware/rdtech-dps/protocol.c
src/hardware/rdtech-dps/protocol.h