wjwwood / serial

Cross-platform, Serial Port library written in C++
http://wjwwood.github.com/serial/
MIT License
2.11k stars 1.03k forks source link

Solve issue Custom Baudrate OSX #139 of original repo #218

Closed atomiechen closed 3 years ago

atomiechen commented 4 years ago

inspired by PySerial source code serialposix.py and npat-efault/picocom#57, we need to set custom baudrate after calling tcsetattr; tested correct on macOS Mojave 10.14.4 with baudrate 250000

wjwwood commented 3 years ago

@ros-pull-request-builder test this please