Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 872 Bytes

message-header.md

File metadata and controls

26 lines (20 loc) · 872 Bytes

Message Header

Field Type Description
Message Type Varint
Message Size Varint

Core Message Types

Message Type Value Description
Reserved 0x00 Field that cannot be used
OK 0x01 Success on request
Error 0x02 Error on request
Keep Alive 0x03 Keep connection alive
Run 0x04 Execute a resource or a broker action
Start Stream 0x05 Start stream channel for sampling interval or receive events over a resource.
Stop Stream 0x06 Stop the ongoing stream
Describe 0x07 Describe available resources
Connect 0x08 Establish a connection and its parameters
Disconnect 0x09 Disconnect the current connection
Stream Event 0x0A Stream an unscheduled event
Stream Sample 0x0B Stream an scheduled sample