pub type Event = Event;Expand description
Originally defined in common::messages::event.
Aliased Type§
pub struct Event {
pub destination_component: u8,
pub destination_system: u8,
pub id: u32,
pub event_time_boot_ms: u32,
pub sequence: u16,
pub log_levels: u8,
pub arguments: [u8; 40],
}Fields§
§destination_component: u8MAVLink field destination_component.
Component ID
destination_system: u8MAVLink field destination_system.
System ID
id: u32MAVLink field id.
Event ID (as defined in the component metadata)
event_time_boot_ms: u32MAVLink field event_time_boot_ms.
Timestamp (time since system boot when the event happened).
sequence: u16MAVLink field sequence.
Sequence number.
log_levels: u8MAVLink field log_levels.
Log levels: 4 bits MSB: internal (for logging purposes), 4 bits LSB: external. Levels: Emergency = 0, Alert = 1, Critical = 2, Error = 3, Warning = 4, Notice = 5, Info = 6, Debug = 7, Protocol = 8, Disabled = 9
arguments: [u8; 40]MAVLink field arguments.
Arguments (depend on event ID).