Hi!
(apologies if this is a dupe, it looks like the first one got eaten)
I've just written a new driver for the programmable powersupplies sold by
RDTech on aliexpress and the branch is available at
https://github.com/pelrun/libsigrok/tree/rdtech.
They use Modbus RTU over USB or BT serial, and I've needed to make a couple
of minor changes to the existing modbus driver. I had to extend the reply
timeout, and I fixed a bug with some of the functions not returning an
sr_error_code value as required by the calling functions in modbus.c.
Neither change should impact existing drivers (I think the only one
currently is maynuo-m97.) The modbus fixes are in two separate commits on
the same branch.
It should implement everything that's supported by the sigrok API. However
there is an over-power protection register available alongside the
over-voltage and over-current ones, which sigrok does not currently
support. Is there any objection to adding the appropriate config keys for
this?
Cheers,
James
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel