4#ifndef PSTOP_PROTOCOL_DATA_H
5#define PSTOP_PROTOCOL_DATA_H
9#include "pstop/device_id.h"
Identifier of a pstop device.
Definition device_id.h:12
Per-remote protocol state.
Definition protocol_data.h:12
device_id_t remote_id
Device ID of the remote.
Definition protocol_data.h:15
uint64_t last_timestamp
Time the last message was sent to the remote.
Definition protocol_data.h:18
uint32_t msg_counter
Counter of the next message sent to the remote.
Definition protocol_data.h:24
uint32_t last_received_counter
Counter of the last message received from the remote.
Definition protocol_data.h:30
uint64_t last_received_stamp
Timestamp of the last message received from the remote.
Definition protocol_data.h:27
uint64_t heartbeat_ms
Heartbeat interval for the remote, in milliseconds.
Definition protocol_data.h:21