adapnex::core::SerialPort::Read
Read from the serial port.
Synopsis
Declared in <adapnex/core/serial.h>
virtual
ssize_t
Read(
std::span<uint8_t> data,
Duration byte_timeout) = 0;
Parameters
| Name | Description |
|---|---|
data |
The buffer to read data into. |
byte_timeout |
The maximum duration to wait between bytes. |
Created with MrDocs