Struct mavlink::cubepilot::OPEN_DRONE_ID_BASIC_ID_DATA
source · pub struct OPEN_DRONE_ID_BASIC_ID_DATA {
pub target_system: u8,
pub target_component: u8,
pub id_or_mac: [u8; 20],
pub id_type: MavOdidIdType,
pub ua_type: MavOdidUaType,
pub uas_id: [u8; 20],
}
Expand description
id: 12900 Data for filling the OpenDroneID Basic ID message. This and the below messages are primarily meant for feeding data to/from an OpenDroneID implementation. E.g. https://github.com/opendroneid/opendroneid-core-c. These messages are compatible with the ASTM F3411 Remote ID standard and the ASD-STAN prEN 4709-002 Direct Remote ID standard. Additional information and usage of these messages is documented at https://mavlink.io/en/services/opendroneid.html..
Fields§
§target_system: u8
System ID (0 for broadcast)..
target_component: u8
Component ID (0 for broadcast)..
id_or_mac: [u8; 20]
Only used for drone ID data received from other UAs. See detailed description at https://mavlink.io/en/services/opendroneid.html..
id_type: MavOdidIdType
Indicates the format for the uas_id field of this message..
ua_type: MavOdidUaType
Indicates the type of UA (Unmanned Aircraft)..
uas_id: [u8; 20]
UAS (Unmanned Aircraft System) ID following the format specified by id_type. Shall be filled with nulls in the unused portion of the field..
Implementations§
source§impl OPEN_DRONE_ID_BASIC_ID_DATA
impl OPEN_DRONE_ID_BASIC_ID_DATA
pub const ENCODED_LEN: usize = 44usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for OPEN_DRONE_ID_BASIC_ID_DATA
impl Clone for OPEN_DRONE_ID_BASIC_ID_DATA
source§fn clone(&self) -> OPEN_DRONE_ID_BASIC_ID_DATA
fn clone(&self) -> OPEN_DRONE_ID_BASIC_ID_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OPEN_DRONE_ID_BASIC_ID_DATA
impl Debug for OPEN_DRONE_ID_BASIC_ID_DATA
source§impl<'de> Deserialize<'de> for OPEN_DRONE_ID_BASIC_ID_DATA
impl<'de> Deserialize<'de> for OPEN_DRONE_ID_BASIC_ID_DATA
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl MessageData for OPEN_DRONE_ID_BASIC_ID_DATA
impl MessageData for OPEN_DRONE_ID_BASIC_ID_DATA
type Message = MavMessage
const ID: u32 = 12_900u32
const NAME: &'static str = "OPEN_DRONE_ID_BASIC_ID"
const EXTRA_CRC: u8 = 114u8
const ENCODED_LEN: usize = 44usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for OPEN_DRONE_ID_BASIC_ID_DATA
impl PartialEq for OPEN_DRONE_ID_BASIC_ID_DATA
source§fn eq(&self, other: &OPEN_DRONE_ID_BASIC_ID_DATA) -> bool
fn eq(&self, other: &OPEN_DRONE_ID_BASIC_ID_DATA) -> bool
self
and other
values to be equal, and is used
by ==
.