MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_control_lines()

template<typename Transport>
bool MayaFlux::Core::StreamBackend< Transport >::set_control_lines ( uint64_t ,
std::optional< bool > ,
std::optional< bool >  )
overridevirtual

Set the DTR and RTS lines of an open serial endpoint.

Parameters
endpoint_idTarget endpoint.
dtrNew DTR level, or nothing to leave it.
rtsNew RTS level, or nothing to leave it.
Returns
false for an endpoint that is not an open serial port, and for every other transport.

Reimplemented from MayaFlux::Core::INetworkBackend.