Struct mavlink::ardupilotmega::RADIO_STATUS_DATA
source · pub struct RADIO_STATUS_DATA {
pub rxerrors: u16,
pub fixed: u16,
pub rssi: u8,
pub remrssi: u8,
pub txbuf: u8,
pub noise: u8,
pub remnoise: u8,
}
Expand description
id: 109 Status generated by radio and injected into MAVLink stream..
Fields§
§rxerrors: u16
Count of radio packet receive errors (since boot)..
fixed: u16
Count of error corrected radio packets (since boot)..
rssi: u8
Local (message sender) received signal strength indication in device-dependent units/scale. Values: [0-254], UINT8_MAX: invalid/unknown..
remrssi: u8
Remote (message receiver) signal strength indication in device-dependent units/scale. Values: [0-254], UINT8_MAX: invalid/unknown..
txbuf: u8
Remaining free transmitter buffer space..
noise: u8
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
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..
Implementations§
source§impl RADIO_STATUS_DATA
impl RADIO_STATUS_DATA
pub const ENCODED_LEN: usize = 9usize
pub fn deser( _version: MavlinkVersion, _input: &[u8] ) -> Result<Self, ParserError>
pub fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
Trait Implementations§
source§impl Clone for RADIO_STATUS_DATA
impl Clone for RADIO_STATUS_DATA
source§fn clone(&self) -> RADIO_STATUS_DATA
fn clone(&self) -> RADIO_STATUS_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 RADIO_STATUS_DATA
impl Debug for RADIO_STATUS_DATA
source§impl Default for RADIO_STATUS_DATA
impl Default for RADIO_STATUS_DATA
source§fn default() -> RADIO_STATUS_DATA
fn default() -> RADIO_STATUS_DATA
source§impl<'de> Deserialize<'de> for RADIO_STATUS_DATA
impl<'de> Deserialize<'de> for RADIO_STATUS_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 PartialEq<RADIO_STATUS_DATA> for RADIO_STATUS_DATA
impl PartialEq<RADIO_STATUS_DATA> for RADIO_STATUS_DATA
source§fn eq(&self, other: &RADIO_STATUS_DATA) -> bool
fn eq(&self, other: &RADIO_STATUS_DATA) -> bool
self
and other
values to be equal, and is used
by ==
.