Gocator API
GoHeartbeatPacket Struct Reference

Description

Represents a heartbeat UDP packet (wire format).

This structure is packed to ensure consistent wire format across platforms. All multi-byte fields are stored in network byte order (big-endian).

Inheritance diagram for GoHeartbeatPacket:
Inheritance graph

Public Attributes

k16u magic
 Magic identifier (0x474F = "GO") - network byte order.
 
k32u sensorId
 Sensor ID that sent this heartbeat - network byte order.
 
k16u sequence
 Rolling sequence number (0-65535) - network byte order.
 
k64u timestamp
 Timestamp when packet was sent (microseconds) - network byte order.
 

The documentation for this struct was generated from the following file: