#[repr(C)]pub struct bt_le_ext_adv_start_param {
pub timeout: u16,
pub num_events: u8,
}
Fields§
§timeout: u16
@brief Advertiser timeout (N * 10 ms).
Application will be notified by the advertiser sent callback. Set to zero for no timeout.
When using high duty cycle directed connectable advertising then this parameters must be set to a non-zero value less than or equal to the maximum of @ref BT_GAP_ADV_HIGH_DUTY_CYCLE_MAX_TIMEOUT.
If privacy @kconfig{CONFIG_BT_PRIVACY} is enabled then the timeout must be less than @kconfig{CONFIG_BT_RPA_TIMEOUT}.
num_events: u8
@brief Number of advertising events.
Application will be notified by the advertiser sent callback. Set to zero for no limit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_le_ext_adv_start_param
impl RefUnwindSafe for bt_le_ext_adv_start_param
impl Send for bt_le_ext_adv_start_param
impl Sync for bt_le_ext_adv_start_param
impl Unpin for bt_le_ext_adv_start_param
impl UnwindSafe for bt_le_ext_adv_start_param
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