Struct mavlink::paparazzi::WIFI_CONFIG_AP_DATA
source · pub struct WIFI_CONFIG_AP_DATA {
pub ssid: [u8; 32],
pub password: [u8; 64],
pub mode: WifiConfigApMode,
pub response: WifiConfigApResponse,
}
Available on crate feature
paparazzi
only.Expand description
id: 299 Configure WiFi AP SSID, password, and mode. This message is re-emitted as an acknowledgement by the AP. The message may also be explicitly requested using MAV_CMD_REQUEST_MESSAGE.
Fields§
§ssid: [u8; 32]
Name of Wi-Fi network (SSID). Blank to leave it unchanged when setting. Current SSID when sent back as a response..
password: [u8; 64]
Password. Blank for an open AP. MD5 hash when message is sent back as a response..
mode: WifiConfigApMode
WiFi Mode..
response: WifiConfigApResponse
Message acceptance response (sent back to GS)..
Implementations§
source§impl WIFI_CONFIG_AP_DATA
impl WIFI_CONFIG_AP_DATA
pub const ENCODED_LEN: usize = 98usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for WIFI_CONFIG_AP_DATA
impl Clone for WIFI_CONFIG_AP_DATA
source§fn clone(&self) -> WIFI_CONFIG_AP_DATA
fn clone(&self) -> WIFI_CONFIG_AP_DATA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WIFI_CONFIG_AP_DATA
impl Debug for WIFI_CONFIG_AP_DATA
source§impl Default for WIFI_CONFIG_AP_DATA
impl Default for WIFI_CONFIG_AP_DATA
source§impl<'de> Deserialize<'de> for WIFI_CONFIG_AP_DATA
impl<'de> Deserialize<'de> for WIFI_CONFIG_AP_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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for WIFI_CONFIG_AP_DATA
impl MessageData for WIFI_CONFIG_AP_DATA
const ID: u32 = 299u32
const NAME: &'static str = "WIFI_CONFIG_AP"
const EXTRA_CRC: u8 = 19u8
const ENCODED_LEN: usize = 98usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for WIFI_CONFIG_AP_DATA
impl PartialEq for WIFI_CONFIG_AP_DATA
source§impl Serialize for WIFI_CONFIG_AP_DATA
impl Serialize for WIFI_CONFIG_AP_DATA
impl StructuralPartialEq for WIFI_CONFIG_AP_DATA
Auto Trait Implementations§
impl Freeze for WIFI_CONFIG_AP_DATA
impl RefUnwindSafe for WIFI_CONFIG_AP_DATA
impl Send for WIFI_CONFIG_AP_DATA
impl Sync for WIFI_CONFIG_AP_DATA
impl Unpin for WIFI_CONFIG_AP_DATA
impl UnwindSafe for WIFI_CONFIG_AP_DATA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)