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],
}
development
only.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§const fn clone_from(&mut self, source: &Self)
const 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
const ID: u32 = 12_900u32
const NAME: &'static str = "OPEN_DRONE_ID_BASIC_ID"
const EXTRA_CRC: u8 = 114u8
const ENCODED_LEN: usize = 44usize
type Message = MavMessage
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 ==
.