1 /* 2 * Copyright 2018 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #pragma once 18 #include <cstdint> 19 20 namespace test_vendor_lib { 21 namespace hci { 22 23 using CommandGroups = enum { 24 LINK_CONTROL = 0x01 << 10, /* 0x0400 */ 25 LINK_POLICY = 0x02 << 10, /* 0x0800 */ 26 CONTROLLER_AND_BASEBAND = 0x03 << 10, /* 0x0C00 */ 27 INFORMATIONAL_PARAMETERS = 0x04 << 10, /* 0x1000 */ 28 STATUS_PARAMETERS = 0x05 << 10, /* 0x1400 */ 29 TESTING = 0x06 << 10, /* 0x1800 */ 30 LE_CONTROLLER = 0x08 << 10, /* 0x2000 */ 31 VENDOR_SPECIFIC = 0x3F << 10, /* 0xFC00 */ 32 }; 33 34 enum class OpCode : uint16_t { 35 NONE = 0x0000, 36 37 /* LINK_CONTROL */ 38 INQUIRY = LINK_CONTROL | 0x0001, 39 INQUIRY_CANCEL = LINK_CONTROL | 0x0002, 40 PERIODIC_INQUIRY_MODE = LINK_CONTROL | 0x0003, 41 EXIT_PERIODIC_INQUIRY_MODE = LINK_CONTROL | 0x0004, 42 CREATE_CONNECTION = LINK_CONTROL | 0x0005, 43 DISCONNECT = LINK_CONTROL | 0x0006, 44 CREATE_CONNECTION_CANCEL = LINK_CONTROL | 0x0008, 45 ACCEPT_CONNECTION_REQUEST = LINK_CONTROL | 0x0009, 46 REJECT_CONNECTION_REQUEST = LINK_CONTROL | 0x000A, 47 LINK_KEY_REQUEST_REPLY = LINK_CONTROL | 0x000B, 48 LINK_KEY_REQUEST_NEGATIVE_REPLY = LINK_CONTROL | 0x000C, 49 PIN_CODE_REQUEST_REPLY = LINK_CONTROL | 0x000D, 50 PIN_CODE_REQUEST_NEGATIVE_REPLY = LINK_CONTROL | 0x000E, 51 CHANGE_CONNECTION_PACKET_TYPE = LINK_CONTROL | 0x000F, 52 AUTHENTICATION_REQUESTED = LINK_CONTROL | 0x0011, 53 SET_CONNECTION_ENCRYPTION = LINK_CONTROL | 0x0013, 54 CHANGE_CONNECTION_LINK_KEY = LINK_CONTROL | 0x0015, 55 MASTER_LINK_KEY = LINK_CONTROL | 0x0017, 56 REMOTE_NAME_REQUEST = LINK_CONTROL | 0x0019, 57 REMOTE_NAME_REQUEST_CANCEL = LINK_CONTROL | 0x001A, 58 READ_REMOTE_SUPPORTED_FEATURES = LINK_CONTROL | 0x001B, 59 READ_REMOTE_EXTENDED_FEATURES = LINK_CONTROL | 0x001C, 60 READ_REMOTE_VERSION_INFORMATION = LINK_CONTROL | 0x001D, 61 READ_CLOCK_OFFSET = LINK_CONTROL | 0x001F, 62 READ_LMP_HANDLE = LINK_CONTROL | 0x0020, 63 SETUP_SYNCHRONOUS_CONNECTION = LINK_CONTROL | 0x0028, 64 ACCEPT_SYNCHRONOUS_CONNECTION = LINK_CONTROL | 0x0029, 65 REJECT_SYNCHRONOUS_CONNECTION = LINK_CONTROL | 0x002A, 66 IO_CAPABILITY_REQUEST_REPLY = LINK_CONTROL | 0x002B, 67 USER_CONFIRMATION_REQUEST_REPLY = LINK_CONTROL | 0x002C, 68 USER_CONFIRMATION_REQUEST_NEGATIVE_REPLY = LINK_CONTROL | 0x002D, 69 USER_PASSKEY_REQUEST_REPLY = LINK_CONTROL | 0x002E, 70 USER_PASSKEY_REQUEST_NEGATIVE_REPLY = LINK_CONTROL | 0x002F, 71 REMOTE_OOB_DATA_REQUEST_REPLY = LINK_CONTROL | 0x0030, 72 REMOTE_OOB_DATA_REQUEST_NEGATIVE_REPLY = LINK_CONTROL | 0x0033, 73 IO_CAPABILITY_REQUEST_NEGATIVE_REPLY = LINK_CONTROL | 0x0034, 74 ENHANCED_SETUP_SYNCHRONOUS_CONNECTION = LINK_CONTROL | 0x003D, 75 ENHANCED_ACCEPT_SYNCHRONOUS_CONNECTION = LINK_CONTROL | 0x003E, 76 77 /* LINK_POLICY */ 78 HOLD_MODE = LINK_POLICY | 0x0001, 79 SNIFF_MODE = LINK_POLICY | 0x0003, 80 EXIT_SNIFF_MODE = LINK_POLICY | 0x0004, 81 QOS_SETUP = LINK_POLICY | 0x0007, 82 ROLE_DISCOVERY = LINK_POLICY | 0x0009, 83 SWITCH_ROLE = LINK_POLICY | 0x000B, 84 READ_LINK_POLICY_SETTINGS = LINK_POLICY | 0x000C, 85 WRITE_LINK_POLICY_SETTINGS = LINK_POLICY | 0x000D, 86 READ_DEFAULT_LINK_POLICY_SETTINGS = LINK_POLICY | 0x000E, 87 WRITE_DEFAULT_LINK_POLICY_SETTINGS = LINK_POLICY | 0x000F, 88 FLOW_SPECIFICATION = LINK_POLICY | 0x0010, 89 SNIFF_SUBRATING = LINK_POLICY | 0x0011, 90 91 /* CONTROLLER_AND_BASEBAND */ 92 SET_EVENT_MASK = CONTROLLER_AND_BASEBAND | 0x0001, 93 RESET = CONTROLLER_AND_BASEBAND | 0x0003, 94 SET_EVENT_FILTER = CONTROLLER_AND_BASEBAND | 0x0005, 95 FLUSH = CONTROLLER_AND_BASEBAND | 0x0008, 96 READ_PIN_TYPE = CONTROLLER_AND_BASEBAND | 0x0009, 97 WRITE_PIN_TYPE = CONTROLLER_AND_BASEBAND | 0x000A, 98 CREATE_NEW_UNIT_KEY = CONTROLLER_AND_BASEBAND | 0x000B, 99 READ_STORED_LINK_KEY = CONTROLLER_AND_BASEBAND | 0x000D, 100 WRITE_STORED_LINK_KEY = CONTROLLER_AND_BASEBAND | 0x0011, 101 DELETE_STORED_LINK_KEY = CONTROLLER_AND_BASEBAND | 0x0012, 102 WRITE_LOCAL_NAME = CONTROLLER_AND_BASEBAND | 0x0013, 103 READ_LOCAL_NAME = CONTROLLER_AND_BASEBAND | 0x0014, 104 READ_CONNECTION_ACCEPT_TIMEOUT = CONTROLLER_AND_BASEBAND | 0x0015, 105 WRITE_CONNECTION_ACCEPT_TIMEOUT = CONTROLLER_AND_BASEBAND | 0x0016, 106 READ_PAGE_TIMEOUT = CONTROLLER_AND_BASEBAND | 0x0017, 107 WRITE_PAGE_TIMEOUT = CONTROLLER_AND_BASEBAND | 0x0018, 108 READ_SCAN_ENABLE = CONTROLLER_AND_BASEBAND | 0x0019, 109 WRITE_SCAN_ENABLE = CONTROLLER_AND_BASEBAND | 0x001A, 110 READ_PAGE_SCAN_ACTIVITY = CONTROLLER_AND_BASEBAND | 0x001B, 111 WRITE_PAGE_SCAN_ACTIVITY = CONTROLLER_AND_BASEBAND | 0x001C, 112 READ_INQUIRY_SCAN_ACTIVITY = CONTROLLER_AND_BASEBAND | 0x001D, 113 WRITE_INQUIRY_SCAN_ACTIVITY = CONTROLLER_AND_BASEBAND | 0x001E, 114 READ_AUTHENTICATION_ENABLE = CONTROLLER_AND_BASEBAND | 0x001F, 115 WRITE_AUTHENTICATION_ENABLE = CONTROLLER_AND_BASEBAND | 0x0020, 116 READ_CLASS_OF_DEVICE = CONTROLLER_AND_BASEBAND | 0x0023, 117 WRITE_CLASS_OF_DEVICE = CONTROLLER_AND_BASEBAND | 0x0024, 118 READ_VOICE_SETTING = CONTROLLER_AND_BASEBAND | 0x0025, 119 WRITE_VOICE_SETTING = CONTROLLER_AND_BASEBAND | 0x0026, 120 READ_AUTOMATIC_FLUSH_TIMEOUT = CONTROLLER_AND_BASEBAND | 0x0027, 121 WRITE_AUTOMATIC_FLUSH_TIMEOUT = CONTROLLER_AND_BASEBAND | 0x0028, 122 READ_NUM_BROADCAST_RETRANSMITS = CONTROLLER_AND_BASEBAND | 0x0029, 123 WRITE_NUM_BROADCAST_RETRANSMITS = CONTROLLER_AND_BASEBAND | 0x002A, 124 READ_HOLD_MODE_ACTIVITY = CONTROLLER_AND_BASEBAND | 0x002B, 125 WRITE_HOLD_MODE_ACTIVITY = CONTROLLER_AND_BASEBAND | 0x002C, 126 READ_TRANSMIT_POWER_LEVEL = CONTROLLER_AND_BASEBAND | 0x002D, 127 READ_SYNCHRONOUS_FLOW_CONTROL_ENABLE = CONTROLLER_AND_BASEBAND | 0x002E, 128 WRITE_SYNCHRONOUS_FLOW_CONTROL_ENABLE = CONTROLLER_AND_BASEBAND | 0x002F, 129 SET_CONTROLLER_TO_HOST_FLOW_CONTROL = CONTROLLER_AND_BASEBAND | 0x0031, 130 HOST_BUFFER_SIZE = CONTROLLER_AND_BASEBAND | 0x0033, 131 HOST_NUM_COMPLETED_PACKETS = CONTROLLER_AND_BASEBAND | 0x0035, 132 READ_LINK_SUPERVISION_TIMEOUT = CONTROLLER_AND_BASEBAND | 0x0036, 133 WRITE_LINK_SUPERVISION_TIMEOUT = CONTROLLER_AND_BASEBAND | 0x0037, 134 READ_NUMBER_OF_SUPPORTED_IAC = CONTROLLER_AND_BASEBAND | 0x0038, 135 READ_CURRENT_IAC_LAP = CONTROLLER_AND_BASEBAND | 0x0039, 136 WRITE_CURRENT_IAC_LAP = CONTROLLER_AND_BASEBAND | 0x003A, 137 SET_AFH_HOST_CHANNEL_CLASSIFICATION = CONTROLLER_AND_BASEBAND | 0x003F, 138 READ_LE_HOST_SUPPORT = CONTROLLER_AND_BASEBAND | 0x6C, 139 WRITE_LE_HOST_SUPPORT = CONTROLLER_AND_BASEBAND | 0x6D, 140 READ_INQUIRY_SCAN_TYPE = CONTROLLER_AND_BASEBAND | 0x0042, 141 WRITE_INQUIRY_SCAN_TYPE = CONTROLLER_AND_BASEBAND | 0x0043, 142 READ_INQUIRY_MODE = CONTROLLER_AND_BASEBAND | 0x0044, 143 WRITE_INQUIRY_MODE = CONTROLLER_AND_BASEBAND | 0x0045, 144 READ_PAGE_SCAN_TYPE = CONTROLLER_AND_BASEBAND | 0x0046, 145 WRITE_PAGE_SCAN_TYPE = CONTROLLER_AND_BASEBAND | 0x0047, 146 READ_AFH_CHANNEL_ASSESSMENT_MODE = CONTROLLER_AND_BASEBAND | 0x0048, 147 WRITE_AFH_CHANNEL_ASSESSMENT_MODE = CONTROLLER_AND_BASEBAND | 0x0049, 148 READ_EXTENDED_INQUIRY_RESPONSE = CONTROLLER_AND_BASEBAND | 0x0051, 149 WRITE_EXTENDED_INQUIRY_RESPONSE = CONTROLLER_AND_BASEBAND | 0x0052, 150 REFRESH_ENCRYPTION_KEY = CONTROLLER_AND_BASEBAND | 0x0053, 151 READ_SIMPLE_PAIRING_MODE = CONTROLLER_AND_BASEBAND | 0x0055, 152 WRITE_SIMPLE_PAIRING_MODE = CONTROLLER_AND_BASEBAND | 0x0056, 153 READ_LOCAL_OOB_DATA = CONTROLLER_AND_BASEBAND | 0x0057, 154 READ_INQUIRY_RESPONSE_TRANSMIT_POWER_LEVEL = CONTROLLER_AND_BASEBAND | 0x0058, 155 WRITE_INQUIRY_TRANSMIT_POWER_LEVEL = CONTROLLER_AND_BASEBAND | 0x0059, 156 SEND_KEYPRESS_NOTIFICATION = CONTROLLER_AND_BASEBAND | 0x0060, 157 158 READ_SECURE_CONNECTIONS_HOST_SUPPORT = CONTROLLER_AND_BASEBAND | 0x0079, 159 WRITE_SECURE_CONNECTIONS_HOST_SUPPORT = CONTROLLER_AND_BASEBAND | 0x007A, 160 161 /* INFORMATIONAL_PARAMETERS */ 162 READ_LOCAL_VERSION_INFORMATION = INFORMATIONAL_PARAMETERS | 0x0001, 163 READ_LOCAL_SUPPORTED_COMMANDS = INFORMATIONAL_PARAMETERS | 0x0002, 164 READ_LOCAL_SUPPORTED_FEATURES = INFORMATIONAL_PARAMETERS | 0x0003, 165 READ_LOCAL_EXTENDED_FEATURES = INFORMATIONAL_PARAMETERS | 0x0004, 166 READ_BUFFER_SIZE = INFORMATIONAL_PARAMETERS | 0x0005, 167 READ_BD_ADDR = INFORMATIONAL_PARAMETERS | 0x0009, 168 READ_DATA_BLOCK_SIZE = INFORMATIONAL_PARAMETERS | 0x000A, 169 READ_LOCAL_SUPPORTED_CODECS = INFORMATIONAL_PARAMETERS | 0x000B, 170 171 /* STATUS_PARAMETERS */ 172 READ_FAILED_CONTACT_COUNTER = STATUS_PARAMETERS | 0x0001, 173 RESET_FAILED_CONTACT_COUNTER = STATUS_PARAMETERS | 0x0002, 174 READ_LINK_QUALITY = STATUS_PARAMETERS | 0x0003, 175 READ_RSSI = STATUS_PARAMETERS | 0x0005, 176 READ_AFH_CHANNEL_MAP = STATUS_PARAMETERS | 0x0006, 177 READ_CLOCK = STATUS_PARAMETERS | 0x0007, 178 READ_ENCRYPTION_KEY_SIZE = STATUS_PARAMETERS | 0x0008, 179 180 /* TESTING */ 181 READ_LOOPBACK_MODE = TESTING | 0x0001, 182 WRITE_LOOPBACK_MODE = TESTING | 0x0002, 183 ENABLE_DEVICE_UNDER_TEST_MODE = TESTING | 0x0003, 184 WRITE_SIMPLE_PAIRING_DEBUG_MODE = TESTING | 0x0004, 185 WRITE_SECURE_CONNECTIONS_TEST_MODE = TESTING | 0x000A, 186 187 /* LE_CONTROLLER */ 188 LE_SET_EVENT_MASK = LE_CONTROLLER | 0x0001, 189 LE_READ_BUFFER_SIZE = LE_CONTROLLER | 0x0002, 190 LE_READ_LOCAL_SUPPORTED_FEATURES = LE_CONTROLLER | 0x0003, 191 LE_WRITE_LOCAL_SUPPORTED_FEATURES = LE_CONTROLLER | 0x0004, 192 LE_SET_RANDOM_ADDRESS = LE_CONTROLLER | 0x0005, 193 LE_SET_ADVERTISING_PARAMETERS = LE_CONTROLLER | 0x0006, 194 LE_READ_ADVERTISING_CHANNEL_TX_POWER = LE_CONTROLLER | 0x0007, 195 LE_SET_ADVERTISING_DATA = LE_CONTROLLER | 0x0008, 196 LE_SET_SCAN_RSPONSE_DATA = LE_CONTROLLER | 0x0009, 197 LE_SET_ADVERTISING_ENABLE = LE_CONTROLLER | 0x000A, 198 LE_SET_SCAN_PARAMETERS = LE_CONTROLLER | 0x000B, 199 LE_SET_SCAN_ENABLE = LE_CONTROLLER | 0x000C, 200 LE_CREATE_CONNECTION = LE_CONTROLLER | 0x000D, 201 LE_CREATE_CONNECTION_CANCEL = LE_CONTROLLER | 0x000E, 202 LE_READ_WHITE_LIST_SIZE = LE_CONTROLLER | 0x000F, 203 LE_CLEAR_WHITE_LIST = LE_CONTROLLER | 0x0010, 204 LE_ADD_DEVICE_TO_WHITE_LIST = LE_CONTROLLER | 0x0011, 205 LE_REMOVE_DEVICE_FROM_WHITE_LIST = LE_CONTROLLER | 0x0012, 206 LE_CONNECTION_UPDATE = LE_CONTROLLER | 0x0013, 207 LE_SET_HOST_CHANNEL_CLASSIFICATION = LE_CONTROLLER | 0x0014, 208 LE_READ_CHANNEL_MAP = LE_CONTROLLER | 0x0015, 209 LE_READ_REMOTE_FEATURES = LE_CONTROLLER | 0x0016, 210 LE_ENCRYPT = LE_CONTROLLER | 0x0017, 211 LE_RAND = LE_CONTROLLER | 0x0018, 212 LE_START_ENCRYPTION = LE_CONTROLLER | 0x0019, 213 LE_LONG_TERM_KEY_REQUEST_REPLY = LE_CONTROLLER | 0x001A, 214 LE_LONG_TERM_KEY_REQUEST_NEGATIVE_REPLY = LE_CONTROLLER | 0x001B, 215 LE_READ_SUPPORTED_STATES = LE_CONTROLLER | 0x001C, 216 LE_RECEIVER_TEST = LE_CONTROLLER | 0x001D, 217 LE_TRANSMITTER_TEST = LE_CONTROLLER | 0x001E, 218 LE_TEST_END = LE_CONTROLLER | 0x001F, 219 LE_REMOTE_CONNECTION_PARAMETER_REQUEST_REPLY = LE_CONTROLLER | 0x0020, 220 LE_REMOTE_CONNECTION_PARAMETER_REQUEST_NEGATIVE_REPLY = LE_CONTROLLER | 0x0021, 221 222 LE_SET_DATA_LENGTH = LE_CONTROLLER | 0x0022, 223 LE_READ_SUGGESTED_DEFAULT_DATA_LENGTH = LE_CONTROLLER | 0x0023, 224 LE_WRITE_SUGGESTED_DEFAULT_DATA_LENGTH = LE_CONTROLLER | 0x0024, 225 LE_READ_LOCAL_P_256_PUBLIC_KEY_COMMAND = LE_CONTROLLER | 0x0025, 226 LE_GENERATE_DHKEY_COMMAND = LE_CONTROLLER | 0x0026, 227 LE_ADD_DEVICE_TO_RESOLVING_LIST = LE_CONTROLLER | 0x0027, 228 LE_REMOVE_DEVICE_FROM_RESOLVING_LIST = LE_CONTROLLER | 0x0028, 229 LE_CLEAR_RESOLVING_LIST = LE_CONTROLLER | 0x0029, 230 LE_READ_RESOLVING_LIST_SIZE = LE_CONTROLLER | 0x002A, 231 LE_READ_PEER_RESOLVABLE_ADDRESS = LE_CONTROLLER | 0x002B, 232 LE_READ_LOCAL_RESOLVABLE_ADDRESS = LE_CONTROLLER | 0x002C, 233 LE_SET_ADDRESS_RESOLUTION_ENABLE = LE_CONTROLLER | 0x002D, 234 LE_SET_RESOLVABLE_PRIVATE_ADDRESS_TIMEOUT = LE_CONTROLLER | 0x002E, 235 LE_READ_MAXIMUM_DATA_LENGTH = LE_CONTROLLER | 0x002F, 236 LE_READ_PHY = LE_CONTROLLER | 0x0030, 237 LE_SET_DEFAULT_PHY = LE_CONTROLLER | 0x0031, 238 LE_SET_PHY = LE_CONTROLLER | 0x0032, 239 LE_ENHANCED_RECEIVER_TEST = LE_CONTROLLER | 0x0033, 240 LE_ENHANCED_TRANSMITTER_TEST = LE_CONTROLLER | 0x0034, 241 LE_SET_EXTENDED_ADVERTISING_RANDOM_ADDRESS = LE_CONTROLLER | 0x35, 242 LE_SET_EXTENDED_ADVERTISING_PARAMETERS = LE_CONTROLLER | 0x36, 243 LE_SET_EXTENDED_ADVERTISING_DATA = LE_CONTROLLER | 0x37, 244 LE_SET_EXTENDED_ADVERTISING_SCAN_RESPONSE = LE_CONTROLLER | 0x38, 245 LE_SET_EXTENDED_ADVERTISING_ENABLE = LE_CONTROLLER | 0x39, 246 LE_READ_MAXIMUM_ADVERTISING_DATA_LENGTH = LE_CONTROLLER | 0x003A, 247 LE_READ_NUMBER_OF_SUPPORTED_ADVERTISING_SETS = LE_CONTROLLER | 0x003B, 248 LE_REMOVE_ADVERTISING_SET = LE_CONTROLLER | 0x003C, 249 LE_CLEAR_ADVERTISING_SETS = LE_CONTROLLER | 0x003D, 250 LE_SET_PERIODIC_ADVERTISING_PARAM = LE_CONTROLLER | 0x003E, 251 LE_SET_PERIODIC_ADVERTISING_DATA = LE_CONTROLLER | 0x003F, 252 LE_SET_PERIODIC_ADVERTISING_ENABLE = LE_CONTROLLER | 0x0040, 253 LE_SET_EXTENDED_SCAN_PARAMETERS = LE_CONTROLLER | 0x0041, 254 LE_SET_EXTENDED_SCAN_ENABLE = LE_CONTROLLER | 0x0042, 255 LE_EXTENDED_CREATE_CONNECTION = LE_CONTROLLER | 0x0043, 256 LE_PERIODIC_ADVERTISING_CREATE_SYNC = LE_CONTROLLER | 0x0044, 257 LE_PERIODIC_ADVERTISING_CREATE_SYNC_CANCEL = LE_CONTROLLER | 0x0045, 258 LE_PERIODIC_ADVERTISING_TERMINATE_SYNC = LE_CONTROLLER | 0x0046, 259 LE_ADD_DEVICE_TO_PERIODIC_ADVERTISING_LIST = LE_CONTROLLER | 0x0047, 260 LE_REMOVE_DEVICE_FROM_PERIODIC_ADVERTISING_LIST = LE_CONTROLLER | 0x0048, 261 LE_CLEAR_PERIODIC_ADVERTISING_LIST = LE_CONTROLLER | 0x0049, 262 LE_READ_PERIODIC_ADVERTISING_LIST_SIZE = LE_CONTROLLER | 0x004A, 263 LE_READ_TRANSMIT_POWER = LE_CONTROLLER | 0x004B, 264 LE_READ_RF_PATH_COMPENSATION_POWER = LE_CONTROLLER | 0x004C, 265 LE_WRITE_RF_PATH_COMPENSATION_POWER = LE_CONTROLLER | 0x004D, 266 LE_SET_PRIVACY_MODE = LE_CONTROLLER | 0x004E, 267 268 /* VENDOR_SPECIFIC */ 269 LE_GET_VENDOR_CAPABILITIES = VENDOR_SPECIFIC | 0x0153, 270 LE_MULTI_ADVT = VENDOR_SPECIFIC | 0x0154, 271 LE_BATCH_SCAN = VENDOR_SPECIFIC | 0x0156, 272 LE_ADV_FILTER = VENDOR_SPECIFIC | 0x0157, 273 LE_TRACK_ADV = VENDOR_SPECIFIC | 0x0158, 274 LE_ENERGY_INFO = VENDOR_SPECIFIC | 0x0159, 275 LE_EXTENDED_SCAN_PARAMS = VENDOR_SPECIFIC | 0x015A, 276 CONTROLLER_DEBUG_INFO = VENDOR_SPECIFIC | 0x015B, 277 CONTROLLER_A2DP_OPCODE = VENDOR_SPECIFIC | 0x015D, 278 }; 279 280 } // namespace hci 281 } // namespace test_vendor_lib 282