Struct btmgmt_packet::command::AddAdvertising [−][src]
pub struct AddAdvertising { /* fields omitted */ }
Expand description
Add Advertising Command
Implementations
pub fn new(
instance: AdvertiseInstance,
flags: AdvertisingFlag,
duration: u16,
timeout: u16,
adv_data_scan_resp: AdvDataScanResp
) -> Self
pub fn new(
instance: AdvertiseInstance,
flags: AdvertisingFlag,
duration: u16,
timeout: u16,
adv_data_scan_resp: AdvDataScanResp
) -> Self
Constructs a new AddAdvertising
.
Trait Implementations
Command code.
type Reply = AddAdvertisingReply
type Reply = AddAdvertisingReply
Return type for this command.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AddAdvertising
impl Send for AddAdvertising
impl Sync for AddAdvertising
impl Unpin for AddAdvertising
impl UnwindSafe for AddAdvertising