Struct PacketManager::callback_data_t

Nested Relationships

This struct is a nested type of Class PacketManager.

Struct Documentation

struct callback_data_t

Collaboration diagram for hi_can::PacketManager::callback_data_t:

Struct storing all the data we need to track to handle RX callbacks.

Public Members

callback_config_t config = {}

The callback config.

Packet last_packet = {}

The last packet received.

bool has_timed_out = false

Whether or not it’s currently timed out.

std::chrono::steady_clock::time_point last_received = {}

The last time a packet was received.