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
|
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:
BaseTelemetryClientSend/receive telemetry over a serial port.
- Parameters:
- protocol: IoTProtocol = 'serial'#