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

Byte stream transport over serial ports via standalone Asio. More...

#include <SerialBackend.hpp>

Collaboration diagram for SerialBackend:

Detailed Description

Byte stream transport over serial ports via standalone Asio.

One serial device path is one endpoint, with the connection model, outbox, reconnection and state callbacks of StreamBackend, plus DTR, RTS and break through INetworkBackend. See SerialTransport for how a port is opened.

EndpointInfo port;
port.transport = NetworkTransport::SERIAL;
port.remote_path = "/dev/ttyACM0";
port.serial.baud_rate = 31250;
port.serial.dtr_on_open = false;
auto id = serial.open_endpoint(port);

The documentation for this class was generated from the following file: