#[repr(C)]
pub struct smartconfig_event_got_ssid_pswd_t { pub ssid: [u8; 32], pub password: [u8; 64], pub bssid_set: bool, pub bssid: [u8; 6], pub type_: smartconfig_type_t, pub token: u8, pub cellphone_ip: [u8; 4], }
Expand description

Argument structure for SC_EVENT_GOT_SSID_PSWD event

Fields

ssid: [u8; 32]

< SSID of the AP. Null terminated string.

password: [u8; 64]

< Password of the AP. Null terminated string.

bssid_set: bool

< whether set MAC address of target AP or not.

bssid: [u8; 6]

< MAC address of target AP.

type_: smartconfig_type_t

< Type of smartconfig(ESPTouch or AirKiss).

token: u8

< Token from cellphone which is used to send ACK to cellphone.

cellphone_ip: [u8; 4]

< IP address of cellphone.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.