pub enum ReturnParameters {
Show 36 variants
Spontaneous,
SetEventMask(Status),
Reset(Status),
ReadTxPowerLevel(TxPowerLevel),
ReadLocalVersionInformation(LocalVersionInfo),
ReadLocalSupportedCommands(LocalSupportedCommands),
ReadLocalSupportedFeatures(LocalSupportedFeatures),
ReadBdAddr(ReadBdAddr),
ReadRssi(ReadRssi),
LeSetEventMask(Status),
LeReadBufferSize(LeReadBufferSize),
LeReadLocalSupportedFeatures(LeSupportedFeatures),
LeSetRandomAddress(Status),
LeSetAdvertisingParameters(Status),
LeReadAdvertisingChannelTxPower(LeAdvertisingChannelTxPower),
LeSetAdvertisingData(Status),
LeSetScanResponseData(Status),
LeSetAdvertisingEnable(Status),
LeSetScanParameters(Status),
LeSetScanEnable(Status),
LeCreateConnectionCancel(Status),
LeReadWhiteListSize(Status, usize),
LeClearWhiteList(Status),
LeAddDeviceToWhiteList(Status),
LeRemoveDeviceFromWhiteList(Status),
LeSetHostChannelClassification(Status),
LeReadChannelMap(ChannelMapParameters),
LeEncrypt(EncryptedReturnParameters),
LeRand(LeRandom),
LeLongTermKeyRequestReply(LeLongTermRequestReply),
LeLongTermKeyRequestNegativeReply(LeLongTermRequestReply),
LeReadSupportedStates(LeReadSupportedStates),
LeReceiverTest(Status),
LeTransmitterTest(Status),
LeTestEnd(LeTestEnd),
Vendor(VendorReturnParameters),
}
Expand description
Commands that may generate the Command Complete event. If the commands have defined return parameters, they are included in this enum.
Variants§
Spontaneous
The controller sent an unsolicited command complete event in order to change the number of HCI command packets the Host is allowed to send.
SetEventMask(Status)
Status returned by the Set Event Mask command.
Reset(Status)
Status returned by the Reset command.
ReadTxPowerLevel(TxPowerLevel)
Read Transmit Power Level return parameters.
ReadLocalVersionInformation(LocalVersionInfo)
Local version info returned by the Read Local Version Information command.
ReadLocalSupportedCommands(LocalSupportedCommands)
Supported commands returned by the Read Local Supported Commands command.
ReadLocalSupportedFeatures(LocalSupportedFeatures)
Supported features returned by the Read Local Supported Features command.
ReadBdAddr(ReadBdAddr)
BD ADDR returned by the Read BD ADDR command.
ReadRssi(ReadRssi)
RSSI returned by the Read RSSI command.
LeSetEventMask(Status)
Status returned by the LE Set Event Mask command.
LeReadBufferSize(LeReadBufferSize)
Parameters returned by the LE Read Buffer Size command.
LeReadLocalSupportedFeatures(LeSupportedFeatures)
Parameters returned by the LE Read Local Supported Features command.
LeSetRandomAddress(Status)
Status returned by the LE Set Random Address command.
LeSetAdvertisingParameters(Status)
Status returned by the LE Set Advertising Parameters command.
LeReadAdvertisingChannelTxPower(LeAdvertisingChannelTxPower)
Parameters returned by the LE Read Advertising Channel TX Power command.
LeSetAdvertisingData(Status)
Status returned by the LE Set Advertising Data command.
LeSetScanResponseData(Status)
Status returned by the LE Set Scan Response Data command.
LeSetAdvertisingEnable(Status)
Status returned by the LE Set Advertising Enable command.
LeSetScanParameters(Status)
Status returned by the LE Set Scan Parameters command.
LeSetScanEnable(Status)
Status returned by the LE Set Scan Enable command.
LeCreateConnectionCancel(Status)
Status returned by the LE Create Connection Cancel command.
LeReadWhiteListSize(Status, usize)
Status and white list size returned by the LE Read White List Size command.
LeClearWhiteList(Status)
Status returned by the LE Clear White List command.
LeAddDeviceToWhiteList(Status)
Status returned by the LE Add Device to White List command.
LeRemoveDeviceFromWhiteList(Status)
Status returned by the LE Remove Device from White List command.
LeSetHostChannelClassification(Status)
Status returned by the LE Set Host Channel Classification command.
LeReadChannelMap(ChannelMapParameters)
Parameters returned by the LE Read Channel Map command.
LeEncrypt(EncryptedReturnParameters)
Parameters returned by the LE Encrypt command.
LeRand(LeRandom)
Parameters returned by the LE Rand command.
LeLongTermKeyRequestReply(LeLongTermRequestReply)
Parameters returned by the LE Long Term Key Request Reply command.
LeLongTermKeyRequestNegativeReply(LeLongTermRequestReply)
Parameters returned by the LE Long Term Key Request Negative Reply command.
LeReadSupportedStates(LeReadSupportedStates)
Parameters returned by the LE Read States) command.
LeReceiverTest(Status)
Status returned by the LE Receiver Test command.
LeTransmitterTest(Status)
Status returned by the LE Transmitter Test command.
LeTestEnd(LeTestEnd)
Parameters returned by the LE Test End command.
Vendor(VendorReturnParameters)
Parameters returned by vendor-specific commands.
Trait Implementations§
Source§impl Clone for ReturnParameters
impl Clone for ReturnParameters
Source§fn clone(&self) -> ReturnParameters
fn clone(&self) -> ReturnParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more