Struct sbp::messages::piksi::msg_cell_modem_status::MsgCellModemStatus
source · [−]pub struct MsgCellModemStatus {
pub sender_id: Option<u16>,
pub signal_strength: i8,
pub signal_error_rate: f32,
pub reserved: Vec<u8>,
}
Expand description
Cell modem information update message
If a cell modem is present on a piksi device, this message will be send periodically to update the host on the status of the modem and its various parameters.
Fields
sender_id: Option<u16>
The message sender_id
signal_strength: i8
Received cell signal strength in dBm, zero translates to unknown
signal_error_rate: f32
BER as reported by the modem, zero translates to unknown
reserved: Vec<u8>
Unspecified data TBD for this schema
Trait Implementations
sourceimpl Clone for MsgCellModemStatus
impl Clone for MsgCellModemStatus
sourcefn clone(&self) -> MsgCellModemStatus
fn clone(&self) -> MsgCellModemStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ConcreteMessage for MsgCellModemStatus
impl ConcreteMessage for MsgCellModemStatus
sourceconst MESSAGE_TYPE: u16 = 190u16
const MESSAGE_TYPE: u16 = 190u16
The message type.
sourceconst MESSAGE_NAME: &'static str = "MSG_CELL_MODEM_STATUS"
const MESSAGE_NAME: &'static str = "MSG_CELL_MODEM_STATUS"
The message name.
sourceimpl Debug for MsgCellModemStatus
impl Debug for MsgCellModemStatus
sourceimpl From<MsgCellModemStatus> for Sbp
impl From<MsgCellModemStatus> for Sbp
sourcefn from(msg: MsgCellModemStatus) -> Self
fn from(msg: MsgCellModemStatus) -> Self
Converts to this type from the input type.
sourceimpl SbpMessage for MsgCellModemStatus
impl SbpMessage for MsgCellModemStatus
sourcefn message_name(&self) -> &'static str
fn message_name(&self) -> &'static str
Get the message name.
sourcefn message_type(&self) -> u16
fn message_type(&self) -> u16
Get the message type.
sourcefn set_sender_id(&mut self, new_id: u16)
fn set_sender_id(&mut self, new_id: u16)
Set the sender id.
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgCellModemStatus
impl Send for MsgCellModemStatus
impl Sync for MsgCellModemStatus
impl Unpin for MsgCellModemStatus
impl UnwindSafe for MsgCellModemStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more