|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::optional< Core::InputDeviceInfo > MayaFlux::open_serial_port | ( | const Core::SerialPortConfig & | port | ) |
List a serial port, apply its line setup and protocol, and open it.
The port is read the way port.protocol says and opened with port.line. A port already listed under the same path keeps its id and takes the new settings unless it is open. Needs GlobalInputConfig::serial and GlobalNetworkConfig::serial enabled.
| port | The port, as written by hand or returned by choose_serial_port(). |
Definition at line 227 of file Input.cpp.