|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| int MayaFlux::Core::detail::set_custom_baud | ( | int | fd, |
| uint32_t | baud ) |
Set a baud rate the portable serial option table does not accept.
| fd | An open serial device. |
| baud | The rate in bits per second. |
Linux sets it through the termios2 ioctls with BOTHER, and macOS through IOSSIOSPEED. It lives in its own translation unit because the kernel's termios2 header cannot be included beside the C library's termios.
Definition at line 46 of file SerialCustomBaud.cpp.
Referenced by MayaFlux::Core::SerialTransport::open().