SolarOS

SolarOS 4.17.7 manual · command

stream

List dynamic typed stream endpoints.

Usage

UsageDescription
stream or stream listList dynamic typed stream endpoints.
stream status <id>Show type, direction, provider, format, owner, counters, and any declared scalar command range.
stream echo <source> [--once] [--rate 1..100]Print scalar samples with acquisition time, age and native unit, or byte/event source CSV records. IMU records contain one timestamp and all axes. Default display rate is 10 Hz; Ctrl+C stops.
stream write <scalar-sink> <value> [<scalar-sink> <value> ...] [--rate 1..100] [--duration seconds]Publish native float32 scalar values once or periodically. Values outside a declared command range are rejected with the stream ID, value, allowed range, and unit. Ctrl+C ends periodic publishing.
stream tcp listen <name> <port>Register an exclusive duplex byte stream backed by a raw TCP listener. Requires TCP byte-stream support.
stream tcp connect <name> <host> <port>Register an exclusive duplex byte stream for an outbound TCP connection.
stream tcp remove <name>Remove an unclaimed TCP listener or outbound stream.
stream ble listen <name>Register an exclusive duplex BLE L2CAP CoC stream. Advertises when claimed. Requires BLE byte-stream support.
stream ble connect <name> <address> <public|random|rpa_public|rpa_random>Register an outbound CoC stream. Connects when claimed. Use the address and type reported by ble scan.
stream ble status <name>Show connection state, negotiated SDU sizes, queued bytes, and connection interval.
stream ble remove <name>Remove an unclaimed BLE stream.