Struct mavlink::common::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],
}
common
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§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
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
impl StructuralPartialEq for OPEN_DRONE_ID_BASIC_ID_DATA
Auto Trait Implementations§
impl Freeze for OPEN_DRONE_ID_BASIC_ID_DATA
impl RefUnwindSafe for OPEN_DRONE_ID_BASIC_ID_DATA
impl Send for OPEN_DRONE_ID_BASIC_ID_DATA
impl Sync for OPEN_DRONE_ID_BASIC_ID_DATA
impl Unpin for OPEN_DRONE_ID_BASIC_ID_DATA
impl UnwindSafe for OPEN_DRONE_ID_BASIC_ID_DATA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)