pub struct RadioStatus {
pub rssi: u8,
pub remrssi: u8,
pub txbuf: u8,
pub noise: u8,
pub remnoise: u8,
pub rxerrors: u16,
pub fixed: u16,
}
Expand description
MAVLink RADIO_STATUS
message.
The minimum supported MAVLink version is MAVLink 1
.
§Description
Status generated by radio and injected into MAVLink stream.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload>
for
RadioStatus
(encoding) and [IntoPayload
] (decoding) traits.
These traits are implemented by Message
proc macro.
Fields§
§rssi: u8
MAVLink field rssi
.
Local (message sender) received signal strength indication in device-dependent units/scale. Values: [0-254], UINT8_MAX: invalid/unknown.
remrssi: u8
MAVLink field remrssi
.
Remote (message receiver) signal strength indication in device-dependent units/scale. Values: [0-254], UINT8_MAX: invalid/unknown.
txbuf: u8
MAVLink field txbuf
.
Remaining free transmitter buffer space.
noise: u8
MAVLink field noise
.
Local background noise level. These are device dependent RSSI values (scale as approx 2x dB on SiK radios). Values: [0-254], UINT8_MAX: invalid/unknown.
remnoise: u8
MAVLink field remnoise
.
Remote background noise level. These are device dependent RSSI values (scale as approx 2x dB on SiK radios). Values: [0-254], UINT8_MAX: invalid/unknown.
rxerrors: u16
MAVLink field rxerrors
.
Count of radio packet receive errors (since boot).
fixed: u16
MAVLink field fixed
.
Count of error corrected radio packets (since boot).
Implementations§
Source§impl RadioStatus
impl RadioStatus
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> u32
pub const fn message_id() -> u32
Message ID
.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for RadioStatus
impl Clone for RadioStatus
Source§fn clone(&self) -> RadioStatus
fn clone(&self) -> RadioStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RadioStatus
impl Debug for RadioStatus
Source§impl Default for RadioStatus
impl Default for RadioStatus
Source§fn default() -> RadioStatus
fn default() -> RadioStatus
Source§impl<'de> Deserialize<'de> for RadioStatus
impl<'de> Deserialize<'de> for RadioStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RadioStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RadioStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl From<RadioStatus> for Common
impl From<RadioStatus> for Common
Source§fn from(value: RadioStatus) -> Common
fn from(value: RadioStatus) -> Common
Source§impl IntoPayload for RadioStatus
impl IntoPayload for RadioStatus
Source§impl MessageSpec for RadioStatus
impl MessageSpec for RadioStatus
Source§impl MessageSpecStatic for RadioStatus
impl MessageSpecStatic for RadioStatus
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> u32
fn message_id() -> u32
ID
.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for RadioStatus
impl NamedType for RadioStatus
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl PartialEq for RadioStatus
impl PartialEq for RadioStatus
Source§impl Serialize for RadioStatus
impl Serialize for RadioStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Source§impl TryFrom<&Payload> for RadioStatus
impl TryFrom<&Payload> for RadioStatus
Source§impl Type for RadioStatus
impl Type for RadioStatus
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition
will be put into the type map.