Open pfy opened 1 year ago
OK. So the meter does not follow the baud rate it proposes?
A better solution would be to create a subclass of the serial transport where you make the switch_baudrate
a no-op.
I rather not add more flags and options as it has been a wish for a long time to rewrite this library and bring it up to standard with our other communication libraries.
I tried to read the landis + gyr ZM120 and had some issues (on osx) With the code in the repository, no readout is possible. The read timouts. But if i remove the code to switch the baud rate, by commenting out
self.transport.switch_baudrate(self.switchover_baudrate)
, everything works as expected.should i prepare a pr with a flag for the client or transport to disable the baud rate switch ?
attached transcript without the actual data of my readings