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.