Struct esp_idf_svc::hal::sys::esp_ble_scan_params_t
source · #[repr(C)]pub struct esp_ble_scan_params_t {
pub scan_type: u32,
pub own_addr_type: u32,
pub scan_filter_policy: u32,
pub scan_interval: u16,
pub scan_window: u16,
pub scan_duplicate: u32,
}
Expand description
Ble scan parameters
Fields§
§scan_type: u32
< Scan type
own_addr_type: u32
< Owner address type
scan_filter_policy: u32
< Scan filter policy
scan_interval: u16
< Scan interval. This is defined as the time interval from when the Controller started its last LE scan until it begins the subsequent LE scan. Range: 0x0004 to 0x4000 Default: 0x0010 (10 ms) Time = N * 0.625 msec Time Range: 2.5 msec to 10.24 seconds
scan_window: u16
< Scan window. The duration of the LE scan. LE_Scan_Window shall be less than or equal to LE_Scan_Interval Range: 0x0004 to 0x4000 Default: 0x0010 (10 ms) Time = N * 0.625 msec Time Range: 2.5 msec to 10240 msec
scan_duplicate: u32
< The Scan_Duplicates parameter controls whether the Link Layer should filter out duplicate advertising reports (BLE_SCAN_DUPLICATE_ENABLE) to the Host, or if the Link Layer should generate advertising reports for each packet received
Trait Implementations§
source§impl Clone for esp_ble_scan_params_t
impl Clone for esp_ble_scan_params_t
source§fn clone(&self) -> esp_ble_scan_params_t
fn clone(&self) -> esp_ble_scan_params_t
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for esp_ble_scan_params_t
impl Debug for esp_ble_scan_params_t
source§impl Default for esp_ble_scan_params_t
impl Default for esp_ble_scan_params_t
source§fn default() -> esp_ble_scan_params_t
fn default() -> esp_ble_scan_params_t
impl Copy for esp_ble_scan_params_t
Auto Trait Implementations§
impl Freeze for esp_ble_scan_params_t
impl RefUnwindSafe for esp_ble_scan_params_t
impl Send for esp_ble_scan_params_t
impl Sync for esp_ble_scan_params_t
impl Unpin for esp_ble_scan_params_t
impl UnwindSafe for esp_ble_scan_params_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
§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)
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)
clone_to_uninit
)