pycsamt.iot.protocols.serial#

Serial (UART) telemetry transport (optional dependency: pyserial).

SerialTelemetryClient writes newline-delimited JSON to a serial port and reads it back. pyserial is imported lazily so the subpackage imports without it.

Classes

SerialTelemetryClient([endpoint, dry_run, ...])

Send/receive telemetry over a serial port.

class pycsamt.iot.protocols.serial.SerialTelemetryClient(endpoint=None, *, dry_run=False, baudrate=115200, timeout=1.0, **options)[source]#

Bases: BaseTelemetryClient

Send/receive telemetry over a serial port.

Parameters:
protocol: IoTProtocol = 'serial'#