enum class | Opcode : uint16_t {
READ_VERSION = 0x0001
, READ_COMMANDS = 0x0002
, READ_INDEX_LIST = 0x0003
, READ_INFO = 0x0004
,
SET_POWERED = 0x0005
, SET_DISCOVERABLE = 0x0006
, SET_CONNECTABLE = 0x0007
, SET_FAST_CONNECTABLE = 0x0008
,
SET_BONDABLE = 0x0009
, SET_LINK_SECURITY = 0x000A
, SET_SSP = 0x000B
, SET_HS = 0x000C
,
SET_LE = 0x000D
, SET_DEV_CLASS = 0x000E
, SET_LOCAL_NAME = 0x000F
, ADD_UUID = 0x0010
,
REMOVE_UUID = 0x0011
, LOAD_LINK_KEYS = 0x0012
, LOAD_LONG_TERM_KEYS = 0x0013
, DISCONNECT = 0x0014
,
GET_CONNECTIONS = 0x0015
, PIN_CODE_REPLY = 0x0016
, PIN_CODE_NEG_REPLY = 0x0017
, SET_IO_CAPABILITY = 0x0018
,
PAIR_DEVICE = 0x0019
, CANCEL_PAIR_DEVICE = 0x001A
, UNPAIR_DEVICE = 0x001B
, USER_CONFIRM_REPLY = 0x001C
,
USER_CONFIRM_NEG_REPLY = 0x001D
, USER_PASSKEY_REPLY = 0x001E
, USER_PASSKEY_NEG_REPLY = 0x001F
, READ_LOCAL_OOB_DATA = 0x0020
,
ADD_REMOTE_OOB_DATA = 0x0021
, REMOVE_REMOTE_OOB_DATA = 0x0022
, START_DISCOVERY = 0x0023
, STOP_DISCOVERY = 0x0024
,
CONFIRM_NAME = 0x0025
, BLOCK_DEVICE = 0x0026
, UNBLOCK_DEVICE = 0x0027
, SET_DEVICE_ID = 0x0028
,
SET_ADVERTISING = 0x0029
, SET_BREDR = 0x002A
, SET_STATIC_ADDRESS = 0x002B
, SET_SCAN_PARAMS = 0x002C
,
SET_SECURE_CONN = 0x002D
, SET_DEBUG_KEYS = 0x002E
, SET_PRIVACY = 0x002F
, LOAD_IRKS = 0x0030
,
GET_CONN_INFO = 0x0031
, GET_CLOCK_INFO = 0x0032
, ADD_DEVICE_WHITELIST = 0x0033
, REMOVE_DEVICE_WHITELIST = 0x0034
,
LOAD_CONN_PARAM = 0x0035
, READ_UNCONF_INDEX_LIST = 0x0036
, READ_CONFIG_INFO = 0x0037
, SET_EXTERNAL_CONFIG = 0x0038
,
SET_PUBLIC_ADDRESS = 0x0039
, START_SERVICE_DISCOVERY = 0x003A
, READ_LOCAL_OOB_EXT_DATA = 0x003B
, READ_EXT_INDEX_LIST = 0x003C
,
READ_ADV_FEATURES = 0x003D
, ADD_ADVERTISING = 0x003E
, REMOVE_ADVERTISING = 0x003F
, GET_ADV_SIZE_INFO = 0x0040
,
START_LIMITED_DISCOVERY = 0x0041
, READ_EXT_INFO = 0x0042
, SET_APPEARANCE = 0x0043
, GET_PHY_CONFIGURATION = 0x0044
,
SET_PHY_CONFIGURATION = 0x0045
, SET_BLOCKED_KEYS = 0x0046
, SET_WIDEBAND_SPEECH = 0x0047
, READ_SECURITY_INFO = 0x0048
,
READ_EXP_FEATURES_INFO = 0x0049
, SET_EXP_FEATURE = 0x004a
, READ_DEF_SYSTEM_CONFIG = 0x004b
, SET_DEF_SYSTEM_CONFIG = 0x004c
,
READ_DEF_RUNTIME_CONFIG = 0x004d
, SET_DEF_RUNTIME_CONFIG = 0x004e
, GET_DEVICE_FLAGS = 0x004f
, SET_DEVICE_FLAGS = 0x0050
,
READ_ADV_MONITOR_FEATURES = 0x0051
, ADD_ADV_PATTERNS_MONITOR = 0x0052
, REMOVE_ADV_MONITOR = 0x0053
, LAST_OPC = REMOVE_ADV_MONITOR
} |