Formal AsyncAPI 2.6.0 specification for the OmniUART schema-driven hardware protocol engine, envelope framing models, parametric CRCs, and command/telemetry contract framework.
Physical UART Serial Interface (115200 bps, 8N1, Binary & Delimited Framing)
Register Declarative Protocol Definition
Dispatches a full YAML or JSON OmniUART protocol envelope specification detailing serial parameters, framing, CRC integrity, and opcode definitions.
Available only on servers:
Accepts the following message:
{
"schema_version": "1.0.0",
"metadata": {
"name": "BinarySensorNode",
"version": "1.1.0",
"description": "Environmental sensor node protocol specification",
"author": "Embedded Test Team"
},
"serial_config": {
"baudrate": 115200,
"bytesize": 5,
"parity": "none",
"stopbits": 1,
"flow_control": "none",
"timeout_ms": 1000
},
"framing": {
"type": "binary",
"header": [
170,
85
],
"length": {
"type": "uint8",
"endian": "little",
"includes": "payload_only"
},
"command_id": {
"type": "uint8"
},
"integrity": {
"algorithm": "crc16_modbus",
"range": "header_to_payload"
},
"footer": [
13,
10
]
},
"commands": [
{
"name": "get_readings",
"id": 2,
"description": "Query sensor channel telemetry",
"parameters": [
{
"name": "channel",
"type": "uint8",
"unit": "°C",
"min": 0,
"max": 0
}
]
}
],
"telemetry": [
{
"name": "sensor_alarm",
"id": 160
}
]
}
Execute Parameterized Command
Dispatches framed command opcodes and payload parameters to target hardware microcontroller.
Available only on servers:
Accepts the following message:
{
"command": "get_readings",
"parameters": {
"channel": 1
}
}
Receive Parsed Response Stream
Streams decoded telemetry responses and command acknowledgment payloads returned from hardware.
Available only on servers:
Accepts the following message:
{
"status": "SUCCESS",
"response_fields": {
"temperature": 24.5,
"humidity": 58.2
}
}