Skip to content

3: Event โ€‹

๐Ÿงช Alpha

New message type for server side events, subject to alterations

Used to indicate that an event has occurred. Events may be used to notify of state changes, errors, warnings, or other significant occurrences. Initially this will only be used for server side events, such as device connected, disconnected, RTK errors etc. Probable header fields: - Client ID will indicate the device the event relates to. - Status will indicate if the event is an error or OK. - Received Time may be added by cloud systems to indicate when the event was generated

Payload โ€‹

FieldNameDescriptionTypeUnit
1ServiceService the event relates to, e.g., "CHASM"ascii
2SystemSub system the event relates to, e.g., "UDP_IN"ascii
3CodeCode identifying the event, e.g., "DEVICE_CONNECTED"ascii
4Text DataText for the event (optional). Additional context...ascii
5IntegerInteger data for the event (optional). Additional context...int32

Code โ€‹

For convenience, the following constants can be used to reference this message type.