Will serialx continue to support dynamically changing the baud rate? #94
redstone99
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Definitely. That property setter (like many others) is deprecated because it performs blocking operations on the event loop. I haven't quite had the time to plan out an API for a replacement but I think it would be best to mirror the connection API: await transport.reconfigure(baudrate=115200)That would let you change multiple settings at once, similar to the new modem line API. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It looks like the ability to change the baud rate of a connection without closing/reopening it is deprecated. Is there a plan for a replacement? I have a device that, for some operations, requires changing the baud-rate while the connection is open (yes, I know this sounds odd. I didn't design the device). With pyserial, I can say
...transport.baudrate = newBaudRate.Beta Was this translation helpful? Give feedback.
All reactions