Lines Matching +full:address +full:- +full:0
1 /* gap.h - Bluetooth tester headers */
4 * Copyright (c) 2015-2016 Intel Corporation
7 * SPDX-License-Identifier: Apache-2.0
15 #define BTP_GAP_READ_SUPPORTED_COMMANDS 0x01
17 uint8_t data[0];
20 #define BTP_GAP_READ_CONTROLLER_INDEX_LIST 0x02
26 #define BTP_GAP_SETTINGS_POWERED 0
45 #define BTP_GAP_READ_CONTROLLER_INFO 0x03
47 bt_addr_t address; member
55 #define BTP_GAP_RESET 0x04
60 #define BTP_GAP_SET_POWERED 0x05
68 #define BTP_GAP_SET_CONNECTABLE 0x06
76 #define BTP_GAP_SET_FAST_CONNECTABLE 0x07
84 #define BTP_GAP_NON_DISCOVERABLE 0x00
85 #define BTP_GAP_GENERAL_DISCOVERABLE 0x01
86 #define BTP_GAP_LIMITED_DISCOVERABLE 0x02
88 #define BTP_GAP_SET_DISCOVERABLE 0x08
96 #define BTP_GAP_SET_BONDABLE 0x09
104 #define BTP_GAP_ADDR_TYPE_IDENTITY 0
108 #define BTP_GAP_START_ADVERTISING 0x0a
124 #define BTP_GAP_STOP_ADVERTISING 0x0b
129 #define BTP_GAP_DISCOVERY_FLAG_LE 0x01
130 #define BTP_GAP_DISCOVERY_FLAG_BREDR 0x02
131 #define BTP_GAP_DISCOVERY_FLAG_LIMITED 0x04
132 #define BTP_GAP_DISCOVERY_FLAG_LE_ACTIVE_SCAN 0x08
133 #define BTP_GAP_DISCOVERY_FLAG_LE_OBSERVE 0x10
134 #define BTP_GAP_DISCOVERY_FLAG_OWN_ID_ADDR 0x20
136 #define BTP_GAP_START_DISCOVERY 0x0c
141 #define BTP_GAP_STOP_DISCOVERY 0x0d
143 #define BTP_GAP_CONNECT 0x0e
145 bt_addr_le_t address; member
149 #define BTP_GAP_DISCONNECT 0x0f
151 bt_addr_le_t address; member
154 #define BTP_GAP_IO_CAP_DISPLAY_ONLY 0
160 #define BTP_GAP_SET_IO_CAP 0x10
165 #define BTP_GAP_PAIR 0x11
167 bt_addr_le_t address; member
170 #define BTP_GAP_UNPAIR 0x12
172 bt_addr_le_t address; member
175 #define BTP_GAP_PASSKEY_ENTRY 0x13
177 bt_addr_le_t address; member
181 #define BTP_GAP_PASSKEY_CONFIRM 0x14
183 bt_addr_le_t address; member
187 #define BTP_GAP_START_DIRECTED_ADV_HD BIT(0)
191 #define BTP_GAP_START_DIRECTED_ADV 0x15
193 bt_addr_le_t address; member
200 #define BTP_GAP_CONN_PARAM_UPDATE 0x16
202 bt_addr_le_t address; member
209 #define BTP_GAP_PAIRING_CONSENT 0x17
211 bt_addr_le_t address; member
215 #define BTP_GAP_OOB_LEGACY_SET_DATA 0x18
220 #define BTP_GAP_OOB_SC_GET_LOCAL_DATA 0x19
226 #define BTP_GAP_OOB_SC_SET_REMOTE_DATA 0x1a
232 #define BTP_GAP_SET_MITM 0x1b
237 #define BTP_GAP_SET_FILTER_LIST 0x1c
243 #define BTP_GAP_SET_PRIVACY 0x1d
244 #define BTP_GAP_SET_SC_ONLY 0x1e
245 #define BTP_GAP_SET_SC 0x1f
246 #define BTP_GAP_SET_MIN_ENC_KEY_SIZE 0x20
248 #define BTP_GAP_SET_EXTENDED_ADVERTISING 0x21
256 #define BTP_GAP_PADV_CONFIGURE 0x22
258 #define BTP_GAP_PADV_INCLUDE_TX_POWER BIT(0)
268 #define BTP_GAP_PADV_START 0x23
276 #define BTP_GAP_PADV_STOP 0x24
283 #define BTP_GAP_PADV_SET_DATA 0x25
289 #define BTP_GAP_PADV_CREATE_SYNC_FLAG_REPORTS_DISABLED 0x01
290 #define BTP_GAP_PADV_CREATE_SYNC_FLAG_FILTER_DUPLICATES 0x02
292 #define BTP_GAP_PADV_CREATE_SYNC 0x26
294 bt_addr_le_t address; member
301 #define BTP_GAP_PADV_SYNC_TRANSFER_SET_INFO 0x27
303 bt_addr_le_t address; member
307 #define BTP_GAP_PADV_SYNC_TRANSFER_START 0x28
310 bt_addr_le_t address; member
314 #define BTP_GAP_PADV_SYNC_TRANSFER_RECV 0x29
316 bt_addr_le_t address; member
323 #define BTP_GAP_EV_NEW_SETTINGS 0x80
328 #define BTP_GAP_DEVICE_FOUND_FLAG_RSSI 0x01
329 #define BTP_GAP_DEVICE_FOUND_FLAG_AD 0x02
330 #define BTP_GAP_DEVICE_FOUND_FLAG_SD 0x04
332 #define BTP_GAP_EV_DEVICE_FOUND 0x81
334 bt_addr_le_t address; member
341 #define BTP_GAP_EV_DEVICE_CONNECTED 0x82
343 bt_addr_le_t address; member
349 #define BTP_GAP_EV_DEVICE_DISCONNECTED 0x83
351 bt_addr_le_t address; member
354 #define BTP_GAP_EV_PASSKEY_DISPLAY 0x84
356 bt_addr_le_t address; member
360 #define BTP_GAP_EV_PASSKEY_ENTRY_REQ 0x85
362 bt_addr_le_t address; member
365 #define BTP_GAP_EV_PASSKEY_CONFIRM_REQ 0x86
367 bt_addr_le_t address; member
371 #define BTP_GAP_EV_IDENTITY_RESOLVED 0x87
373 bt_addr_le_t address; member
377 #define BTP_GAP_EV_CONN_PARAM_UPDATE 0x88
379 bt_addr_le_t address; member
385 #define BTP_GAP_SEC_LEVEL_UNAUTH_ENC 0x01
386 #define BTP_GAP_SEC_LEVEL_AUTH_ENC 0x02
387 #define BTP_GAP_SEC_LEVEL_AUTH_SC 0x03
389 #define BTP_GAP_EV_SEC_LEVEL_CHANGED 0x89
391 bt_addr_le_t address; member
395 #define BTP_GAP_EV_PAIRING_CONSENT_REQ 0x8a
397 bt_addr_le_t address; member
400 #define BTP_GAP_EV_BOND_LOST 0x8b
402 bt_addr_le_t address; member
405 #define BTP_GAP_EV_PAIRING_FAILED 0x8c
407 bt_addr_le_t address; member
411 #define BTP_GAP_EV_PERIODIC_SYNC_ESTABLISHED 0x8d
413 bt_addr_le_t address; member
418 #define BTP_GAP_EV_PERIODIC_SYNC_LOST 0x8e
424 #define BTP_GAP_EV_PERIODIC_REPORT 0x8f
435 #define BTP_GAP_EV_PERIODIC_TRANSFER_RECEIVED 0x90