Struct esp_idf_sys::esp_ble_scan_params_t
source · #[repr(C)]pub struct esp_ble_scan_params_t {
pub scan_type: esp_ble_scan_type_t,
pub own_addr_type: esp_ble_addr_type_t,
pub scan_filter_policy: esp_ble_scan_filter_t,
pub scan_interval: u16,
pub scan_window: u16,
pub scan_duplicate: esp_ble_scan_duplicate_t,
}
Expand description
Ble scan parameters
Fields§
§scan_type: esp_ble_scan_type_t
< Scan type
own_addr_type: esp_ble_addr_type_t
< Owner address type
scan_filter_policy: esp_ble_scan_filter_t
< 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: esp_ble_scan_duplicate_t
< 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
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
)