Struct PacketManager::transmission_config_t¶
Defined in File hi_can_packet.hpp
Nested Relationships¶
This struct is a nested type of Class PacketManager.
Struct Documentation¶
-
struct transmission_config_t¶
Configuration for scheduling a packet transmission.
Public Members¶
-
data_generator_t generator = nullptr¶
Function which returns the packet data to transmit.
-
std::chrono::steady_clock::duration interval = std::chrono::steady_clock::duration::zero()¶
The interval between transmissions - zero means transmit as often as possible.
-
bool should_transmit_immediately = false¶
Whether or not to transmit the packet immediately. If false, will transmit after the interval.
-
data_generator_t generator = nullptr¶