Struct bluetooth_hci::host::ScanParameters [−][src]
pub struct ScanParameters { pub scan_type: ScanType, pub scan_window: ScanWindow, pub own_address_type: OwnAddressType, pub filter_policy: ScanFilterPolicy, }
Parameters for the le_set_scan_parameters
command.
Fields
scan_type: ScanType
The type of scan to perform
scan_window: ScanWindow
Recommendation from the host on how frequently the controller should scan. See the Bluetooth spec, Vol 6, Part B, Section 4.5.3.
own_address_type: OwnAddressType
Indicates the type of address being used in the scan request packets.
filter_policy: ScanFilterPolicy
Indicates which advertising packets to accept.
Trait Implementations
impl Clone for ScanParameters
[src]
impl Clone for ScanParameters
fn clone(&self) -> ScanParameters
[src]
fn clone(&self) -> ScanParameters
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ScanParameters
[src]
impl Debug for ScanParameters
Auto Trait Implementations
impl Send for ScanParameters
impl Send for ScanParameters
impl Sync for ScanParameters
impl Sync for ScanParameters