pub enum CommandCode {
Show 82 variants
ReadManagementVersionInformation = 1,
ReadManagementSupportedCommands = 2,
ReadControllerIndexList = 3,
ReadControllerInformation = 4,
SetPowered = 5,
SetDiscoverable = 6,
SetConnectable = 7,
SetFastConnectable = 8,
SetBondable = 9,
SetLinkSecurity = 10,
SetSecureSimplePairing = 11,
SetHighSpeed = 12,
SetLowEnergy = 13,
SetDeviceClass = 14,
SetLocalName = 15,
AddUuid = 16,
RemoveUuid = 17,
LoadLinkKeys = 18,
LoadLongTermKey = 19,
Disconnect = 20,
GetConnections = 21,
PinCodeReply = 22,
PinCodeNegativeReply = 23,
SetIoCapability = 24,
PairDevice = 25,
CancelPairDevice = 26,
UnpairDevice = 27,
UserConfirmationReply = 28,
UserConfirmationNegativeReply = 29,
UserPasskeyReply = 30,
UserPasskeyNegativeReply = 31,
ReadLocalOutOfBandData = 32,
AddRemoteOutOfBandData = 33,
RemoveRemoteOutOfBandData = 34,
StartDiscovery = 35,
StopDiscovery = 36,
ConfirmName = 37,
BlockDevice = 38,
UnblockDevice = 39,
SetDeviceId = 40,
SetAdvertising = 41,
SetBrEdr = 42,
SetStaticAddress = 43,
SetScanParameters = 44,
SetSecureConnections = 45,
SetDebugKeys = 46,
SetPrivacy = 47,
LoadIdentityResolvingKeys = 48,
GetConnectionInformation = 49,
GetClockInformation = 50,
AddDevice = 51,
RemoveDevice = 52,
LoadConnectionParameters = 53,
ReadUnconfiguredControllerIndexList = 54,
ReadControllerConfigurationInformation = 55,
SetExternalConfiguration = 56,
SetPublicAddress = 57,
StartServiceDiscovery = 58,
ReadLocalOutOfBandExtendedData = 59,
ReadExtendedControllerIndexList = 60,
ReadAdvertisingFeature = 61,
AddAdvertising = 62,
RemoveAdvertising = 63,
GetAdvertisingSizeInformation = 64,
StartLimitedDiscovery = 65,
ReadExtendedControllerInformation = 66,
SetApperance = 67,
SetPhyConfiguration = 69,
LoadBlockedKeys = 70,
SetWidbandSpeech = 71,
ReadSecurityInformation = 72,
ReadExperimentalFeaturesInformation = 73,
SetExperimentalFeature = 74,
ReadDefaultSystemConfiguration = 75,
SetDefaultSystemConfiguration = 76,
ReadDefaultRuntimeConfiguration = 77,
SetDefaultRuntimeConfiguration = 78,
GetDeviceFlag = 79,
SetDeviceFlag = 80,
ReadAdvertisementMonitorFeatures = 81,
AddAdvertisementPatternsMonitor = 82,
RemoveAdvertisementPatternsMonitor = 83,
}
Expand description
Command Code
Variants§
ReadManagementVersionInformation = 1
Read Management Version Information Command
ReadManagementSupportedCommands = 2
Read Management Supported Commands Command
ReadControllerIndexList = 3
Read Controller Index List Command
ReadControllerInformation = 4
Read Controller Information Command
SetPowered = 5
Set Powered Command
SetDiscoverable = 6
Set Discoverable Command
SetConnectable = 7
Set Connectable Command
SetFastConnectable = 8
Set Fast Connectable Command
SetBondable = 9
Set Bondable Command
SetLinkSecurity = 10
Set Link Security Command
SetSecureSimplePairing = 11
Set Secure Simple Pairing Command
SetHighSpeed = 12
Set High Speed Command
SetLowEnergy = 13
Set Low Energy Command
SetDeviceClass = 14
Set Device Class Command
SetLocalName = 15
Set Local Name Command
AddUuid = 16
Add UUID Command
RemoveUuid = 17
Remove UUID Command
LoadLinkKeys = 18
Load Link Keys Command
LoadLongTermKey = 19
Load Long Term Keys Command
Disconnect = 20
Disconnect Command
GetConnections = 21
Get Connections Command
PinCodeReply = 22
PIN Code Reply Command
PinCodeNegativeReply = 23
PIN Code Negative Reply Command
SetIoCapability = 24
Set IO Capability Command
PairDevice = 25
Read Management Version Information Command
CancelPairDevice = 26
Cancel Pair Device Command
UnpairDevice = 27
Unpair Device Command
UserConfirmationReply = 28
User Confirmation Reply Command
UserConfirmationNegativeReply = 29
User Confirmation Negative Reply Command
UserPasskeyReply = 30
User Passkey Reply Command
UserPasskeyNegativeReply = 31
User Passkey Negative Reply Command
ReadLocalOutOfBandData = 32
Read Local Out Of Band Data Command
AddRemoteOutOfBandData = 33
Add Remote Out Of Band Data Command
RemoveRemoteOutOfBandData = 34
Remove Remote Out Of Band Data Command
StartDiscovery = 35
Start Discovery Command
StopDiscovery = 36
Stop Discovery Command
ConfirmName = 37
Confirm Name Command
BlockDevice = 38
Block Device Command
UnblockDevice = 39
Unblock Device Command
SetDeviceId = 40
Set Device ID Command
SetAdvertising = 41
Set Advertising Command
SetBrEdr = 42
Set BR/EDR Command
SetStaticAddress = 43
Read Management Version Information Command
SetScanParameters = 44
Set Scan Parameters Command
SetSecureConnections = 45
Set Secure Connections Command
SetDebugKeys = 46
Set Debug Keys Command
SetPrivacy = 47
Set Privacy Command
LoadIdentityResolvingKeys = 48
Load Identity Resolving Keys Command
GetConnectionInformation = 49
Get Connection Information Command
GetClockInformation = 50
Get Clock Information Command
AddDevice = 51
Add Device Command
RemoveDevice = 52
Remove Device Command
LoadConnectionParameters = 53
Load Connection Parameters Command
ReadUnconfiguredControllerIndexList = 54
Read Unconfigured Controller Index List Command
ReadControllerConfigurationInformation = 55
Read Controller Configuration Information Command
SetExternalConfiguration = 56
Set External Configuration Command
SetPublicAddress = 57
Set Public Address Command
StartServiceDiscovery = 58
Start Service Discovery Command
ReadLocalOutOfBandExtendedData = 59
Read Local Out Of Band Extended Data Command
ReadExtendedControllerIndexList = 60
Read Management Version Information Command
ReadAdvertisingFeature = 61
Read Advertising Features Command
AddAdvertising = 62
Add Advertising Command
RemoveAdvertising = 63
Remove Advertising Command
GetAdvertisingSizeInformation = 64
Get Advertising Size Information Command
StartLimitedDiscovery = 65
Start Limited Discovery Command
ReadExtendedControllerInformation = 66
Read Extended Controller Information Command
SetApperance = 67
Set Appearance Command
SetPhyConfiguration = 69
Set PHY Configuration Command
LoadBlockedKeys = 70
Load Blocked Keys Command
SetWidbandSpeech = 71
Set Wideband Speech Command
ReadSecurityInformation = 72
Read Security Information Command
ReadExperimentalFeaturesInformation = 73
Read Experimental Features Information Command
SetExperimentalFeature = 74
Set Experimental Feature Command
ReadDefaultSystemConfiguration = 75
Read Default System Configuration Command
SetDefaultSystemConfiguration = 76
Set Default System Configuration Command
ReadDefaultRuntimeConfiguration = 77
Read Default Runtime Configuration Command
SetDefaultRuntimeConfiguration = 78
Read Management Version Information Command
GetDeviceFlag = 79
Get Device Flags Command
SetDeviceFlag = 80
Set Device Flags Command
ReadAdvertisementMonitorFeatures = 81
Read Advertisement Monitor Features Command
AddAdvertisementPatternsMonitor = 82
Add Advertisement Patterns Monitor Command
RemoveAdvertisementPatternsMonitor = 83
Remove Advertisement Monitor Command
Trait Implementations§
Source§impl Clone for CommandCode
impl Clone for CommandCode
Source§fn clone(&self) -> CommandCode
fn clone(&self) -> CommandCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more