ble_gatt_client
|
#include <sys/socket.h>
Go to the source code of this file.
Enumerations | |
enum | { HCI_UP, HCI_INIT, HCI_RUNNING, HCI_PSCAN, HCI_ISCAN, HCI_AUTH, HCI_ENCRYPT, HCI_INQUIRY, HCI_RAW } |
enum | { LE_PUBLIC_ADDRESS = 0x00, LE_RANDOM_ADDRESS = 0x01 } |
#define acl_handle_pack | ( | h, | |
f | |||
) | (uint16_t)((h & 0x0fff)|(f << 12)) |
#define AUTH_REQUESTED_CP_SIZE 2 |
Definition at line 416 of file hci.h.
Referenced by hci_authenticate_link().
#define CHANGE_CONN_LINK_KEY_CP_SIZE 2 |
Definition at line 429 of file hci.h.
Referenced by hci_change_link_key().
#define CHANGE_LOCAL_NAME_CP_SIZE 248 |
Definition at line 819 of file hci.h.
Referenced by hci_write_local_name().
#define cmd_opcode_pack | ( | ogf, | |
ocf | |||
) | (uint16_t)((ocf & 0x03ff)|(ogf << 10)) |
Definition at line 2320 of file hci.h.
Referenced by hci_send_cmd(), and hci_send_req().
#define CREATE_CONN_CP_SIZE 13 |
Definition at line 350 of file hci.h.
Referenced by hci_create_connection().
#define DELETE_STORED_LINK_KEY_CP_SIZE 7 |
Definition at line 806 of file hci.h.
Referenced by hci_delete_stored_link_key().
#define DISCONNECT_CP_SIZE 3 |
Definition at line 357 of file hci.h.
Referenced by hci_disconnect().
#define EVT_AUTH_COMPLETE 0x06 |
Definition at line 1784 of file hci.h.
Referenced by hci_authenticate_link().
#define EVT_AUTH_COMPLETE_SIZE 3 |
Definition at line 1789 of file hci.h.
Referenced by hci_authenticate_link().
#define EVT_CHANGE_CONN_LINK_KEY_COMPLETE 0x09 |
Definition at line 1807 of file hci.h.
Referenced by hci_change_link_key().
#define EVT_CHANGE_CONN_LINK_KEY_COMPLETE_SIZE 3 |
Definition at line 1812 of file hci.h.
Referenced by hci_change_link_key().
#define EVT_CMD_COMPLETE 0x0E |
Definition at line 1849 of file hci.h.
Referenced by hci_send_req().
#define EVT_CMD_COMPLETE_SIZE 3 |
Definition at line 1854 of file hci.h.
Referenced by hci_send_req().
#define EVT_CMD_STATUS 0x0F |
Definition at line 1856 of file hci.h.
Referenced by hci_send_req().
#define EVT_CONN_COMPLETE 0x03 |
Definition at line 1758 of file hci.h.
Referenced by hci_create_connection().
#define EVT_CONN_COMPLETE_SIZE 11 |
Definition at line 1766 of file hci.h.
Referenced by hci_create_connection(), and hci_le_create_conn().
#define EVT_DISCONN_COMPLETE 0x05 |
Definition at line 1776 of file hci.h.
Referenced by hci_disconnect().
#define EVT_DISCONN_COMPLETE_SIZE 4 |
Definition at line 1782 of file hci.h.
Referenced by hci_disconnect().
#define EVT_ENCRYPT_CHANGE 0x08 |
Definition at line 1799 of file hci.h.
Referenced by hci_encrypt_link().
#define EVT_ENCRYPT_CHANGE_SIZE 4 |
Definition at line 1805 of file hci.h.
Referenced by hci_encrypt_link().
#define EVT_FLOW_SPEC_COMPLETE_SIZE (5 + HCI_QOS_CP_SIZE) |
#define EVT_LE_CONN_COMPLETE 0x01 |
Definition at line 2149 of file hci.h.
Referenced by hci_le_create_conn().
#define EVT_LE_CONN_UPDATE_COMPLETE 0x03 |
Definition at line 2173 of file hci.h.
Referenced by hci_le_conn_update().
#define EVT_LE_META_EVENT 0x3E |
Definition at line 2142 of file hci.h.
Referenced by hci_send_req().
#define EVT_LE_READ_REMOTE_USED_FEATURES_COMPLETE 0x04 |
Definition at line 2183 of file hci.h.
Referenced by hci_le_read_remote_features().
#define EVT_LE_READ_REMOTE_USED_FEATURES_COMPLETE_SIZE 11 |
Definition at line 2189 of file hci.h.
Referenced by hci_le_read_remote_features().
#define EVT_MODE_CHANGE 0x14 |
Definition at line 1891 of file hci.h.
Referenced by hci_exit_park_mode(), and hci_park_mode().
#define EVT_MODE_CHANGE_SIZE 6 |
Definition at line 1898 of file hci.h.
Referenced by hci_exit_park_mode(), and hci_park_mode().
#define EVT_QOS_SETUP_COMPLETE_SIZE (4 + HCI_QOS_CP_SIZE) |
#define EVT_READ_CLOCK_OFFSET_COMPLETE 0x1C |
Definition at line 1942 of file hci.h.
Referenced by hci_read_clock_offset().
#define EVT_READ_CLOCK_OFFSET_COMPLETE_SIZE 5 |
Definition at line 1948 of file hci.h.
Referenced by hci_read_clock_offset().
#define EVT_READ_REMOTE_EXT_FEATURES_COMPLETE 0x23 |
Definition at line 2002 of file hci.h.
Referenced by hci_read_remote_ext_features().
#define EVT_READ_REMOTE_EXT_FEATURES_COMPLETE_SIZE 13 |
Definition at line 2010 of file hci.h.
Referenced by hci_read_remote_ext_features().
#define EVT_READ_REMOTE_FEATURES_COMPLETE 0x0B |
Definition at line 1822 of file hci.h.
Referenced by hci_read_remote_features().
#define EVT_READ_REMOTE_FEATURES_COMPLETE_SIZE 11 |
Definition at line 1828 of file hci.h.
Referenced by hci_read_remote_features().
#define EVT_READ_REMOTE_VERSION_COMPLETE 0x0C |
Definition at line 1830 of file hci.h.
Referenced by hci_read_remote_version().
#define EVT_READ_REMOTE_VERSION_COMPLETE_SIZE 8 |
Definition at line 1838 of file hci.h.
Referenced by hci_read_remote_version().
#define EVT_REMOTE_NAME_REQ_COMPLETE 0x07 |
Definition at line 1791 of file hci.h.
Referenced by hci_read_remote_name_with_clock_offset(), and hci_send_req().
#define EVT_REMOTE_NAME_REQ_COMPLETE_SIZE 255 |
Definition at line 1797 of file hci.h.
Referenced by hci_read_remote_name_with_clock_offset().
#define EVT_ROLE_CHANGE 0x12 |
Definition at line 1876 of file hci.h.
Referenced by hci_switch_role().
#define EVT_ROLE_CHANGE_SIZE 8 |
Definition at line 1882 of file hci.h.
Referenced by hci_switch_role().
#define EXIT_PARK_MODE_CP_SIZE 2 |
Definition at line 648 of file hci.h.
Referenced by hci_exit_park_mode().
#define HCI_ACL_CONNECTION_EXISTS 0x0b |
Definition at line 160 of file hci.h.
Referenced by bt_error().
#define HCI_AMP 0x01 |
Definition at line 61 of file hci.h.
Referenced by hci_typetostr().
#define HCI_AUTHENTICATION_FAILURE 0x05 |
Definition at line 154 of file hci.h.
Referenced by bt_error().
#define HCI_BREDR 0x00 |
Definition at line 60 of file hci.h.
Referenced by hci_typetostr().
#define HCI_CLASSIFICATION_NOT_SUPPORTED 0x2e |
Definition at line 194 of file hci.h.
Referenced by bt_error().
#define HCI_COMMAND_DISALLOWED 0x0c |
Definition at line 161 of file hci.h.
Referenced by bt_error().
#define HCI_COMMAND_HDR_SIZE 3 |
Definition at line 2292 of file hci.h.
Referenced by hci_send_cmd().
#define HCI_COMMAND_PKT 0x01 |
Definition at line 114 of file hci.h.
Referenced by hci_send_cmd().
#define HCI_CONNECTION_TERMINATED 0x16 |
Definition at line 171 of file hci.h.
Referenced by bt_error().
#define HCI_CONNECTION_TIMEOUT 0x08 |
Definition at line 157 of file hci.h.
Referenced by bt_error().
#define HCI_ENCRYPTION_MODE_NOT_ACCEPTED 0x25 |
Definition at line 186 of file hci.h.
Referenced by bt_error().
#define HCI_EVENT_HDR_SIZE 2 |
Definition at line 2298 of file hci.h.
Referenced by hci_send_req().
#define HCI_EVENT_PKT 0x04 |
Definition at line 117 of file hci.h.
Referenced by hci_send_req().
#define HCI_FILTER 2 |
Definition at line 2333 of file hci.h.
Referenced by hci_send_req().
#define HCI_FLT_EVENT_BITS 63 |
Definition at line 2359 of file hci.h.
Referenced by hci_filter_clear_event(), hci_filter_set_event(), and hci_filter_test_event().
#define HCI_FLT_TYPE_BITS 31 |
Definition at line 2358 of file hci.h.
Referenced by hci_filter_clear_ptype(), hci_filter_set_ptype(), and hci_filter_test_ptype().
#define HCI_HARDWARE_FAILURE 0x03 |
Definition at line 152 of file hci.h.
Referenced by bt_error().
#define HCI_HOST_TIMEOUT 0x10 |
Definition at line 165 of file hci.h.
Referenced by bt_error().
#define HCI_INSUFFICIENT_SECURITY 0x2f |
Definition at line 195 of file hci.h.
Referenced by bt_error().
#define HCI_INVALID_LMP_PARAMETERS 0x1e |
Definition at line 179 of file hci.h.
Referenced by bt_error().
#define HCI_INVALID_PARAMETERS 0x12 |
Definition at line 167 of file hci.h.
Referenced by bt_error().
#define HCI_LM_MASTER 0x0001 |
Definition at line 291 of file hci.h.
Referenced by hci_lmtostr().
#define HCI_LMP_ERROR_TRANSACTION_COLLISION 0x23 |
Definition at line 184 of file hci.h.
Referenced by bt_error().
#define HCI_LMP_PDU_NOT_ALLOWED 0x24 |
Definition at line 185 of file hci.h.
Referenced by bt_error().
#define HCI_MAX_DEV 16 |
Definition at line 35 of file hci.h.
Referenced by hci_for_each_dev().
#define HCI_MAX_EIR_LENGTH 240 |
Definition at line 1095 of file hci.h.
Referenced by hci_read_ext_inquiry_response(), and hci_write_ext_inquiry_response().
#define HCI_MAX_EVENT_SIZE 260 |
Definition at line 39 of file hci.h.
Referenced by hci_send_req().
#define HCI_MAX_FRAME_SIZE (HCI_MAX_ACL_SIZE + 4) |
#define HCI_MAX_NUMBER_OF_CONNECTIONS 0x09 |
Definition at line 158 of file hci.h.
Referenced by bt_error().
#define HCI_MAX_NUMBER_OF_SCO_CONNECTIONS 0x0a |
Definition at line 159 of file hci.h.
Referenced by bt_error().
#define HCI_MEMORY_FULL 0x07 |
Definition at line 156 of file hci.h.
Referenced by bt_error().
#define HCI_NO_CONNECTION 0x02 |
Definition at line 151 of file hci.h.
Referenced by bt_error().
#define HCI_OE_LOW_RESOURCES 0x14 |
Definition at line 169 of file hci.h.
Referenced by bt_error().
#define HCI_OE_POWER_OFF 0x15 |
Definition at line 170 of file hci.h.
Referenced by bt_error().
#define HCI_OE_USER_ENDED_CONNECTION 0x13 |
Definition at line 168 of file hci.h.
Referenced by bt_error().
#define HCI_PAGE_TIMEOUT 0x04 |
Definition at line 153 of file hci.h.
Referenced by bt_error().
#define HCI_PAIRING_NOT_ALLOWED 0x18 |
Definition at line 173 of file hci.h.
Referenced by bt_error().
#define HCI_PAIRING_NOT_SUPPORTED 0x29 |
Definition at line 190 of file hci.h.
Referenced by bt_error().
#define HCI_PARAMETER_OUT_OF_RANGE 0x30 |
Definition at line 196 of file hci.h.
Referenced by bt_error().
#define HCI_PCCARD 2 |
Definition at line 53 of file hci.h.
Referenced by hci_bustostr().
#define HCI_PCI 5 |
Definition at line 56 of file hci.h.
Referenced by hci_bustostr().
#define HCI_PIN_OR_KEY_MISSING 0x06 |
Definition at line 155 of file hci.h.
Referenced by bt_error().
#define HCI_QOS_NOT_SUPPORTED 0x27 |
Definition at line 188 of file hci.h.
Referenced by bt_error().
#define HCI_QOS_REJECTED 0x2d |
Definition at line 193 of file hci.h.
Referenced by bt_error().
#define HCI_QOS_UNACCEPTABLE_PARAMETER 0x2c |
Definition at line 192 of file hci.h.
Referenced by bt_error().
#define HCI_REJECTED_LIMITED_RESOURCES 0x0d |
Definition at line 162 of file hci.h.
Referenced by bt_error().
#define HCI_REJECTED_PERSONAL 0x0f |
Definition at line 164 of file hci.h.
Referenced by bt_error().
#define HCI_REJECTED_SECURITY 0x0e |
Definition at line 163 of file hci.h.
Referenced by bt_error().
#define HCI_REPEATED_ATTEMPTS 0x17 |
Definition at line 172 of file hci.h.
Referenced by bt_error().
#define HCI_ROLE_SWITCH_PENDING 0x32 |
Definition at line 197 of file hci.h.
Referenced by bt_error().
#define HCI_RS232 4 |
Definition at line 55 of file hci.h.
Referenced by hci_bustostr().
#define HCI_SCO_OFFSET_REJECTED 0x1b |
Definition at line 176 of file hci.h.
Referenced by bt_error().
#define HCI_SDIO 6 |
Definition at line 57 of file hci.h.
Referenced by hci_bustostr().
#define HCI_SLOT_VIOLATION 0x34 |
Definition at line 198 of file hci.h.
Referenced by bt_error().
#define HCI_TRANSACTION_COLLISION 0x2a |
Definition at line 191 of file hci.h.
Referenced by bt_error().
#define HCI_UART 3 |
Definition at line 54 of file hci.h.
Referenced by hci_bustostr().
#define HCI_UNKNOWN_COMMAND 0x01 |
Definition at line 150 of file hci.h.
Referenced by bt_error().
#define HCI_UNKNOWN_LMP_PDU 0x19 |
Definition at line 174 of file hci.h.
Referenced by bt_error().
#define HCI_UNSUPPORTED_FEATURE 0x11 |
Definition at line 166 of file hci.h.
Referenced by bt_error().
#define HCI_UNSUPPORTED_LMP_PARAMETER_VALUE 0x20 |
Definition at line 181 of file hci.h.
Referenced by bt_error().
#define HCI_UNSUPPORTED_REMOTE_FEATURE 0x1a |
Definition at line 175 of file hci.h.
Referenced by bt_error().
#define HCI_USB 1 |
Definition at line 52 of file hci.h.
Referenced by hci_bustostr().
#define HCI_VENDOR_PKT 0xff |
Definition at line 118 of file hci.h.
Referenced by hci_filter_clear_ptype(), hci_filter_set_ptype(), and hci_filter_test_ptype().
#define HCI_VIRTUAL 0 |
Definition at line 51 of file hci.h.
Referenced by hci_bustostr().
#define HCIGETDEVINFO _IOR('H', 211, int) |
Definition at line 91 of file hci.h.
Referenced by __other_bdaddr(), __same_bdaddr(), and hci_devinfo().
#define HCIGETDEVLIST _IOR('H', 210, int) |
Definition at line 90 of file hci.h.
Referenced by hci_for_each_dev().
#define HCIINQUIRY _IOR('H', 240, int) |
Definition at line 109 of file hci.h.
Referenced by hci_inquiry().
#define LE_ADD_DEVICE_TO_RESOLV_LIST_CP_SIZE 39 |
Definition at line 1716 of file hci.h.
Referenced by hci_le_add_resolving_list().
#define LE_ADD_DEVICE_TO_WHITE_LIST_CP_SIZE 7 |
Definition at line 1585 of file hci.h.
Referenced by hci_le_add_white_list().
#define LE_CONN_UPDATE_CP_SIZE 14 |
Definition at line 1604 of file hci.h.
Referenced by hci_le_conn_update().
#define LE_CREATE_CONN_CP_SIZE 25 |
Definition at line 1567 of file hci.h.
Referenced by hci_le_create_conn().
#define LE_READ_REMOTE_USED_FEATURES_CP_SIZE 2 |
Definition at line 1628 of file hci.h.
Referenced by hci_le_read_remote_features().
#define LE_READ_RESOLV_LIST_SIZE_RP_SIZE 2 |
Definition at line 1732 of file hci.h.
Referenced by hci_le_read_resolving_list_size().
#define LE_READ_WHITE_LIST_SIZE_RP_SIZE 2 |
Definition at line 1576 of file hci.h.
Referenced by hci_le_read_white_list_size().
#define LE_REMOVE_DEVICE_FROM_RESOLV_LIST_CP_SIZE 7 |
Definition at line 1723 of file hci.h.
Referenced by hci_le_rm_resolving_list().
#define LE_REMOVE_DEVICE_FROM_WHITE_LIST_CP_SIZE 7 |
Definition at line 1592 of file hci.h.
Referenced by hci_le_rm_white_list().
#define LE_SET_ADDRESS_RESOLUTION_ENABLE_CP_SIZE 1 |
Definition at line 1738 of file hci.h.
Referenced by hci_le_set_address_resolution_enable().
#define LE_SET_ADVERTISE_ENABLE_CP_SIZE 1 |
Definition at line 1533 of file hci.h.
Referenced by hci_le_set_advertise_enable().
#define LE_SET_SCAN_ENABLE_CP_SIZE 2 |
Definition at line 1550 of file hci.h.
Referenced by hci_le_set_scan_enable().
#define LE_SET_SCAN_PARAMETERS_CP_SIZE 7 |
Definition at line 1543 of file hci.h.
Referenced by hci_le_set_scan_parameters().
#define OCF_AUTH_REQUESTED 0x0011 |
Definition at line 412 of file hci.h.
Referenced by hci_authenticate_link().
#define OCF_CHANGE_CONN_LINK_KEY 0x0015 |
Definition at line 425 of file hci.h.
Referenced by hci_change_link_key().
#define OCF_CHANGE_LOCAL_NAME 0x0013 |
Definition at line 815 of file hci.h.
Referenced by hci_write_local_name().
#define OCF_CREATE_CONN 0x0005 |
Definition at line 341 of file hci.h.
Referenced by hci_create_connection().
#define OCF_DELETE_STORED_LINK_KEY 0x0012 |
Definition at line 801 of file hci.h.
Referenced by hci_delete_stored_link_key().
#define OCF_DISCONNECT 0x0006 |
Definition at line 352 of file hci.h.
Referenced by hci_disconnect().
#define OCF_EXIT_PARK_MODE 0x0006 |
Definition at line 644 of file hci.h.
Referenced by hci_exit_park_mode().
#define OCF_LE_ADD_DEVICE_TO_RESOLV_LIST 0x0027 |
Definition at line 1709 of file hci.h.
Referenced by hci_le_add_resolving_list().
#define OCF_LE_ADD_DEVICE_TO_WHITE_LIST 0x0011 |
Definition at line 1580 of file hci.h.
Referenced by hci_le_add_white_list().
#define OCF_LE_CLEAR_RESOLV_LIST 0x0029 |
Definition at line 1725 of file hci.h.
Referenced by hci_le_clear_resolving_list().
#define OCF_LE_CLEAR_WHITE_LIST 0x0010 |
Definition at line 1578 of file hci.h.
Referenced by hci_le_clear_white_list().
#define OCF_LE_CONN_UPDATE 0x0013 |
Definition at line 1594 of file hci.h.
Referenced by hci_le_conn_update().
#define OCF_LE_CREATE_CONN 0x000D |
Definition at line 1552 of file hci.h.
Referenced by hci_le_create_conn().
#define OCF_LE_READ_REMOTE_USED_FEATURES 0x0016 |
Definition at line 1624 of file hci.h.
Referenced by hci_le_read_remote_features().
#define OCF_LE_READ_RESOLV_LIST_SIZE 0x002A |
Definition at line 1727 of file hci.h.
Referenced by hci_le_read_resolving_list_size().
#define OCF_LE_READ_WHITE_LIST_SIZE 0x000F |
Definition at line 1571 of file hci.h.
Referenced by hci_le_read_white_list_size().
#define OCF_LE_REMOVE_DEVICE_FROM_RESOLV_LIST 0x0028 |
Definition at line 1718 of file hci.h.
Referenced by hci_le_rm_resolving_list().
#define OCF_LE_REMOVE_DEVICE_FROM_WHITE_LIST 0x0012 |
Definition at line 1587 of file hci.h.
Referenced by hci_le_rm_white_list().
#define OCF_LE_SET_ADDRESS_RESOLUTION_ENABLE 0x002D |
Definition at line 1734 of file hci.h.
Referenced by hci_le_set_address_resolution_enable().
#define OCF_LE_SET_ADVERTISE_ENABLE 0x000A |
Definition at line 1529 of file hci.h.
Referenced by hci_le_set_advertise_enable().
#define OCF_LE_SET_SCAN_ENABLE 0x000C |
Definition at line 1545 of file hci.h.
Referenced by hci_le_set_scan_enable().
#define OCF_LE_SET_SCAN_PARAMETERS 0x000B |
Definition at line 1535 of file hci.h.
Referenced by hci_le_set_scan_parameters().
#define OCF_PARK_MODE 0x0005 |
Definition at line 636 of file hci.h.
Referenced by hci_park_mode().
#define OCF_READ_AFH_MAP 0x0006 |
Definition at line 1378 of file hci.h.
Referenced by hci_read_afh_map().
#define OCF_READ_AFH_MODE 0x0048 |
Definition at line 1078 of file hci.h.
Referenced by hci_read_afh_mode().
#define OCF_READ_BD_ADDR 0x0009 |
Definition at line 1329 of file hci.h.
Referenced by hci_read_bd_addr().
#define OCF_READ_CLASS_OF_DEV 0x0023 |
Definition at line 909 of file hci.h.
Referenced by hci_read_class_of_dev().
#define OCF_READ_CLOCK 0x0007 |
Definition at line 1387 of file hci.h.
Referenced by hci_read_clock().
#define OCF_READ_CLOCK_OFFSET 0x001F |
Definition at line 471 of file hci.h.
Referenced by hci_read_clock_offset().
#define OCF_READ_CURRENT_IAC_LAP 0x0039 |
Definition at line 1005 of file hci.h.
Referenced by hci_read_current_iac_lap().
#define OCF_READ_EXT_INQUIRY_RESPONSE 0x0051 |
Definition at line 1097 of file hci.h.
Referenced by hci_read_ext_inquiry_response().
#define OCF_READ_INQ_RESPONSE_TX_POWER_LEVEL 0x0058 |
Definition at line 1151 of file hci.h.
Referenced by hci_read_inq_response_tx_power_level().
#define OCF_READ_INQUIRY_MODE 0x0044 |
Definition at line 1055 of file hci.h.
Referenced by hci_read_inquiry_mode().
#define OCF_READ_INQUIRY_SCAN_TYPE 0x0042 |
Definition at line 1038 of file hci.h.
Referenced by hci_read_inquiry_scan_type().
#define OCF_READ_LINK_POLICY 0x000C |
Definition at line 685 of file hci.h.
Referenced by hci_read_link_policy().
#define OCF_READ_LINK_QUALITY 0x0003 |
Definition at line 1362 of file hci.h.
Referenced by hci_read_link_quality().
#define OCF_READ_LINK_SUPERVISION_TIMEOUT 0x0036 |
Definition at line 982 of file hci.h.
Referenced by hci_read_link_supervision_timeout().
#define OCF_READ_LOCAL_COMMANDS 0x0002 |
Definition at line 1290 of file hci.h.
Referenced by hci_read_local_commands().
#define OCF_READ_LOCAL_EXT_FEATURES 0x0004 |
Definition at line 1304 of file hci.h.
Referenced by hci_read_local_ext_features().
#define OCF_READ_LOCAL_FEATURES 0x0003 |
Definition at line 1297 of file hci.h.
Referenced by hci_read_local_features().
#define OCF_READ_LOCAL_NAME 0x0014 |
Definition at line 821 of file hci.h.
Referenced by hci_read_local_name().
#define OCF_READ_LOCAL_OOB_DATA 0x0057 |
Definition at line 1143 of file hci.h.
Referenced by hci_read_local_oob_data().
#define OCF_READ_LOCAL_VERSION 0x0001 |
Definition at line 1279 of file hci.h.
Referenced by hci_read_local_version().
#define OCF_READ_REMOTE_EXT_FEATURES 0x001C |
Definition at line 458 of file hci.h.
Referenced by hci_read_remote_ext_features().
#define OCF_READ_REMOTE_FEATURES 0x001B |
Definition at line 452 of file hci.h.
Referenced by hci_read_remote_features().
#define OCF_READ_REMOTE_VERSION 0x001D |
Definition at line 465 of file hci.h.
Referenced by hci_read_remote_version().
#define OCF_READ_RSSI 0x0005 |
Definition at line 1370 of file hci.h.
Referenced by hci_read_rssi().
#define OCF_READ_SIMPLE_PAIRING_MODE 0x0055 |
Definition at line 1126 of file hci.h.
Referenced by hci_read_simple_pairing_mode().
#define OCF_READ_STORED_LINK_KEY 0x000D |
Definition at line 776 of file hci.h.
Referenced by hci_read_stored_link_key().
#define OCF_READ_TRANSMIT_POWER_LEVEL 0x002D |
Definition at line 947 of file hci.h.
Referenced by hci_read_transmit_power_level().
#define OCF_READ_VOICE_SETTING 0x0025 |
Definition at line 922 of file hci.h.
Referenced by hci_read_voice_setting().
#define OCF_REMOTE_NAME_REQ 0x0019 |
Definition at line 437 of file hci.h.
Referenced by hci_read_remote_name_with_clock_offset().
#define OCF_REMOTE_NAME_REQ_CANCEL 0x001A |
Definition at line 446 of file hci.h.
Referenced by hci_read_remote_name_cancel().
#define OCF_SET_AFH_CLASSIFICATION 0x003F |
Definition at line 1028 of file hci.h.
Referenced by hci_set_afh_classification().
#define OCF_SET_CONN_ENCRYPT 0x0013 |
Definition at line 418 of file hci.h.
Referenced by hci_encrypt_link().
#define OCF_SWITCH_ROLE 0x000B |
Definition at line 678 of file hci.h.
Referenced by hci_switch_role().
#define OCF_WRITE_AFH_MODE 0x0049 |
Definition at line 1085 of file hci.h.
Referenced by hci_write_afh_mode().
#define OCF_WRITE_CLASS_OF_DEV 0x0024 |
Definition at line 916 of file hci.h.
Referenced by hci_write_class_of_dev().
#define OCF_WRITE_CURRENT_IAC_LAP 0x003A |
Definition at line 1013 of file hci.h.
Referenced by hci_write_current_iac_lap().
#define OCF_WRITE_EXT_INQUIRY_RESPONSE 0x0052 |
Definition at line 1105 of file hci.h.
Referenced by hci_write_ext_inquiry_response().
#define OCF_WRITE_INQUIRY_MODE 0x0045 |
Definition at line 1062 of file hci.h.
Referenced by hci_write_inquiry_mode().
#define OCF_WRITE_INQUIRY_SCAN_TYPE 0x0043 |
Definition at line 1045 of file hci.h.
Referenced by hci_write_inquiry_scan_type().
#define OCF_WRITE_INQUIRY_TRANSMIT_POWER_LEVEL 0x0059 |
Definition at line 1165 of file hci.h.
Referenced by hci_write_inquiry_transmit_power_level().
#define OCF_WRITE_LINK_POLICY 0x000D |
Definition at line 697 of file hci.h.
Referenced by hci_write_link_policy().
#define OCF_WRITE_LINK_SUPERVISION_TIMEOUT 0x0037 |
Definition at line 990 of file hci.h.
Referenced by hci_write_link_supervision_timeout().
#define OCF_WRITE_SIMPLE_PAIRING_MODE 0x0056 |
Definition at line 1133 of file hci.h.
Referenced by hci_write_simple_pairing_mode().
#define OCF_WRITE_STORED_LINK_KEY 0x0011 |
Definition at line 789 of file hci.h.
Referenced by hci_write_stored_link_key().
#define OCF_WRITE_VOICE_SETTING 0x0026 |
Definition at line 929 of file hci.h.
Referenced by hci_write_voice_setting().
#define OGF_HOST_CTL 0x03 |
Definition at line 725 of file hci.h.
Referenced by hci_delete_stored_link_key(), hci_read_afh_mode(), hci_read_class_of_dev(), hci_read_current_iac_lap(), hci_read_ext_inquiry_response(), hci_read_inq_response_tx_power_level(), hci_read_inquiry_mode(), hci_read_inquiry_scan_type(), hci_read_link_supervision_timeout(), hci_read_local_name(), hci_read_local_oob_data(), hci_read_simple_pairing_mode(), hci_read_stored_link_key(), hci_read_transmit_power_level(), hci_read_voice_setting(), hci_set_afh_classification(), hci_write_afh_mode(), hci_write_class_of_dev(), hci_write_current_iac_lap(), hci_write_ext_inquiry_response(), hci_write_inquiry_mode(), hci_write_inquiry_scan_type(), hci_write_inquiry_transmit_power_level(), hci_write_link_supervision_timeout(), hci_write_local_name(), hci_write_simple_pairing_mode(), hci_write_stored_link_key(), and hci_write_voice_setting().
#define OGF_INFO_PARAM 0x04 |
Definition at line 1277 of file hci.h.
Referenced by hci_read_bd_addr(), hci_read_local_commands(), hci_read_local_ext_features(), hci_read_local_features(), and hci_read_local_version().
#define OGF_LE_CTL 0x08 |
Definition at line 1466 of file hci.h.
Referenced by hci_le_add_resolving_list(), hci_le_add_white_list(), hci_le_clear_resolving_list(), hci_le_clear_white_list(), hci_le_conn_update(), hci_le_create_conn(), hci_le_read_remote_features(), hci_le_read_resolving_list_size(), hci_le_read_white_list_size(), hci_le_rm_resolving_list(), hci_le_rm_white_list(), hci_le_set_address_resolution_enable(), hci_le_set_advertise_enable(), hci_le_set_scan_enable(), and hci_le_set_scan_parameters().
#define OGF_LINK_CTL 0x01 |
Definition at line 311 of file hci.h.
Referenced by hci_authenticate_link(), hci_change_link_key(), hci_create_connection(), hci_disconnect(), hci_encrypt_link(), hci_read_clock_offset(), hci_read_remote_ext_features(), hci_read_remote_features(), hci_read_remote_name_cancel(), hci_read_remote_name_with_clock_offset(), and hci_read_remote_version().
#define OGF_LINK_POLICY 0x02 |
Definition at line 610 of file hci.h.
Referenced by hci_exit_park_mode(), hci_park_mode(), hci_read_link_policy(), hci_switch_role(), and hci_write_link_policy().
#define OGF_STATUS_PARAM 0x05 |
Definition at line 1345 of file hci.h.
Referenced by hci_read_afh_map(), hci_read_clock(), hci_read_link_quality(), and hci_read_rssi().
#define PARK_MODE_CP_SIZE 6 |
Definition at line 642 of file hci.h.
Referenced by hci_park_mode().
#define QOS_SETUP_CP_SIZE (3 + HCI_QOS_CP_SIZE) |
#define READ_AFH_MAP_RP_SIZE 14 |
Definition at line 1385 of file hci.h.
Referenced by hci_read_afh_map().
#define READ_AFH_MODE_RP_SIZE 2 |
Definition at line 1083 of file hci.h.
Referenced by hci_read_afh_mode().
#define READ_BD_ADDR_RP_SIZE 7 |
Definition at line 1334 of file hci.h.
Referenced by hci_read_bd_addr().
#define READ_CLASS_OF_DEV_RP_SIZE 4 |
Definition at line 914 of file hci.h.
Referenced by hci_read_class_of_dev().
#define READ_CLOCK_CP_SIZE 3 |
Definition at line 1392 of file hci.h.
Referenced by hci_read_clock().
#define READ_CLOCK_OFFSET_CP_SIZE 2 |
Definition at line 475 of file hci.h.
Referenced by hci_read_clock_offset().
#define READ_CLOCK_RP_SIZE 9 |
Definition at line 1399 of file hci.h.
Referenced by hci_read_clock().
#define READ_CURRENT_IAC_LAP_RP_SIZE 2+3*MAX_IAC_LAP |
Definition at line 1011 of file hci.h.
Referenced by hci_read_current_iac_lap().
#define READ_EXT_INQUIRY_RESPONSE_RP_SIZE 242 |
Definition at line 1103 of file hci.h.
Referenced by hci_read_ext_inquiry_response().
#define READ_INQ_RESPONSE_TX_POWER_LEVEL_RP_SIZE 2 |
Definition at line 1156 of file hci.h.
Referenced by hci_read_inq_response_tx_power_level().
#define READ_INQUIRY_MODE_RP_SIZE 2 |
Definition at line 1060 of file hci.h.
Referenced by hci_read_inquiry_mode().
#define READ_INQUIRY_SCAN_TYPE_RP_SIZE 2 |
Definition at line 1043 of file hci.h.
Referenced by hci_read_inquiry_scan_type().
#define READ_LINK_POLICY_RP_SIZE 5 |
Definition at line 695 of file hci.h.
Referenced by hci_read_link_policy().
#define READ_LINK_QUALITY_RP_SIZE 4 |
Definition at line 1368 of file hci.h.
Referenced by hci_read_link_quality().
#define READ_LINK_SUPERVISION_TIMEOUT_RP_SIZE 5 |
Definition at line 988 of file hci.h.
Referenced by hci_read_link_supervision_timeout().
#define READ_LOCAL_COMMANDS_RP_SIZE 65 |
Definition at line 1295 of file hci.h.
Referenced by hci_read_local_commands().
#define READ_LOCAL_EXT_FEATURES_CP_SIZE 1 |
Definition at line 1308 of file hci.h.
Referenced by hci_read_local_ext_features().
#define READ_LOCAL_EXT_FEATURES_RP_SIZE 11 |
Definition at line 1315 of file hci.h.
Referenced by hci_read_local_ext_features().
#define READ_LOCAL_FEATURES_RP_SIZE 9 |
Definition at line 1302 of file hci.h.
Referenced by hci_read_local_features().
#define READ_LOCAL_NAME_RP_SIZE 249 |
Definition at line 826 of file hci.h.
Referenced by hci_read_local_name().
#define READ_LOCAL_OOB_DATA_RP_SIZE 33 |
Definition at line 1149 of file hci.h.
Referenced by hci_read_local_oob_data().
#define READ_LOCAL_VERSION_RP_SIZE 9 |
Definition at line 1288 of file hci.h.
Referenced by hci_read_local_version().
#define READ_REMOTE_EXT_FEATURES_CP_SIZE 3 |
Definition at line 463 of file hci.h.
Referenced by hci_read_remote_ext_features().
#define READ_REMOTE_FEATURES_CP_SIZE 2 |
Definition at line 456 of file hci.h.
Referenced by hci_read_remote_features().
#define READ_REMOTE_VERSION_CP_SIZE 2 |
Definition at line 469 of file hci.h.
Referenced by hci_read_remote_version().
#define READ_RSSI_RP_SIZE 4 |
Definition at line 1376 of file hci.h.
Referenced by hci_read_rssi().
#define READ_SIMPLE_PAIRING_MODE_RP_SIZE 2 |
Definition at line 1131 of file hci.h.
Referenced by hci_read_simple_pairing_mode().
#define READ_STORED_LINK_KEY_CP_SIZE 7 |
Definition at line 781 of file hci.h.
Referenced by hci_read_stored_link_key().
#define READ_TRANSMIT_POWER_LEVEL_CP_SIZE 3 |
Definition at line 952 of file hci.h.
Referenced by hci_read_transmit_power_level().
#define READ_TRANSMIT_POWER_LEVEL_RP_SIZE 4 |
Definition at line 958 of file hci.h.
Referenced by hci_read_transmit_power_level().
#define READ_VOICE_SETTING_RP_SIZE 3 |
Definition at line 927 of file hci.h.
Referenced by hci_read_voice_setting().
#define REMOTE_NAME_REQ_CANCEL_CP_SIZE 6 |
Definition at line 450 of file hci.h.
Referenced by hci_read_remote_name_cancel().
#define REMOTE_NAME_REQ_CP_SIZE 10 |
Definition at line 444 of file hci.h.
Referenced by hci_read_remote_name_with_clock_offset().
#define SET_AFH_CLASSIFICATION_CP_SIZE 10 |
Definition at line 1032 of file hci.h.
Referenced by hci_set_afh_classification().
#define SET_AFH_CLASSIFICATION_RP_SIZE 1 |
Definition at line 1036 of file hci.h.
Referenced by hci_set_afh_classification().
#define SET_CONN_ENCRYPT_CP_SIZE 3 |
Definition at line 423 of file hci.h.
Referenced by hci_encrypt_link().
#define SWITCH_ROLE_CP_SIZE 7 |
Definition at line 683 of file hci.h.
Referenced by hci_switch_role().
#define WRITE_AFH_MODE_CP_SIZE 1 |
Definition at line 1089 of file hci.h.
Referenced by hci_write_afh_mode().
#define WRITE_AFH_MODE_RP_SIZE 1 |
Definition at line 1093 of file hci.h.
Referenced by hci_write_afh_mode().
#define WRITE_CLASS_OF_DEV_CP_SIZE 3 |
Definition at line 920 of file hci.h.
Referenced by hci_write_class_of_dev().
#define WRITE_CURRENT_IAC_LAP_CP_SIZE 1+3*MAX_IAC_LAP |
#define WRITE_EXT_INQUIRY_RESPONSE_CP_SIZE 241 |
Definition at line 1110 of file hci.h.
Referenced by hci_write_ext_inquiry_response().
#define WRITE_EXT_INQUIRY_RESPONSE_RP_SIZE 1 |
Definition at line 1114 of file hci.h.
Referenced by hci_write_ext_inquiry_response().
#define WRITE_INQUIRY_MODE_CP_SIZE 1 |
Definition at line 1066 of file hci.h.
Referenced by hci_write_inquiry_mode().
#define WRITE_INQUIRY_MODE_RP_SIZE 1 |
Definition at line 1070 of file hci.h.
Referenced by hci_write_inquiry_mode().
#define WRITE_INQUIRY_SCAN_TYPE_CP_SIZE 1 |
Definition at line 1049 of file hci.h.
Referenced by hci_write_inquiry_scan_type().
#define WRITE_INQUIRY_SCAN_TYPE_RP_SIZE 1 |
Definition at line 1053 of file hci.h.
Referenced by hci_write_inquiry_scan_type().
#define WRITE_INQUIRY_TRANSMIT_POWER_LEVEL_CP_SIZE 1 |
Definition at line 1169 of file hci.h.
Referenced by hci_write_inquiry_transmit_power_level().
#define WRITE_INQUIRY_TRANSMIT_POWER_LEVEL_RP_SIZE 1 |
Definition at line 1173 of file hci.h.
Referenced by hci_write_inquiry_transmit_power_level().
#define WRITE_LINK_POLICY_CP_SIZE 4 |
Definition at line 702 of file hci.h.
Referenced by hci_write_link_policy().
#define WRITE_LINK_POLICY_RP_SIZE 3 |
Definition at line 707 of file hci.h.
Referenced by hci_write_link_policy().
#define WRITE_LINK_SUPERVISION_TIMEOUT_CP_SIZE 4 |
Definition at line 995 of file hci.h.
Referenced by hci_write_link_supervision_timeout().
#define WRITE_LINK_SUPERVISION_TIMEOUT_RP_SIZE 3 |
Definition at line 1000 of file hci.h.
Referenced by hci_write_link_supervision_timeout().
#define WRITE_SIMPLE_PAIRING_MODE_CP_SIZE 1 |
Definition at line 1137 of file hci.h.
Referenced by hci_write_simple_pairing_mode().
#define WRITE_SIMPLE_PAIRING_MODE_RP_SIZE 1 |
Definition at line 1141 of file hci.h.
Referenced by hci_write_simple_pairing_mode().
#define WRITE_STORED_LINK_KEY_CP_SIZE 1 |
Definition at line 794 of file hci.h.
Referenced by hci_write_stored_link_key().
#define WRITE_VOICE_SETTING_CP_SIZE 2 |
Definition at line 933 of file hci.h.
Referenced by hci_write_voice_setting().
anonymous enum |