Struct stm32wb_hci::vendor::stm32wb::command::gap::SelectiveConnectionEstablishmentParameters
source · pub struct SelectiveConnectionEstablishmentParameters<'a> {
pub scan_type: ScanType,
pub scan_window: ScanWindow,
pub own_address_type: OwnAddressType,
pub filter_policy: ScanFilterPolicy,
pub filter_duplicates: bool,
pub white_list: &'a [PeerAddrType],
}Expand description
Parameters for the GAP Start Selective Connection Establishment command.
Fields§
§scan_type: ScanTypeType of scanning
scan_window: ScanWindowScanning window for connection establishment.
own_address_type: OwnAddressTypeAddress type of this device.
filter_policy: ScanFilterPolicyScanning filter policy.
Note
if privacy is enabled, filter policy can only assume values Accept All or Whitelist Addressed to this Device
filter_duplicates: boolIf true, only report unique devices.
white_list: &'a [PeerAddrType]Addresses to white-list for automatic connection.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> Send for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> Sync for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> Unpin for SelectiveConnectionEstablishmentParameters<'a>
impl<'a> UnwindSafe for SelectiveConnectionEstablishmentParameters<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more