pub struct CELLULAR_CONFIG_DATA {
pub enable_lte: u8,
pub enable_pin: u8,
pub pin: CharArray<16>,
pub new_pin: CharArray<16>,
pub apn: CharArray<32>,
pub puk: CharArray<16>,
pub roaming: u8,
pub response: CellularConfigResponse,
}development only.Expand description
Configure cellular modems. This message is re-emitted as an acknowledgement by the modem. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE.
ID: 336
Fields§
§enable_lte: u8Enable/disable LTE. 0: setting unchanged, 1: disabled, 2: enabled. Current setting when sent back as a response.
enable_pin: u8Enable/disable PIN on the SIM card. 0: setting unchanged, 1: disabled, 2: enabled. Current setting when sent back as a response.
pin: CharArray<16>PIN sent to the SIM card. Blank when PIN is disabled. Empty when message is sent back as a response.
new_pin: CharArray<16>New PIN when changing the PIN. Blank to leave it unchanged. Empty when message is sent back as a response.
apn: CharArray<32>Name of the cellular APN. Blank to leave it unchanged. Current APN when sent back as a response.
puk: CharArray<16>Required PUK code in case the user failed to authenticate 3 times with the PIN. Empty when message is sent back as a response.
roaming: u8Enable/disable roaming. 0: setting unchanged, 1: disabled, 2: enabled. Current setting when sent back as a response.
response: CellularConfigResponseMessage acceptance response (sent back to GS).
Implementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for CELLULAR_CONFIG_DATA
impl<'arbitrary> Arbitrary<'arbitrary> for CELLULAR_CONFIG_DATA
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Unstructured this type
needs to construct itself. Read moreSource§impl Clone for CELLULAR_CONFIG_DATA
impl Clone for CELLULAR_CONFIG_DATA
Source§fn clone(&self) -> CELLULAR_CONFIG_DATA
fn clone(&self) -> CELLULAR_CONFIG_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more