Struct riot_sys::ble_gap_adv_params[][src]

#[repr(C)]
pub struct ble_gap_adv_params { pub conn_mode: u8, pub disc_mode: u8, pub itvl_min: u16, pub itvl_max: u16, pub channel_map: u8, pub filter_policy: u8, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub __bindgen_padding_0: u8, }
Expand description

Advertising parameters

Fields

conn_mode: u8

Advertising mode. Can be one of following constants:

disc_mode: u8

Discoverable mode. Can be one of following constants:

itvl_min: u16

Minimum advertising interval, if 0 stack use sane defaults

itvl_max: u16

Maximum advertising interval, if 0 stack use sane defaults

channel_map: u8

Advertising channel map , if 0 stack use sane defaults

filter_policy: u8

Advertising Filter policy

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: u8

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.