pub struct AdvSetAdvertisingData<'a> {
pub adv_handle: AdvertisingHandle,
pub operation: AdvertisingOperation,
pub fragment: bool,
pub data: &'a [u8],
}
Expand description
Params for the adv_set_advertising_data command
Fields§
§adv_handle: AdvertisingHandle
Used to identify an advertising set
operation: AdvertisingOperation
Advertising operation
fragment: bool
Fragment preference. If set to true
, the Controller may fragment all data, else
the Controller should not fragment or should minimize fragmentation of data
data: &'a [u8]
Data formatted as defined in Bluetooth spec. v.5.4 [Vol 3, Part C, 11].
Auto Trait Implementations§
impl<'a> Freeze for AdvSetAdvertisingData<'a>
impl<'a> RefUnwindSafe for AdvSetAdvertisingData<'a>
impl<'a> Send for AdvSetAdvertisingData<'a>
impl<'a> Sync for AdvSetAdvertisingData<'a>
impl<'a> Unpin for AdvSetAdvertisingData<'a>
impl<'a> UnwindSafe for AdvSetAdvertisingData<'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