CellularStatus

Type Alias CellularStatus 

Source
pub type CellularStatus = CellularStatus;
Expand description

Originally defined in common::messages::cellular_status.

Aliased Type§

pub struct CellularStatus {
    pub status: CellularStatusFlag,
    pub failure_reason: CellularNetworkFailedReason,
    pub type_: CellularNetworkRadioType,
    pub quality: u8,
    pub mcc: u16,
    pub mnc: u16,
    pub lac: u16,
}

Fields§

§status: CellularStatusFlag

MAVLink field status.

Cellular modem status

§failure_reason: CellularNetworkFailedReason

MAVLink field failure_reason.

Failure reason when status in in CELLULAR_STATUS_FLAG_FAILED

§type_: CellularNetworkRadioType

MAVLink field type.

Cellular network radio type: gsm, cdma, lte…

§quality: u8

MAVLink field quality.

Signal quality in percent. If unknown, set to UINT8_MAX

§mcc: u16

MAVLink field mcc.

Mobile country code. If unknown, set to UINT16_MAX

§mnc: u16

MAVLink field mnc.

Mobile network code. If unknown, set to UINT16_MAX

§lac: u16

MAVLink field lac.

Location area code. If unknown, set to 0