I using this library to connect to Raspberry Pi Pico and the connection requires to set the DTR signal.
I noticed out of the options provided, there is an option called dtr_on_open in the SerialPortBuilder.
When I try use this option; however, it does not seem to set DTR when connected as expected.
Using serialport directly, this option works as intended.
Having looking this library, I noticed that on connecting to the serial port, the connection is immediately closed and reopened with mio-serial's settings. I could not find anything mentioning of setting or clearing the DTR signal on open, and feel that this might the culprit.
I can work around this by manually setting the DTR after the connection is made with mio-serial.
I using this library to connect to Raspberry Pi Pico and the connection requires to set the DTR signal.
I noticed out of the options provided, there is an option called
dtr_on_openin theSerialPortBuilder.When I try use this option; however, it does not seem to set DTR when connected as expected.
Using
serialportdirectly, this option works as intended.Having looking this library, I noticed that on connecting to the serial port, the connection is immediately closed and reopened with
mio-serial's settings. I could not find anything mentioning of setting or clearing the DTR signal on open, and feel that this might the culprit.I can work around this by manually setting the DTR after the connection is made with
mio-serial.