Struct esp_idf_svc::sys::wifi_ftm_initiator_cfg_t
source · #[repr(C)]pub struct wifi_ftm_initiator_cfg_t {
pub resp_mac: [u8; 6],
pub channel: u8,
pub frm_count: u8,
pub burst_period: u16,
pub use_get_report_api: bool,
}
Expand description
@brief FTM Initiator configuration
Fields§
§resp_mac: [u8; 6]
< MAC address of the FTM Responder
channel: u8
< Primary channel of the FTM Responder
frm_count: u8
< No. of FTM frames requested in terms of 4 or 8 bursts (allowed values - 0(No pref), 16, 24, 32, 64)
burst_period: u16
< Requested period between FTM bursts in 100’s of milliseconds (allowed values 0(No pref) - 100)
use_get_report_api: bool
< True - Using esp_wifi_ftm_get_report to get FTM report, False - Using ftm_report_data from WIFI_EVENT_FTM_REPORT to get FTM report
Trait Implementations§
source§impl Clone for wifi_ftm_initiator_cfg_t
impl Clone for wifi_ftm_initiator_cfg_t
source§fn clone(&self) -> wifi_ftm_initiator_cfg_t
fn clone(&self) -> wifi_ftm_initiator_cfg_t
Returns a copy of the value. Read more
1.0.0§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_ftm_initiator_cfg_t
impl Debug for wifi_ftm_initiator_cfg_t
source§impl Default for wifi_ftm_initiator_cfg_t
impl Default for wifi_ftm_initiator_cfg_t
source§fn default() -> wifi_ftm_initiator_cfg_t
fn default() -> wifi_ftm_initiator_cfg_t
Returns the “default value” for a type. Read more
impl Copy for wifi_ftm_initiator_cfg_t
Auto Trait Implementations§
impl Freeze for wifi_ftm_initiator_cfg_t
impl RefUnwindSafe for wifi_ftm_initiator_cfg_t
impl Send for wifi_ftm_initiator_cfg_t
impl Sync for wifi_ftm_initiator_cfg_t
impl Unpin for wifi_ftm_initiator_cfg_t
impl UnwindSafe for wifi_ftm_initiator_cfg_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)