Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
hci_event_names.hpp
Go to the documentation of this file.
1#pragma once
2
3namespace cs::midi_ble_btstack {
4
5constexpr const char *hci_event_names[256] {
6 "NOP",
7 "INQUIRY_COMPLETE",
8 "INQUIRY_RESULT",
9 "CONNECTION_COMPLETE",
10 "CONNECTION_REQUEST",
11 "DISCONNECTION_COMPLETE",
12 "AUTHENTICATION_COMPLETE",
13 "REMOTE_NAME_REQUEST_COMPLETE",
14 "ENCRYPTION_CHANGE",
15 "CHANGE_CONNECTION_LINK_KEY_COMPLETE",
16 "MASTER_LINK_KEY_COMPLETE",
17 "READ_REMOTE_SUPPORTED_FEATURES_COMPLETE",
18 "READ_REMOTE_VERSION_INFORMATION_COMPLETE",
19 "QOS_SETUP_COMPLETE",
20 "COMMAND_COMPLETE",
21 "COMMAND_STATUS",
22 "HARDWARE_ERROR",
23 "FLUSH_OCCURRED",
24 "ROLE_CHANGE",
25 "NUMBER_OF_COMPLETED_PACKETS",
26 "MODE_CHANGE",
27 "RETURN_LINK_KEYS",
28 "PIN_CODE_REQUEST",
29 "LINK_KEY_REQUEST",
30 "LINK_KEY_NOTIFICATION",
31 "LOOPBACK_COMMAND",
32 "DATA_BUFFER_OVERFLOW",
33 "MAX_SLOTS_CHANGED",
34 "READ_CLOCK_OFFSET_COMPLETE",
35 "CONNECTION_PACKET_TYPE_CHANGED",
36 "QOS_VIOLATION",
37 "(unknown)",
38 "PAGE_SCAN_REPETITION_MODE_CHANGE",
39 "FLOW_SPECIFICATION_COMPLETE",
40 "INQUIRY_RESULT_WITH_RSSI",
41 "READ_REMOTE_EXTENDED_FEATURES_COMPLETE",
42 "(unknown)",
43 "(unknown)",
44 "(unknown)",
45 "(unknown)",
46 "(unknown)",
47 "(unknown)",
48 "(unknown)",
49 "(unknown)",
50 "SYNCHRONOUS_CONNECTION_COMPLETE",
51 "SYNCHRONOUS_CONNECTION_CHANGED",
52 "SNIFF_SUBRATING",
53 "EXTENDED_INQUIRY_RESPONSE",
54 "ENCRYPTION_KEY_REFRESH_COMPLETE",
55 "IO_CAPABILITY_REQUEST",
56 "IO_CAPABILITY_RESPONSE",
57 "USER_CONFIRMATION_REQUEST",
58 "USER_PASSKEY_REQUEST",
59 "REMOTE_OOB_DATA_REQUEST",
60 "SIMPLE_PAIRING_COMPLETE",
61 "(unknown)",
62 "LINK_SUPERVISION_TIMEOUT_CHANGED",
63 "ENHANCED_FLUSH_COMPLETE",
64 "(unknown)",
65 "USER_PASSKEY_NOTIFICATION",
66 "KEYPRESS_NOTIFICATION",
67 "REMOTE_HOST_SUPPORTED_FEATURES",
68 "LE_META",
69 "(unknown)",
70 "(unknown)",
71 "(unknown)",
72 "(unknown)",
73 "(unknown)",
74 "(unknown)",
75 "(unknown)",
76 "(unknown)",
77 "(unknown)",
78 "NUMBER_OF_COMPLETED_DATA_BLOCKS",
79 "(unknown)",
80 "(unknown)",
81 "(unknown)",
82 "(unknown)",
83 "(unknown)",
84 "(unknown)",
85 "(unknown)",
86 "(unknown)",
87 "(unknown)",
88 "(unknown)",
89 "(unknown)",
90 "(unknown)",
91 "(unknown)",
92 "(unknown)",
93 "(unknown)",
94 "(unknown)",
95 "ENCRYPTION_CHANGE_V2",
96 "(unknown)",
97 "(unknown)",
98 "(unknown)",
99 "(unknown)",
100 "(unknown)",
101 "(unknown)",
102 "(unknown)",
103 "(unknown)",
104 "(unknown)",
105 "(unknown)",
106 "(unknown)",
107 "(unknown)",
108 "(unknown)",
109 "(unknown)",
110 "(unknown)",
111 "TRANSPORT_SLEEP_MODE",
112 "TRANSPORT_USB_INFO",
113 "BIS_CAN_SEND_NOW",
114 "CIS_CAN_SEND_NOW",
115 "TRANSPORT_READY",
116 "TRANSPORT_PACKET_SENT",
117 "SCO_CAN_SEND_NOW",
118 "(unknown)",
119 "(unknown)",
120 "(unknown)",
121 "(unknown)",
122 "(unknown)",
123 "(unknown)",
124 "(unknown)",
125 "(unknown)",
126 "(unknown)",
127 "(unknown)",
128 "(unknown)",
129 "(unknown)",
130 "(unknown)",
131 "(unknown)",
132 "(unknown)",
133 "(unknown)",
134 "(unknown)",
135 "(unknown)",
136 "(unknown)",
137 "(unknown)",
138 "(unknown)",
139 "(unknown)",
140 "(unknown)",
141 "(unknown)",
142 "(unknown)",
143 "(unknown)",
144 "(unknown)",
145 "(unknown)",
146 "(unknown)",
147 "(unknown)",
148 "(unknown)",
149 "(unknown)",
150 "(unknown)",
151 "(unknown)",
152 "(unknown)",
153 "(unknown)",
154 "(unknown)",
155 "(unknown)",
156 "(unknown)",
157 "(unknown)",
158 "(unknown)",
159 "(unknown)",
160 "(unknown)",
161 "(unknown)",
162 "(unknown)",
163 "(unknown)",
164 "(unknown)",
165 "(unknown)",
166 "GATT_EVENT_QUERY_COMPLETE",
167 "GATT_EVENT_SERVICE_QUERY_RESULT",
168 "GATT_EVENT_CHARACTERISTIC_QUERY_RESULT",
169 "GATT_EVENT_INCLUDED_SERVICE_QUERY_RESULT",
170 "GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT",
171 "GATT_EVENT_CHARACTERISTIC_VALUE_QUERY_RESULT",
172 "GATT_EVENT_LONG_CHARACTERISTIC_VALUE_QUERY_RESULT",
173 "GATT_EVENT_NOTIFICATION",
174 "GATT_EVENT_INDICATION",
175 "GATT_EVENT_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT",
176 "GATT_EVENT_LONG_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT",
177 "GATT_EVENT_MTU",
178 "GATT_EVENT_CAN_WRITE_WITHOUT_RESPONSE",
179 "GATT_EVENT_CONNECTED",
180 "GATT_EVENT_DISCONNECTED",
181 "(unknown)",
182 "(unknown)",
183 "(unknown)",
184 "(unknown)",
185 "ATT_EVENT_CONNECTED",
186 "ATT_EVENT_DISCONNECTED",
187 "ATT_EVENT_MTU_EXCHANGE_COMPLETE",
188 "ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE",
189 "ATT_EVENT_CAN_SEND_NOW",
190 "(unknown)",
191 "(unknown)",
192 "(unknown)",
193 "(unknown)",
194 "(unknown)",
195 "(unknown)",
196 "(unknown)",
197 "(unknown)",
198 "BNEP_EVENT_SERVICE_REGISTERED",
199 "BNEP_EVENT_CHANNEL_OPENED",
200 "BNEP_EVENT_CHANNEL_CLOSED",
201 "BNEP_EVENT_CHANNEL_TIMEOUT",
202 "BNEP_EVENT_CAN_SEND_NOW",
203 "(unknown)",
204 "(unknown)",
205 "(unknown)",
206 "SM_EVENT_JUST_WORKS_REQUEST",
207 "SM_EVENT_PASSKEY_DISPLAY_NUMBER",
208 "SM_EVENT_PASSKEY_DISPLAY_CANCEL",
209 "SM_EVENT_PASSKEY_INPUT_NUMBER",
210 "SM_EVENT_NUMERIC_COMPARISON_REQUEST",
211 "SM_EVENT_IDENTITY_RESOLVING_STARTED",
212 "SM_EVENT_IDENTITY_RESOLVING_FAILED",
213 "SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED",
214 "SM_EVENT_AUTHORIZATION_REQUEST",
215 "SM_EVENT_AUTHORIZATION_RESULT",
216 "SM_EVENT_KEYPRESS_NOTIFICATION",
217 "SM_EVENT_IDENTITY_CREATED",
218 "SM_EVENT_PAIRING_STARTED",
219 "SM_EVENT_PAIRING_COMPLETE",
220 "SM_EVENT_REENCRYPTION_STARTED",
221 "SM_EVENT_REENCRYPTION_COMPLETE",
222 "GAP_EVENT_SECURITY_LEVEL",
223 "GAP_EVENT_DEDICATED_BONDING_COMPLETED",
224 "GAP_EVENT_ADVERTISING_REPORT",
225 "GAP_EVENT_EXTENDED_ADVERTISING_REPORT",
226 "GAP_EVENT_INQUIRY_RESULT",
227 "GAP_EVENT_INQUIRY_COMPLETE",
228 "GAP_EVENT_RSSI_MEASUREMENT",
229 "GAP_EVENT_LOCAL_OOB_DATA",
230 "GAP_EVENT_PAIRING_STARTED",
231 "GAP_EVENT_PAIRING_COMPLETE",
232 "(unknown)",
233 "(unknown)",
234 "(unknown)",
235 "(unknown)",
236 "(unknown)",
237 "META_GAP",
238 "HSP_META",
239 "HFP_META",
240 "ANCS_META",
241 "AVDTP_META",
242 "AVRCP_META",
243 "GOEP_META",
244 "PBAP_META",
245 "HID_META",
246 "A2DP_META",
247 "HIDS_META",
248 "GATTSERVICE_META",
249 "BIP_META",
250 "MAP_META",
251 "MESH_META",
252 "(unknown)",
253 "(unknown)",
254 "(unknown)",
255 "(unknown)",
256 "(unknown)",
257 "(unknown)",
258 "(unknown)",
259 "(unknown)",
260 "(unknown)",
261 "VENDOR_SPECIFIC",
262};
263
264constexpr const char *gattservice_event_names[114] {
265 "(unknown)",
266 "CYCLING_POWER_START_CALIBRATION",
267 "CYCLING_POWER_BROADCAST_START",
268 "CYCLING_POWER_BROADCAST_STOP",
269 "BATTERY_SERVICE_CONNECTED",
270 "BATTERY_SERVICE_LEVEL",
271 "DEVICE_INFORMATION_DONE",
272 "DEVICE_INFORMATION_MANUFACTURER_NAME",
273 "DEVICE_INFORMATION_MODEL_NUMBER",
274 "DEVICE_INFORMATION_SERIAL_NUMBER",
275 "DEVICE_INFORMATION_HARDWARE_REVISION",
276 "DEVICE_INFORMATION_FIRMWARE_REVISION",
277 "DEVICE_INFORMATION_SOFTWARE_REVISION",
278 "DEVICE_INFORMATION_SYSTEM_ID",
279 "DEVICE_INFORMATION_IEEE_REGULATORY_CERTIFICATION",
280 "DEVICE_INFORMATION_PNP_ID",
281 "SCAN_PARAMETERS_SERVICE_CONNECTED",
282 "SPP_SERVICE_CONNECTED",
283 "SPP_SERVICE_DISCONNECTED",
284 "HID_SERVICE_CONNECTED",
285 "HID_REPORT",
286 "HID_INFORMATION",
287 "HID_PROTOCOL_MODE",
288 "HID_SERVICE_REPORTS_NOTIFICATION",
289 "SCAN_PARAMETERS_SERVICE_SCAN_INTERVAL_UPDATE",
290 "(unknown)",
291 "(unknown)",
292 "(unknown)",
293 "(unknown)",
294 "(unknown)",
295 "(unknown)",
296 "(unknown)",
297 "(unknown)",
298 "(unknown)",
299 "(unknown)",
300 "(unknown)",
301 "(unknown)",
302 "(unknown)",
303 "BASS_SERVER_SCAN_STOPPED",
304 "BASS_SERVER_SCAN_STARTED",
305 "BASS_SERVER_BROADCAST_CODE",
306 "BASS_SERVER_SOURCE_ADDED",
307 "(unknown)",
308 "(unknown)",
309 "(unknown)",
310 "(unknown)",
311 "(unknown)",
312 "(unknown)",
313 "BASS_SERVER_SOURCE_MODIFIED",
314 "BASS_SERVER_SOURCE_DELETED",
315 "(unknown)",
316 "(unknown)",
317 "(unknown)",
318 "(unknown)",
319 "(unknown)",
320 "(unknown)",
321 "(unknown)",
322 "(unknown)",
323 "(unknown)",
324 "(unknown)",
325 "(unknown)",
326 "(unknown)",
327 "(unknown)",
328 "(unknown)",
329 "(unknown)",
330 "(unknown)",
331 "(unknown)",
332 "BASS_CLIENT_CONNECTED",
333 "BASS_CLIENT_DISCONNECTED",
334 "BASS_CLIENT_SCAN_OPERATION_COMPLETE",
335 "BASS_NOTIFY_RECEIVE_STATE_BASE",
336 "BASS_CLIENT_NOTIFY_RECEIVE_STATE_SUBGROUP",
337 "BASS_CLIENT_NOTIFICATION_COMPLETE",
338 "BASS_CLIENT_SOURCE_OPERATION_COMPLETE",
339 "(unknown)",
340 "(unknown)",
341 "(unknown)",
342 "(unknown)",
343 "(unknown)",
344 "(unknown)",
345 "(unknown)",
346 "(unknown)",
347 "(unknown)",
348 "(unknown)",
349 "(unknown)",
350 "(unknown)",
351 "(unknown)",
352 "(unknown)",
353 "(unknown)",
354 "(unknown)",
355 "(unknown)",
356 "(unknown)",
357 "(unknown)",
358 "(unknown)",
359 "(unknown)",
360 "(unknown)",
361 "(unknown)",
362 "(unknown)",
363 "(unknown)",
364 "(unknown)",
365 "(unknown)",
366 "(unknown)",
367 "(unknown)",
368 "(unknown)",
369 "(unknown)",
370 "(unknown)",
371 "(unknown)",
372 "(unknown)",
373 "(unknown)",
374 "(unknown)",
375 "(unknown)",
376 "(unknown)",
377 "BASS_SERVER_CONNECTED",
378 "BASS_SERVER_DISCONNECTED",
379};
380
381constexpr const char *le_event_names[42] {
382 "(unknown)",
383 "HCI_SUBEVENT_LE_CONNECTION_COMPLETE",
384 "HCI_SUBEVENT_LE_ADVERTISING_REPORT",
385 "HCI_SUBEVENT_LE_CONNECTION_UPDATE_COMPLETE",
386 "HCI_SUBEVENT_LE_READ_REMOTE_FEATURES_COMPLETE",
387 "HCI_SUBEVENT_LE_LONG_TERM_KEY_REQUEST",
388 "HCI_SUBEVENT_LE_REMOTE_CONNECTION_PARAMETER_REQUEST",
389 "HCI_SUBEVENT_LE_DATA_LENGTH_CHANGE",
390 "HCI_SUBEVENT_LE_READ_LOCAL_P256_PUBLIC_KEY_COMPLETE",
391 "HCI_SUBEVENT_LE_GENERATE_DHKEY_COMPLETE",
392 "HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE_V1",
393 "HCI_SUBEVENT_LE_DIRECT_ADVERTISING_REPORT",
394 "HCI_SUBEVENT_LE_PHY_UPDATE_COMPLETE",
395 "HCI_SUBEVENT_LE_EXTENDED_ADVERTISING_REPORT",
396 "HCI_SUBEVENT_LE_PERIODIC_ADVERTISING_SYNC_ESTABLISHMENT",
397 "HCI_SUBEVENT_LE_PERIODIC_ADVERTISING_REPORT",
398 "HCI_SUBEVENT_LE_PERIODIC_ADVERTISING_SYNC_LOST",
399 "HCI_SUBEVENT_LE_SCAN_TIMEOUT",
400 "HCI_SUBEVENT_LE_ADVERTISING_SET_TERMINATED",
401 "HCI_SUBEVENT_LE_SCAN_REQUEST_RECEIVED",
402 "HCI_SUBEVENT_LE_CHANNEL_SELECTION_ALGORITHM",
403 "HCI_SUBEVENT_LE_CONNECTIONLESS_IQ_REPORT",
404 "HCI_SUBEVENT_LE_CONNECTION_IQ_REPORT",
405 "HCI_SUBEVENT_LE_LE_CTE_REQUEST_FAILED",
406 "HCI_SUBEVENT_LE_PERIODIC_ADVERTISING_SYNC_TRANSFER_RECEIVED",
407 "HCI_SUBEVENT_LE_CIS_ESTABLISHED",
408 "HCI_SUBEVENT_LE_CIS_REQUEST",
409 "HCI_SUBEVENT_LE_CREATE_BIG_COMPLETE",
410 "HCI_SUBEVENT_LE_TERMINATE_BIG_COMPLETE",
411 "HCI_SUBEVENT_LE_BIG_SYNC_ESTABLISHED",
412 "HCI_SUBEVENT_LE_BIG_SYNC_LOST",
413 "HCI_SUBEVENT_LE_REQUEST_PEER_SCA_COMPLETE",
414 "(unknown)",
415 "HCI_SUBEVENT_LE_TRANSMIT_POWER_REPORTING",
416 "HCI_SUBEVENT_LE_BIGINFO_ADVERTISING_REPORT",
417 "HCI_SUBEVENT_LE_SUBRATE_CHANGE",
418 "(unknown)",
419 "(unknown)",
420 "(unknown)",
421 "HCI_SUBEVENT_LE_PERIODIC_ADVERTISING_DATA_REQUEST",
422 "(unknown)",
423 "HCI_SUBEVENT_LE_ENHANCED_CONNECTION_COMPLETE_V2",
424};
425
426} // namespace cs::midi_ble_btstack
constexpr const char * gattservice_event_names[114]
constexpr const char * hci_event_names[256]
constexpr const char * le_event_names[42]