Struct bluenrg::gap::BroadcastModeParameters[][src]

pub struct BroadcastModeParameters<'a, 'b> {
    pub advertising_interval: AdvertisingInterval,
    pub own_address_type: AddressType,
    pub advertising_data: &'a [u8],
    pub white_list: &'b [PeerAddrType],
}

Parameters for the GAP Set Broadcast Mode command.

Fields

Advertising type and interval.

Only the ScannableUndirected and NonConnectableUndirected.

Type of this device's address.

A privacy enabled device uses either a resolvable private address or a non-resolvable private address.

Advertising data used by the device when advertising.

Must be 31 bytes or fewer.

Addresses to add to the white list.

Each address takes up 7 bytes (1 byte for the type, 6 for the address). The full length of this packet must not exceed 255 bytes. The white list must be less than a maximum of between 31 and 35 entries, depending on the length of advertising_data. Shorter advertising data allows more white list entries.

Auto Trait Implementations

impl<'a, 'b> Send for BroadcastModeParameters<'a, 'b>

impl<'a, 'b> Sync for BroadcastModeParameters<'a, 'b>