|
#define | BT_HCI_OWN_ADDR_RPA_OR_PUBLIC 0x02 |
|
#define | BT_HCI_OWN_ADDR_RPA_OR_RANDOM 0x03 |
|
#define | BT_HCI_OWN_ADDR_RPA_MASK 0x02 |
|
#define | BT_HCI_PEER_ADDR_RPA_UNRESOLVED 0xfe |
|
#define | BT_HCI_PEER_ADDR_ANONYMOUS 0xff |
|
#define | BT_ENC_KEY_SIZE_MIN 0x07 |
|
#define | BT_ENC_KEY_SIZE_MAX 0x10 |
|
#define | BT_HCI_EVT_HDR_SIZE 2 |
|
#define | BT_ACL_START_NO_FLUSH 0x00 |
|
#define | BT_ACL_CONT 0x01 |
|
#define | BT_ACL_START 0x02 |
|
#define | BT_ACL_COMPLETE 0x03 |
|
#define | BT_ACL_POINT_TO_POINT 0x00 |
|
#define | BT_ACL_BROADCAST 0x01 |
|
#define | BT_ACL_HANDLE_MASK BIT_MASK(12) |
|
#define | bt_acl_handle(h) ((h) & BT_ACL_HANDLE_MASK) |
|
#define | bt_acl_flags(h) ((h) >> 12) |
|
#define | bt_acl_flags_pb(f) ((f) & BIT_MASK(2)) |
|
#define | bt_acl_flags_bc(f) ((f) >> 2) |
|
#define | bt_acl_handle_pack(h, f) ((h) | ((f) << 12)) |
|
#define | BT_HCI_ACL_HDR_SIZE 4 |
|
#define | BT_ISO_START 0x00 |
|
#define | BT_ISO_CONT 0x01 |
|
#define | BT_ISO_SINGLE 0x02 |
|
#define | BT_ISO_END 0x03 |
|
#define | bt_iso_handle(h) ((h) & 0x0fff) |
|
#define | bt_iso_flags(h) ((h) >> 12) |
|
#define | bt_iso_flags_pb(f) ((f) & 0x0003) |
|
#define | bt_iso_flags_ts(f) (((f) >> 2) & 0x0001) |
|
#define | bt_iso_pack_flags(pb, ts) (((pb) & 0x0003) | (((ts) & 0x0001) << 2)) |
|
#define | bt_iso_handle_pack(h, pb, ts) ((h) | (bt_iso_pack_flags(pb, ts) << 12)) |
|
#define | BT_ISO_DATA_VALID 0x00 |
|
#define | BT_ISO_DATA_INVALID 0x01 |
|
#define | BT_ISO_DATA_NOP 0x02 |
|
#define | bt_iso_pkt_len(h) ((h) & 0x3fff) |
|
#define | bt_iso_pkt_flags(h) ((h) >> 14) |
|
#define | bt_iso_pkt_len_pack(h, f) ((h) | ((f) << 14)) |
|
#define | BT_HCI_ISO_DATA_HDR_SIZE 4 |
|
#define | BT_HCI_ISO_TS_DATA_HDR_SIZE 8 |
|
#define | BT_HCI_ISO_HDR_SIZE 4 |
|
#define | BT_HCI_CMD_HDR_SIZE 3 |
|
#define | BT_CMD_TEST(cmd, octet, bit) (cmd[octet] & BIT(bit)) |
|
#define | BT_CMD_LE_STATES(cmd) BT_CMD_TEST(cmd, 28, 3) |
|
#define | BT_FEAT_TEST(feat, page, octet, bit) (feat[page][octet] & BIT(bit)) |
|
#define | BT_FEAT_BREDR(feat) !BT_FEAT_TEST(feat, 0, 4, 5) |
|
#define | BT_FEAT_LE(feat) BT_FEAT_TEST(feat, 0, 4, 6) |
|
#define | BT_FEAT_EXT_FEATURES(feat) BT_FEAT_TEST(feat, 0, 7, 7) |
|
#define | BT_FEAT_HOST_SSP(feat) BT_FEAT_TEST(feat, 1, 0, 0) |
|
#define | BT_FEAT_SC(feat) BT_FEAT_TEST(feat, 2, 1, 0) |
|
#define | BT_FEAT_LMP_ESCO_CAPABLE(feat) BT_FEAT_TEST(feat, 0, 3, 7) |
|
#define | BT_FEAT_HV2_PKT(feat) BT_FEAT_TEST(feat, 0, 1, 4) |
|
#define | BT_FEAT_HV3_PKT(feat) BT_FEAT_TEST(feat, 0, 1, 5) |
|
#define | BT_FEAT_EV4_PKT(feat) BT_FEAT_TEST(feat, 0, 4, 0) |
|
#define | BT_FEAT_EV5_PKT(feat) BT_FEAT_TEST(feat, 0, 4, 1) |
|
#define | BT_FEAT_2EV3_PKT(feat) BT_FEAT_TEST(feat, 0, 5, 5) |
|
#define | BT_FEAT_3EV3_PKT(feat) BT_FEAT_TEST(feat, 0, 5, 6) |
|
#define | BT_FEAT_3SLOT_PKT(feat) BT_FEAT_TEST(feat, 0, 5, 7) |
|
#define | BT_LE_FEAT_BIT_ENC 0 |
|
#define | BT_LE_FEAT_BIT_CONN_PARAM_REQ 1 |
|
#define | BT_LE_FEAT_BIT_EXT_REJ_IND 2 |
|
#define | BT_LE_FEAT_BIT_PER_INIT_FEAT_XCHG 3 |
|
#define | BT_LE_FEAT_BIT_PING 4 |
|
#define | BT_LE_FEAT_BIT_DLE 5 |
|
#define | BT_LE_FEAT_BIT_PRIVACY 6 |
|
#define | BT_LE_FEAT_BIT_EXT_SCAN 7 |
|
#define | BT_LE_FEAT_BIT_PHY_2M 8 |
|
#define | BT_LE_FEAT_BIT_SMI_TX 9 |
|
#define | BT_LE_FEAT_BIT_SMI_RX 10 |
|
#define | BT_LE_FEAT_BIT_PHY_CODED 11 |
|
#define | BT_LE_FEAT_BIT_EXT_ADV 12 |
|
#define | BT_LE_FEAT_BIT_PER_ADV 13 |
|
#define | BT_LE_FEAT_BIT_CHAN_SEL_ALGO_2 14 |
|
#define | BT_LE_FEAT_BIT_PWR_CLASS_1 15 |
|
#define | BT_LE_FEAT_BIT_MIN_USED_CHAN_PROC 16 |
|
#define | BT_LE_FEAT_BIT_CONN_CTE_REQ 17 |
|
#define | BT_LE_FEAT_BIT_CONN_CTE_RESP 18 |
|
#define | BT_LE_FEAT_BIT_CONNECTIONLESS_CTE_TX 19 |
|
#define | BT_LE_FEAT_BIT_CONNECTIONLESS_CTE_RX 20 |
|
#define | BT_LE_FEAT_BIT_ANT_SWITCH_TX_AOD 21 |
|
#define | BT_LE_FEAT_BIT_ANT_SWITCH_RX_AOA 22 |
|
#define | BT_LE_FEAT_BIT_RX_CTE 23 |
|
#define | BT_LE_FEAT_BIT_PAST_SEND 24 |
|
#define | BT_LE_FEAT_BIT_PAST_RECV 25 |
|
#define | BT_LE_FEAT_BIT_SCA_UPDATE 26 |
|
#define | BT_LE_FEAT_BIT_REMOTE_PUB_KEY_VALIDATE 27 |
|
#define | BT_LE_FEAT_BIT_CIS_CENTRAL 28 |
|
#define | BT_LE_FEAT_BIT_CIS_PERIPHERAL 29 |
|
#define | BT_LE_FEAT_BIT_ISO_BROADCASTER 30 |
|
#define | BT_LE_FEAT_BIT_SYNC_RECEIVER 31 |
|
#define | BT_LE_FEAT_BIT_ISO_CHANNELS 32 |
|
#define | BT_LE_FEAT_BIT_PWR_CTRL_REQ 33 |
|
#define | BT_LE_FEAT_BIT_PWR_CHG_IND 34 |
|
#define | BT_LE_FEAT_BIT_PATH_LOSS_MONITOR 35 |
|
#define | BT_LE_FEAT_TEST(feat, n) |
|
#define | BT_FEAT_LE_ENCR(feat) |
|
#define | BT_FEAT_LE_CONN_PARAM_REQ_PROC(feat) |
|
#define | BT_FEAT_LE_PER_INIT_FEAT_XCHG(feat) |
|
#define | BT_FEAT_LE_DLE(feat) |
|
#define | BT_FEAT_LE_PHY_2M(feat) |
|
#define | BT_FEAT_LE_PHY_CODED(feat) |
|
#define | BT_FEAT_LE_PRIVACY(feat) |
|
#define | BT_FEAT_LE_EXT_ADV(feat) |
|
#define | BT_FEAT_LE_EXT_PER_ADV(feat) |
|
#define | BT_FEAT_LE_CONNECTION_CTE_REQ(feat) |
|
#define | BT_FEAT_LE_CONNECTION_CTE_RESP(feat) |
|
#define | BT_FEAT_LE_CONNECTIONLESS_CTE_TX(feat) |
|
#define | BT_FEAT_LE_CONNECTIONLESS_CTE_RX(feat) |
|
#define | BT_FEAT_LE_ANT_SWITCH_TX_AOD(feat) |
|
#define | BT_FEAT_LE_ANT_SWITCH_RX_AOA(feat) |
|
#define | BT_FEAT_LE_RX_CTE(feat) |
|
#define | BT_FEAT_LE_PAST_SEND(feat) |
|
#define | BT_FEAT_LE_PAST_RECV(feat) |
|
#define | BT_FEAT_LE_CIS_CENTRAL(feat) |
|
#define | BT_FEAT_LE_CIS_PERIPHERAL(feat) |
|
#define | BT_FEAT_LE_ISO_BROADCASTER(feat) |
|
#define | BT_FEAT_LE_SYNC_RECEIVER(feat) |
|
#define | BT_FEAT_LE_ISO_CHANNELS(feat) |
|
#define | BT_FEAT_LE_CIS(feat) |
|
#define | BT_FEAT_LE_BIS(feat) |
|
#define | BT_FEAT_LE_ISO(feat) |
|
#define | BT_LE_STATES_PER_CONN_ADV(states) (states & 0x0000004000000000) |
|
#define | BT_HCI_NO_BONDING 0x00 |
|
#define | BT_HCI_NO_BONDING_MITM 0x01 |
|
#define | BT_HCI_DEDICATED_BONDING 0x02 |
|
#define | BT_HCI_DEDICATED_BONDING_MITM 0x03 |
|
#define | BT_HCI_GENERAL_BONDING 0x04 |
|
#define | BT_HCI_GENERAL_BONDING_MITM 0x05 |
|
#define | BT_MITM 0x01 |
|
#define | BT_IO_DISPLAY_ONLY 0x00 |
|
#define | BT_IO_DISPLAY_YESNO 0x01 |
|
#define | BT_IO_KEYBOARD_ONLY 0x02 |
|
#define | BT_IO_NO_INPUT_OUTPUT 0x03 |
|
#define | HCI_PKT_TYPE_HV1 0x0020 |
|
#define | HCI_PKT_TYPE_HV2 0x0040 |
|
#define | HCI_PKT_TYPE_HV3 0x0080 |
|
#define | HCI_PKT_TYPE_ESCO_HV1 0x0001 |
|
#define | HCI_PKT_TYPE_ESCO_HV2 0x0002 |
|
#define | HCI_PKT_TYPE_ESCO_HV3 0x0004 |
|
#define | HCI_PKT_TYPE_ESCO_EV3 0x0008 |
|
#define | HCI_PKT_TYPE_ESCO_EV4 0x0010 |
|
#define | HCI_PKT_TYPE_ESCO_EV5 0x0020 |
|
#define | HCI_PKT_TYPE_ESCO_2EV3 0x0040 |
|
#define | HCI_PKT_TYPE_ESCO_3EV3 0x0080 |
|
#define | HCI_PKT_TYPE_ESCO_2EV5 0x0100 |
|
#define | HCI_PKT_TYPE_ESCO_3EV5 0x0200 |
|
#define | ESCO_PKT_MASK |
|
#define | SCO_PKT_MASK |
|
#define | EDR_ESCO_PKT_MASK |
|
#define | BT_HCI_SCO 0x00 |
|
#define | BT_HCI_ACL 0x01 |
|
#define | BT_HCI_ESCO 0x02 |
|
#define | BT_OGF_LINK_CTRL 0x01 |
|
#define | BT_OGF_BASEBAND 0x03 |
|
#define | BT_OGF_INFO 0x04 |
|
#define | BT_OGF_STATUS 0x05 |
|
#define | BT_OGF_LE 0x08 |
|
#define | BT_OGF_VS 0x3f |
|
#define | BT_OP(ogf, ocf) ((ocf) | ((ogf) << 10)) |
|
#define | BT_OP_NOP 0x0000 |
|
#define | BT_OGF(opcode) (((opcode) >> 10) & BIT_MASK(6)) |
|
#define | BT_OCF(opcode) ((opcode) & BIT_MASK(10)) |
|
#define | BT_HCI_OP_INQUIRY BT_OP(BT_OGF_LINK_CTRL, 0x0001) |
|
#define | BT_HCI_OP_INQUIRY_CANCEL BT_OP(BT_OGF_LINK_CTRL, 0x0002) |
|
#define | BT_HCI_OP_CONNECT BT_OP(BT_OGF_LINK_CTRL, 0x0005) |
|
#define | BT_HCI_OP_DISCONNECT BT_OP(BT_OGF_LINK_CTRL, 0x0006) |
|
#define | BT_HCI_OP_CONNECT_CANCEL BT_OP(BT_OGF_LINK_CTRL, 0x0008) |
|
#define | BT_HCI_OP_ACCEPT_CONN_REQ BT_OP(BT_OGF_LINK_CTRL, 0x0009) |
|
#define | BT_HCI_OP_SETUP_SYNC_CONN BT_OP(BT_OGF_LINK_CTRL, 0x0028) |
|
#define | BT_HCI_OP_ACCEPT_SYNC_CONN_REQ BT_OP(BT_OGF_LINK_CTRL, 0x0029) |
|
#define | BT_HCI_OP_REJECT_CONN_REQ BT_OP(BT_OGF_LINK_CTRL, 0x000a) |
|
#define | BT_HCI_OP_LINK_KEY_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x000b) |
|
#define | BT_HCI_OP_LINK_KEY_NEG_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x000c) |
|
#define | BT_HCI_OP_PIN_CODE_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x000d) |
|
#define | BT_HCI_OP_PIN_CODE_NEG_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x000e) |
|
#define | BT_HCI_OP_AUTH_REQUESTED BT_OP(BT_OGF_LINK_CTRL, 0x0011) |
|
#define | BT_HCI_OP_SET_CONN_ENCRYPT BT_OP(BT_OGF_LINK_CTRL, 0x0013) |
|
#define | BT_HCI_OP_REMOTE_NAME_REQUEST BT_OP(BT_OGF_LINK_CTRL, 0x0019) |
|
#define | BT_HCI_OP_REMOTE_NAME_CANCEL BT_OP(BT_OGF_LINK_CTRL, 0x001a) |
|
#define | BT_HCI_OP_READ_REMOTE_FEATURES BT_OP(BT_OGF_LINK_CTRL, 0x001b) |
|
#define | BT_HCI_OP_READ_REMOTE_EXT_FEATURES BT_OP(BT_OGF_LINK_CTRL, 0x001c) |
|
#define | BT_HCI_OP_READ_REMOTE_VERSION_INFO BT_OP(BT_OGF_LINK_CTRL, 0x001d) |
|
#define | BT_HCI_OP_IO_CAPABILITY_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x002b) |
|
#define | BT_HCI_OP_USER_CONFIRM_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x002c) |
|
#define | BT_HCI_OP_USER_CONFIRM_NEG_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x002d) |
|
#define | BT_HCI_OP_USER_PASSKEY_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x002e) |
|
#define | BT_HCI_OP_USER_PASSKEY_NEG_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x002f) |
|
#define | BT_HCI_OP_IO_CAPABILITY_NEG_REPLY BT_OP(BT_OGF_LINK_CTRL, 0x0034) |
|
#define | BT_HCI_OP_SET_EVENT_MASK BT_OP(BT_OGF_BASEBAND, 0x0001) |
|
#define | BT_HCI_OP_RESET BT_OP(BT_OGF_BASEBAND, 0x0003) |
|
#define | BT_HCI_OP_WRITE_LOCAL_NAME BT_OP(BT_OGF_BASEBAND, 0x0013) |
|
#define | BT_HCI_OP_WRITE_PAGE_TIMEOUT BT_OP(BT_OGF_BASEBAND, 0x0018) |
|
#define | BT_HCI_OP_WRITE_SCAN_ENABLE BT_OP(BT_OGF_BASEBAND, 0x001a) |
|
#define | BT_BREDR_SCAN_DISABLED 0x00 |
|
#define | BT_BREDR_SCAN_INQUIRY 0x01 |
|
#define | BT_BREDR_SCAN_PAGE 0x02 |
|
#define | BT_HCI_OP_WRITE_CLASS_OF_DEVICE BT_OP(BT_OGF_BASEBAND, 0x0024) |
|
#define | BT_TX_POWER_LEVEL_CURRENT 0x00 |
|
#define | BT_TX_POWER_LEVEL_MAX 0x01 |
|
#define | BT_HCI_OP_READ_TX_POWER_LEVEL BT_OP(BT_OGF_BASEBAND, 0x002d) |
|
#define | BT_HCI_CTL_TO_HOST_FLOW_DISABLE 0x00 |
|
#define | BT_HCI_CTL_TO_HOST_FLOW_ENABLE 0x01 |
|
#define | BT_HCI_OP_SET_CTL_TO_HOST_FLOW BT_OP(BT_OGF_BASEBAND, 0x0031) |
|
#define | BT_HCI_OP_HOST_BUFFER_SIZE BT_OP(BT_OGF_BASEBAND, 0x0033) |
|
#define | BT_HCI_OP_HOST_NUM_COMPLETED_PACKETS BT_OP(BT_OGF_BASEBAND, 0x0035) |
|
#define | BT_HCI_OP_WRITE_INQUIRY_MODE BT_OP(BT_OGF_BASEBAND, 0x0045) |
|
#define | BT_HCI_OP_WRITE_SSP_MODE BT_OP(BT_OGF_BASEBAND, 0x0056) |
|
#define | BT_HCI_OP_SET_EVENT_MASK_PAGE_2 BT_OP(BT_OGF_BASEBAND, 0x0063) |
|
#define | BT_HCI_OP_LE_WRITE_LE_HOST_SUPP BT_OP(BT_OGF_BASEBAND, 0x006d) |
|
#define | BT_HCI_OP_WRITE_SC_HOST_SUPP BT_OP(BT_OGF_BASEBAND, 0x007a) |
|
#define | BT_HCI_OP_READ_AUTH_PAYLOAD_TIMEOUT BT_OP(BT_OGF_BASEBAND, 0x007b) |
|
#define | BT_HCI_OP_WRITE_AUTH_PAYLOAD_TIMEOUT BT_OP(BT_OGF_BASEBAND, 0x007c) |
|
#define | BT_HCI_OP_CONFIGURE_DATA_PATH BT_OP(BT_OGF_BASEBAND, 0x0083) |
|
#define | BT_HCI_VERSION_1_0B 0 |
|
#define | BT_HCI_VERSION_1_1 1 |
|
#define | BT_HCI_VERSION_1_2 2 |
|
#define | BT_HCI_VERSION_2_0 3 |
|
#define | BT_HCI_VERSION_2_1 4 |
|
#define | BT_HCI_VERSION_3_0 5 |
|
#define | BT_HCI_VERSION_4_0 6 |
|
#define | BT_HCI_VERSION_4_1 7 |
|
#define | BT_HCI_VERSION_4_2 8 |
|
#define | BT_HCI_VERSION_5_0 9 |
|
#define | BT_HCI_VERSION_5_1 10 |
|
#define | BT_HCI_VERSION_5_2 11 |
|
#define | BT_HCI_VERSION_5_3 12 |
|
#define | BT_HCI_OP_READ_LOCAL_VERSION_INFO BT_OP(BT_OGF_INFO, 0x0001) |
|
#define | BT_HCI_OP_READ_SUPPORTED_COMMANDS BT_OP(BT_OGF_INFO, 0x0002) |
|
#define | BT_HCI_OP_READ_LOCAL_EXT_FEATURES BT_OP(BT_OGF_INFO, 0x0004) |
|
#define | BT_HCI_OP_READ_LOCAL_FEATURES BT_OP(BT_OGF_INFO, 0x0003) |
|
#define | BT_HCI_OP_READ_BUFFER_SIZE BT_OP(BT_OGF_INFO, 0x0005) |
|
#define | BT_HCI_OP_READ_BD_ADDR BT_OP(BT_OGF_INFO, 0x0009) |
|
#define | BT_HCI_CODEC_TRANSPORT_MASK_BREDR_ACL BIT(0) |
|
#define | BT_HCI_CODEC_TRANSPORT_MASK_BREDR_SCO BIT(1) |
|
#define | BT_HCI_CODEC_TRANSPORT_MASK_LE_CIS BIT(2) |
|
#define | BT_HCI_CODEC_TRANSPORT_MASK_LE_BIS BIT(3) |
|
#define | BT_HCI_LOGICAL_TRANSPORT_TYPE_BREDR_ACL 0x00 |
|
#define | BT_HCI_LOGICAL_TRANSPORT_TYPE_BREDR_SCO 0x01 |
|
#define | BT_HCI_LOGICAL_TRANSPORT_TYPE_LE_CIS 0x02 |
|
#define | BT_HCI_LOGICAL_TRANSPORT_TYPE_LE_BIS 0x03 |
|
#define | BT_HCI_DATAPATH_DIR_HOST_TO_CTLR 0x00 |
|
#define | BT_HCI_DATAPATH_DIR_CTLR_TO_HOST 0x01 |
|
#define | BT_HCI_DATAPATH_ID_HCI 0x00 |
|
#define | BT_HCI_DATAPATH_ID_VS 0x01 |
|
#define | BT_HCI_DATAPATH_ID_VS_END 0xfe |
|
#define | BT_HCI_DATAPATH_ID_DISABLED 0xff |
|
#define | BT_HCI_CODING_FORMAT_ULAW_LOG 0x00 |
|
#define | BT_HCI_CODING_FORMAT_ALAW_LOG 0x01 |
|
#define | BT_HCI_CODING_FORMAT_CVSD 0x02 |
|
#define | BT_HCI_CODING_FORMAT_TRANSPARENT 0x03 |
|
#define | BT_HCI_CODING_FORMAT_LINEAR_PCM 0x04 |
|
#define | BT_HCI_CODING_FORMAT_MSBC 0x05 |
|
#define | BT_HCI_CODING_FORMAT_VS 0xFF |
|
#define | BT_HCI_OP_READ_CODECS BT_OP(BT_OGF_INFO, 0x000b) |
|
#define | BT_HCI_OP_READ_CODECS_V2 BT_OP(BT_OGF_INFO, 0x000d) |
|
#define | BT_HCI_OP_READ_CODEC_CAPABILITIES BT_OP(BT_OGF_INFO, 0x000e) |
|
#define | BT_HCI_OP_READ_CTLR_DELAY BT_OP(BT_OGF_INFO, 0x000f) |
|
#define | BT_HCI_OP_READ_RSSI BT_OP(BT_OGF_STATUS, 0x0005) |
|
#define | BT_HCI_ENCRYPTION_KEY_SIZE_MIN 7 |
|
#define | BT_HCI_ENCRYPTION_KEY_SIZE_MAX 16 |
|
#define | BT_HCI_OP_READ_ENCRYPTION_KEY_SIZE BT_OP(BT_OGF_STATUS, 0x0008) |
|
#define | BT_HCI_OP_LE_SET_EVENT_MASK BT_OP(BT_OGF_LE, 0x0001) |
|
#define | BT_HCI_OP_LE_READ_BUFFER_SIZE BT_OP(BT_OGF_LE, 0x0002) |
|
#define | BT_HCI_OP_LE_READ_LOCAL_FEATURES BT_OP(BT_OGF_LE, 0x0003) |
|
#define | BT_HCI_OP_LE_SET_RANDOM_ADDRESS BT_OP(BT_OGF_LE, 0x0005) |
|
#define | BT_HCI_ADV_IND 0x00 |
|
#define | BT_HCI_ADV_DIRECT_IND 0x01 |
|
#define | BT_HCI_ADV_SCAN_IND 0x02 |
|
#define | BT_HCI_ADV_NONCONN_IND 0x03 |
|
#define | BT_HCI_ADV_DIRECT_IND_LOW_DUTY 0x04 |
|
#define | BT_HCI_ADV_SCAN_RSP 0x04 |
|
#define | BT_LE_ADV_INTERVAL_MIN 0x0020 |
|
#define | BT_LE_ADV_INTERVAL_MAX 0x4000 |
|
#define | BT_LE_ADV_INTERVAL_DEFAULT 0x0800 |
|
#define | BT_LE_ADV_CHAN_MAP_CHAN_37 0x01 |
|
#define | BT_LE_ADV_CHAN_MAP_CHAN_38 0x02 |
|
#define | BT_LE_ADV_CHAN_MAP_CHAN_39 0x04 |
|
#define | BT_LE_ADV_CHAN_MAP_ALL 0x07 |
|
#define | BT_LE_ADV_FP_NO_FILTER 0x00 |
|
#define | BT_LE_ADV_FP_FILTER_SCAN_REQ 0x01 |
|
#define | BT_LE_ADV_FP_FILTER_CONN_IND 0x02 |
|
#define | BT_LE_ADV_FP_FILTER_BOTH 0x03 |
|
#define | BT_HCI_OP_LE_SET_ADV_PARAM BT_OP(BT_OGF_LE, 0x0006) |
|
#define | BT_HCI_OP_LE_READ_ADV_CHAN_TX_POWER BT_OP(BT_OGF_LE, 0x0007) |
|
#define | BT_HCI_OP_LE_SET_ADV_DATA BT_OP(BT_OGF_LE, 0x0008) |
|
#define | BT_HCI_OP_LE_SET_SCAN_RSP_DATA BT_OP(BT_OGF_LE, 0x0009) |
|
#define | BT_HCI_LE_ADV_DISABLE 0x00 |
|
#define | BT_HCI_LE_ADV_ENABLE 0x01 |
|
#define | BT_HCI_OP_LE_SET_ADV_ENABLE BT_OP(BT_OGF_LE, 0x000a) |
|
#define | BT_HCI_OP_LE_SET_SCAN_PARAM BT_OP(BT_OGF_LE, 0x000b) |
|
#define | BT_HCI_LE_SCAN_PASSIVE 0x00 |
|
#define | BT_HCI_LE_SCAN_ACTIVE 0x01 |
|
#define | BT_HCI_LE_SCAN_FP_BASIC_NO_FILTER 0x00 |
|
#define | BT_HCI_LE_SCAN_FP_BASIC_FILTER 0x01 |
|
#define | BT_HCI_LE_SCAN_FP_EXT_NO_FILTER 0x02 |
|
#define | BT_HCI_LE_SCAN_FP_EXT_FILTER 0x03 |
|
#define | BT_HCI_OP_LE_SET_SCAN_ENABLE BT_OP(BT_OGF_LE, 0x000c) |
|
#define | BT_HCI_LE_SCAN_DISABLE 0x00 |
|
#define | BT_HCI_LE_SCAN_ENABLE 0x01 |
|
#define | BT_HCI_LE_SCAN_FILTER_DUP_DISABLE 0x00 |
|
#define | BT_HCI_LE_SCAN_FILTER_DUP_ENABLE 0x01 |
|
#define | BT_HCI_OP_LE_CREATE_CONN BT_OP(BT_OGF_LE, 0x000d) |
|
#define | BT_HCI_LE_CREATE_CONN_FP_NO_FILTER 0x00 |
|
#define | BT_HCI_LE_CREATE_CONN_FP_FILTER 0x01 |
|
#define | BT_HCI_OP_LE_CREATE_CONN_CANCEL BT_OP(BT_OGF_LE, 0x000e) |
|
#define | BT_HCI_OP_LE_READ_FAL_SIZE BT_OP(BT_OGF_LE, 0x000f) |
|
#define | BT_HCI_OP_LE_CLEAR_FAL BT_OP(BT_OGF_LE, 0x0010) |
|
#define | BT_HCI_OP_LE_ADD_DEV_TO_FAL BT_OP(BT_OGF_LE, 0x0011) |
|
#define | BT_HCI_OP_LE_REM_DEV_FROM_FAL BT_OP(BT_OGF_LE, 0x0012) |
|
#define | BT_HCI_OP_LE_CONN_UPDATE BT_OP(BT_OGF_LE, 0x0013) |
|
#define | BT_HCI_OP_LE_SET_HOST_CHAN_CLASSIF BT_OP(BT_OGF_LE, 0x0014) |
|
#define | BT_HCI_OP_LE_READ_CHAN_MAP BT_OP(BT_OGF_LE, 0x0015) |
|
#define | BT_HCI_OP_LE_READ_REMOTE_FEATURES BT_OP(BT_OGF_LE, 0x0016) |
|
#define | BT_HCI_OP_LE_ENCRYPT BT_OP(BT_OGF_LE, 0x0017) |
|
#define | BT_HCI_OP_LE_RAND BT_OP(BT_OGF_LE, 0x0018) |
|
#define | BT_HCI_OP_LE_START_ENCRYPTION BT_OP(BT_OGF_LE, 0x0019) |
|
#define | BT_HCI_OP_LE_LTK_REQ_REPLY BT_OP(BT_OGF_LE, 0x001a) |
|
#define | BT_HCI_OP_LE_LTK_REQ_NEG_REPLY BT_OP(BT_OGF_LE, 0x001b) |
|
#define | BT_HCI_OP_LE_READ_SUPP_STATES BT_OP(BT_OGF_LE, 0x001c) |
|
#define | BT_HCI_OP_LE_RX_TEST BT_OP(BT_OGF_LE, 0x001d) |
|
#define | BT_HCI_OP_LE_TX_TEST BT_OP(BT_OGF_LE, 0x001e) |
|
#define | BT_HCI_OP_LE_TEST_END BT_OP(BT_OGF_LE, 0x001f) |
|
#define | BT_HCI_OP_LE_CONN_PARAM_REQ_REPLY BT_OP(BT_OGF_LE, 0x0020) |
|
#define | BT_HCI_OP_LE_CONN_PARAM_REQ_NEG_REPLY BT_OP(BT_OGF_LE, 0x0021) |
|
#define | BT_HCI_OP_LE_SET_DATA_LEN BT_OP(BT_OGF_LE, 0x0022) |
|
#define | BT_HCI_OP_LE_READ_DEFAULT_DATA_LEN BT_OP(BT_OGF_LE, 0x0023) |
|
#define | BT_HCI_OP_LE_WRITE_DEFAULT_DATA_LEN BT_OP(BT_OGF_LE, 0x0024) |
|
#define | BT_HCI_OP_LE_P256_PUBLIC_KEY BT_OP(BT_OGF_LE, 0x0025) |
|
#define | BT_HCI_OP_LE_GENERATE_DHKEY BT_OP(BT_OGF_LE, 0x0026) |
|
#define | BT_HCI_OP_LE_GENERATE_DHKEY_V2 BT_OP(BT_OGF_LE, 0x005e) |
|
#define | BT_HCI_LE_KEY_TYPE_GENERATED 0x00 |
|
#define | BT_HCI_LE_KEY_TYPE_DEBUG 0x01 |
|
#define | BT_HCI_OP_LE_ADD_DEV_TO_RL BT_OP(BT_OGF_LE, 0x0027) |
|
#define | BT_HCI_OP_LE_REM_DEV_FROM_RL BT_OP(BT_OGF_LE, 0x0028) |
|
#define | BT_HCI_OP_LE_CLEAR_RL BT_OP(BT_OGF_LE, 0x0029) |
|
#define | BT_HCI_OP_LE_READ_RL_SIZE BT_OP(BT_OGF_LE, 0x002a) |
|
#define | BT_HCI_OP_LE_READ_PEER_RPA BT_OP(BT_OGF_LE, 0x002b) |
|
#define | BT_HCI_OP_LE_READ_LOCAL_RPA BT_OP(BT_OGF_LE, 0x002c) |
|
#define | BT_HCI_ADDR_RES_DISABLE 0x00 |
|
#define | BT_HCI_ADDR_RES_ENABLE 0x01 |
|
#define | BT_HCI_OP_LE_SET_ADDR_RES_ENABLE BT_OP(BT_OGF_LE, 0x002d) |
|
#define | BT_HCI_OP_LE_SET_RPA_TIMEOUT BT_OP(BT_OGF_LE, 0x002e) |
|
#define | BT_HCI_OP_LE_READ_MAX_DATA_LEN BT_OP(BT_OGF_LE, 0x002f) |
|
#define | BT_HCI_LE_PHY_1M 0x01 |
|
#define | BT_HCI_LE_PHY_2M 0x02 |
|
#define | BT_HCI_LE_PHY_CODED 0x03 |
|
#define | BT_HCI_OP_LE_READ_PHY BT_OP(BT_OGF_LE, 0x0030) |
|
#define | BT_HCI_LE_PHY_TX_ANY BIT(0) |
|
#define | BT_HCI_LE_PHY_RX_ANY BIT(1) |
|
#define | BT_HCI_LE_PHY_PREFER_1M BIT(0) |
|
#define | BT_HCI_LE_PHY_PREFER_2M BIT(1) |
|
#define | BT_HCI_LE_PHY_PREFER_CODED BIT(2) |
|
#define | BT_HCI_OP_LE_SET_DEFAULT_PHY BT_OP(BT_OGF_LE, 0x0031) |
|
#define | BT_HCI_LE_PHY_CODED_ANY 0x00 |
|
#define | BT_HCI_LE_PHY_CODED_S2 0x01 |
|
#define | BT_HCI_LE_PHY_CODED_S8 0x02 |
|
#define | BT_HCI_OP_LE_SET_PHY BT_OP(BT_OGF_LE, 0x0032) |
|
#define | BT_HCI_LE_MOD_INDEX_STANDARD 0x00 |
|
#define | BT_HCI_LE_MOD_INDEX_STABLE 0x01 |
|
#define | BT_HCI_OP_LE_ENH_RX_TEST BT_OP(BT_OGF_LE, 0x0033) |
|
#define | BT_HCI_LE_TX_PHY_CODED_S8 0x03 |
|
#define | BT_HCI_LE_TX_PHY_CODED_S2 0x04 |
|
#define | BT_HCI_OP_LE_ENH_TX_TEST BT_OP(BT_OGF_LE, 0x0034) |
|
#define | BT_HCI_OP_LE_SET_ADV_SET_RANDOM_ADDR BT_OP(BT_OGF_LE, 0x0035) |
|
#define | BT_HCI_LE_ADV_PROP_CONN BIT(0) |
|
#define | BT_HCI_LE_ADV_PROP_SCAN BIT(1) |
|
#define | BT_HCI_LE_ADV_PROP_DIRECT BIT(2) |
|
#define | BT_HCI_LE_ADV_PROP_HI_DC_CONN BIT(3) |
|
#define | BT_HCI_LE_ADV_PROP_LEGACY BIT(4) |
|
#define | BT_HCI_LE_ADV_PROP_ANON BIT(5) |
|
#define | BT_HCI_LE_ADV_PROP_TX_POWER BIT(6) |
|
#define | BT_HCI_LE_ADV_SCAN_REQ_ENABLE 1 |
|
#define | BT_HCI_LE_ADV_SCAN_REQ_DISABLE 0 |
|
#define | BT_HCI_LE_ADV_TX_POWER_NO_PREF 0x7F |
|
#define | BT_HCI_LE_ADV_HANDLE_MAX 0xEF |
|
#define | BT_HCI_LE_EXT_ADV_SID_INVALID 0xFF |
|
#define | BT_HCI_OP_LE_SET_EXT_ADV_PARAM BT_OP(BT_OGF_LE, 0x0036) |
|
#define | BT_HCI_LE_EXT_ADV_OP_INTERM_FRAG 0x00 |
|
#define | BT_HCI_LE_EXT_ADV_OP_FIRST_FRAG 0x01 |
|
#define | BT_HCI_LE_EXT_ADV_OP_LAST_FRAG 0x02 |
|
#define | BT_HCI_LE_EXT_ADV_OP_COMPLETE_DATA 0x03 |
|
#define | BT_HCI_LE_EXT_ADV_OP_UNCHANGED_DATA 0x04 |
|
#define | BT_HCI_LE_EXT_ADV_FRAG_ENABLED 0x00 |
|
#define | BT_HCI_LE_EXT_ADV_FRAG_DISABLED 0x01 |
|
#define | BT_HCI_LE_EXT_ADV_FRAG_MAX_LEN 251 |
|
#define | BT_HCI_OP_LE_SET_EXT_ADV_DATA BT_OP(BT_OGF_LE, 0x0037) |
|
#define | BT_HCI_OP_LE_SET_EXT_SCAN_RSP_DATA BT_OP(BT_OGF_LE, 0x0038) |
|
#define | BT_HCI_OP_LE_SET_EXT_ADV_ENABLE BT_OP(BT_OGF_LE, 0x0039) |
|
#define | BT_HCI_OP_LE_READ_MAX_ADV_DATA_LEN BT_OP(BT_OGF_LE, 0x003a) |
|
#define | BT_HCI_OP_LE_READ_NUM_ADV_SETS BT_OP(BT_OGF_LE, 0x003b) |
|
#define | BT_HCI_OP_LE_REMOVE_ADV_SET BT_OP(BT_OGF_LE, 0x003c) |
|
#define | BT_HCI_OP_CLEAR_ADV_SETS BT_OP(BT_OGF_LE, 0x003d) |
|
#define | BT_HCI_OP_LE_SET_PER_ADV_PARAM BT_OP(BT_OGF_LE, 0x003e) |
|
#define | BT_HCI_LE_PER_ADV_OP_INTERM_FRAG 0x00 |
|
#define | BT_HCI_LE_PER_ADV_OP_FIRST_FRAG 0x01 |
|
#define | BT_HCI_LE_PER_ADV_OP_LAST_FRAG 0x02 |
|
#define | BT_HCI_LE_PER_ADV_OP_COMPLETE_DATA 0x03 |
|
#define | BT_HCI_LE_PER_ADV_FRAG_MAX_LEN 252 |
|
#define | BT_HCI_OP_LE_SET_PER_ADV_DATA BT_OP(BT_OGF_LE, 0x003f) |
|
#define | BT_HCI_OP_LE_SET_PER_ADV_ENABLE BT_OP(BT_OGF_LE, 0x0040) |
|
#define | BT_HCI_OP_LE_SET_EXT_SCAN_PARAM BT_OP(BT_OGF_LE, 0x0041) |
|
#define | BT_HCI_LE_EXT_SCAN_PHY_1M BIT(0) |
|
#define | BT_HCI_LE_EXT_SCAN_PHY_2M BIT(1) |
|
#define | BT_HCI_LE_EXT_SCAN_PHY_CODED BIT(2) |
|
#define | BT_HCI_LE_EXT_SCAN_FILTER_DUP_ENABLE_RESET 0x02 |
|
#define | BT_HCI_OP_LE_SET_EXT_SCAN_ENABLE BT_OP(BT_OGF_LE, 0x0042) |
|
#define | BT_HCI_OP_LE_EXT_CREATE_CONN BT_OP(BT_OGF_LE, 0x0043) |
|
#define | BT_HCI_LE_PER_ADV_CREATE_SYNC_FP_USE_LIST BIT(0) |
|
#define | BT_HCI_LE_PER_ADV_CREATE_SYNC_FP_REPORTS_DISABLED BIT(1) |
|
#define | BT_HCI_LE_PER_ADV_CREATE_SYNC_CTE_TYPE_NO_AOA BIT(0) |
|
#define | BT_HCI_LE_PER_ADV_CREATE_SYNC_CTE_TYPE_NO_AOD_1US BIT(1) |
|
#define | BT_HCI_LE_PER_ADV_CREATE_SYNC_CTE_TYPE_NO_AOD_2US BIT(2) |
|
#define | BT_HCI_LE_PER_ADV_CREATE_SYNC_CTE_TYPE_NO_CTE BIT(3) |
|
#define | BT_HCI_LE_PER_ADV_CREATE_SYNC_CTE_TYPE_ONLY_CTE BIT(4) |
|
#define | BT_HCI_OP_LE_PER_ADV_CREATE_SYNC BT_OP(BT_OGF_LE, 0x0044) |
|
#define | BT_HCI_OP_LE_PER_ADV_CREATE_SYNC_CANCEL BT_OP(BT_OGF_LE, 0x0045) |
|
#define | BT_HCI_OP_LE_PER_ADV_TERMINATE_SYNC BT_OP(BT_OGF_LE, 0x0046) |
|
#define | BT_HCI_OP_LE_ADD_DEV_TO_PER_ADV_LIST BT_OP(BT_OGF_LE, 0x0047) |
|
#define | BT_HCI_OP_LE_REM_DEV_FROM_PER_ADV_LIST BT_OP(BT_OGF_LE, 0x0048) |
|
#define | BT_HCI_OP_LE_CLEAR_PER_ADV_LIST BT_OP(BT_OGF_LE, 0x0049) |
|
#define | BT_HCI_OP_LE_READ_PER_ADV_LIST_SIZE BT_OP(BT_OGF_LE, 0x004a) |
|
#define | BT_HCI_OP_LE_READ_TX_POWER BT_OP(BT_OGF_LE, 0x004b) |
|
#define | BT_HCI_OP_LE_READ_RF_PATH_COMP BT_OP(BT_OGF_LE, 0x004c) |
|
#define | BT_HCI_OP_LE_WRITE_RF_PATH_COMP BT_OP(BT_OGF_LE, 0x004d) |
|
#define | BT_HCI_LE_PRIVACY_MODE_NETWORK 0x00 |
|
#define | BT_HCI_LE_PRIVACY_MODE_DEVICE 0x01 |
|
#define | BT_HCI_OP_LE_SET_PRIVACY_MODE BT_OP(BT_OGF_LE, 0x004e) |
|
#define | BT_HCI_LE_CTE_LEN_MIN 0x2 |
|
#define | BT_HCI_LE_CTE_LEN_MAX 0x14 |
|
#define | BT_HCI_LE_AOA_CTE 0x0 |
|
#define | BT_HCI_LE_AOD_CTE_1US 0x1 |
|
#define | BT_HCI_LE_AOD_CTE_2US 0x2 |
|
#define | BT_HCI_LE_NO_CTE 0xFF |
|
#define | BT_HCI_LE_CTE_COUNT_MIN 0x1 |
|
#define | BT_HCI_LE_CTE_COUNT_MAX 0x10 |
|
#define | BT_HCI_OP_LE_SET_CL_CTE_TX_PARAMS BT_OP(BT_OGF_LE, 0x0051) |
|
#define | BT_HCI_OP_LE_SET_CL_CTE_TX_ENABLE BT_OP(BT_OGF_LE, 0x0052) |
|
#define | BT_HCI_LE_ANTENNA_SWITCHING_SLOT_1US 0x1 |
|
#define | BT_HCI_LE_ANTENNA_SWITCHING_SLOT_2US 0x2 |
|
#define | BT_HCI_LE_SAMPLE_CTE_ALL 0x0 |
|
#define | BT_HCI_LE_SAMPLE_CTE_COUNT_MIN 0x1 |
|
#define | BT_HCI_LE_SAMPLE_CTE_COUNT_MAX 0x10 |
|
#define | BT_HCI_OP_LE_SET_CL_CTE_SAMPLING_ENABLE BT_OP(BT_OGF_LE, 0x0053) |
|
#define | BT_HCI_OP_LE_SET_CONN_CTE_RX_PARAMS BT_OP(BT_OGF_LE, 0x0054) |
|
#define | BT_HCI_LE_AOA_CTE_RSP BIT(0) |
|
#define | BT_HCI_LE_AOD_CTE_RSP_1US BIT(1) |
|
#define | BT_HCI_LE_AOD_CTE_RSP_2US BIT(2) |
|
#define | BT_HCI_LE_SWITCH_PATTERN_LEN_MIN 0x2 |
|
#define | BT_HCI_LE_SWITCH_PATTERN_LEN_MAX 0x4B |
|
#define | BT_HCI_OP_LE_SET_CONN_CTE_TX_PARAMS BT_OP(BT_OGF_LE, 0x0055) |
|
#define | BT_HCI_REQUEST_CTE_ONCE 0x0 |
|
#define | BT_HCI_REQUEST_CTE_INTERVAL_MIN 0x1 |
|
#define | BT_HCI_REQUEST_CTE_INTERVAL_MAX 0xFFFF |
|
#define | BT_HCI_OP_LE_CONN_CTE_REQ_ENABLE BT_OP(BT_OGF_LE, 0x0056) |
|
#define | BT_HCI_OP_LE_CONN_CTE_RSP_ENABLE BT_OP(BT_OGF_LE, 0x0057) |
|
#define | BT_HCI_LE_1US_AOD_TX BIT(0) |
|
#define | BT_HCI_LE_1US_AOD_RX BIT(1) |
|
#define | BT_HCI_LE_1US_AOA_RX BIT(2) |
|
#define | BT_HCI_LE_NUM_ANT_MIN 0x1 |
|
#define | BT_HCI_LE_NUM_ANT_MAX 0x4B |
|
#define | BT_HCI_LE_MAX_SWITCH_PATTERN_LEN_MIN 0x2 |
|
#define | BT_HCI_LE_MAX_SWITCH_PATTERN_LEN_MAX 0x4B |
|
#define | BT_HCI_LE_MAX_CTE_LEN_MIN 0x2 |
|
#define | BT_HCI_LE_MAX_CTE_LEN_MAX 0x14 |
|
#define | BT_HCI_OP_LE_READ_ANT_INFO BT_OP(BT_OGF_LE, 0x0058) |
|
#define | BT_HCI_OP_LE_SET_PER_ADV_RECV_ENABLE BT_OP(BT_OGF_LE, 0x0059) |
|
#define | BT_HCI_OP_LE_PER_ADV_SYNC_TRANSFER BT_OP(BT_OGF_LE, 0x005a) |
|
#define | BT_HCI_OP_LE_PER_ADV_SET_INFO_TRANSFER BT_OP(BT_OGF_LE, 0x005b) |
|
#define | BT_HCI_LE_PAST_MODE_NO_SYNC 0x00 |
|
#define | BT_HCI_LE_PAST_MODE_NO_REPORTS 0x01 |
|
#define | BT_HCI_LE_PAST_MODE_SYNC 0x02 |
|
#define | BT_HCI_LE_PAST_CTE_TYPE_NO_AOA BIT(0) |
|
#define | BT_HCI_LE_PAST_CTE_TYPE_NO_AOD_1US BIT(1) |
|
#define | BT_HCI_LE_PAST_CTE_TYPE_NO_AOD_2US BIT(2) |
|
#define | BT_HCI_LE_PAST_CTE_TYPE_NO_CTE BIT(3) |
|
#define | BT_HCI_LE_PAST_CTE_TYPE_ONLY_CTE BIT(4) |
|
#define | BT_HCI_OP_LE_PAST_PARAM BT_OP(BT_OGF_LE, 0x005c) |
|
#define | BT_HCI_OP_LE_DEFAULT_PAST_PARAM BT_OP(BT_OGF_LE, 0x005d) |
|
#define | BT_HCI_OP_LE_READ_BUFFER_SIZE_V2 BT_OP(BT_OGF_LE, 0x0060) |
|
#define | BT_HCI_OP_LE_READ_ISO_TX_SYNC BT_OP(BT_OGF_LE, 0x0061) |
|
#define | BT_HCI_OP_LE_SET_CIG_PARAMS BT_OP(BT_OGF_LE, 0x0062) |
|
#define | BT_HCI_OP_LE_SET_CIG_PARAMS_TEST BT_OP(BT_OGF_LE, 0x0063) |
|
#define | BT_HCI_OP_LE_CREATE_CIS BT_OP(BT_OGF_LE, 0x0064) |
|
#define | BT_HCI_OP_LE_REMOVE_CIG BT_OP(BT_OGF_LE, 0x0065) |
|
#define | BT_HCI_OP_LE_ACCEPT_CIS BT_OP(BT_OGF_LE, 0x0066) |
|
#define | BT_HCI_OP_LE_REJECT_CIS BT_OP(BT_OGF_LE, 0x0067) |
|
#define | BT_HCI_OP_LE_CREATE_BIG BT_OP(BT_OGF_LE, 0x0068) |
|
#define | BT_HCI_OP_LE_CREATE_BIG_TEST BT_OP(BT_OGF_LE, 0x0069) |
|
#define | BT_HCI_OP_LE_TERMINATE_BIG BT_OP(BT_OGF_LE, 0x006a) |
|
#define | BT_HCI_OP_LE_BIG_CREATE_SYNC BT_OP(BT_OGF_LE, 0x006b) |
|
#define | BT_HCI_OP_LE_BIG_TERMINATE_SYNC BT_OP(BT_OGF_LE, 0x006c) |
|
#define | BT_HCI_OP_LE_REQ_PEER_SC BT_OP(BT_OGF_LE, 0x006d) |
|
#define | BT_HCI_OP_LE_SETUP_ISO_PATH BT_OP(BT_OGF_LE, 0x006e) |
|
#define | BT_HCI_OP_LE_REMOVE_ISO_PATH BT_OP(BT_OGF_LE, 0x006f) |
|
#define | BT_HCI_OP_LE_ISO_TRANSMIT_TEST BT_OP(BT_OGF_LE, 0x0070) |
|
#define | BT_HCI_OP_LE_ISO_RECEIVE_TEST BT_OP(BT_OGF_LE, 0x0071) |
|
#define | BT_HCI_OP_LE_ISO_READ_TEST_COUNTERS BT_OP(BT_OGF_LE, 0x0072) |
|
#define | BT_HCI_OP_LE_ISO_TEST_END BT_OP(BT_OGF_LE, 0x0073) |
|
#define | BT_HCI_OP_LE_SET_HOST_FEATURE BT_OP(BT_OGF_LE, 0x0074) |
|
#define | BT_HCI_OP_LE_READ_ISO_LINK_QUALITY BT_OP(BT_OGF_LE, 0x0075) |
|
#define | BT_HCI_EVT_UNKNOWN 0x00 |
|
#define | BT_HCI_EVT_VENDOR 0xff |
|
#define | BT_HCI_EVT_INQUIRY_COMPLETE 0x01 |
|
#define | BT_HCI_EVT_CONN_COMPLETE 0x03 |
|
#define | BT_HCI_EVT_CONN_REQUEST 0x04 |
|
#define | BT_HCI_EVT_DISCONN_COMPLETE 0x05 |
|
#define | BT_HCI_EVT_AUTH_COMPLETE 0x06 |
|
#define | BT_HCI_EVT_REMOTE_NAME_REQ_COMPLETE 0x07 |
|
#define | BT_HCI_EVT_ENCRYPT_CHANGE 0x08 |
|
#define | BT_HCI_EVT_REMOTE_FEATURES 0x0b |
|
#define | BT_HCI_EVT_REMOTE_VERSION_INFO 0x0c |
|
#define | BT_HCI_EVT_CMD_COMPLETE 0x0e |
|
#define | BT_HCI_EVT_CMD_STATUS 0x0f |
|
#define | BT_HCI_EVT_HARDWARE_ERROR 0x10 |
|
#define | BT_HCI_EVT_ROLE_CHANGE 0x12 |
|
#define | BT_HCI_EVT_NUM_COMPLETED_PACKETS 0x13 |
|
#define | BT_HCI_EVT_PIN_CODE_REQ 0x16 |
|
#define | BT_HCI_EVT_LINK_KEY_REQ 0x17 |
|
#define | BT_LK_COMBINATION 0x00 |
|
#define | BT_LK_LOCAL_UNIT 0x01 |
|
#define | BT_LK_REMOTE_UNIT 0x02 |
|
#define | BT_LK_DEBUG_COMBINATION 0x03 |
|
#define | BT_LK_UNAUTH_COMBINATION_P192 0x04 |
|
#define | BT_LK_AUTH_COMBINATION_P192 0x05 |
|
#define | BT_LK_CHANGED_COMBINATION 0x06 |
|
#define | BT_LK_UNAUTH_COMBINATION_P256 0x07 |
|
#define | BT_LK_AUTH_COMBINATION_P256 0x08 |
|
#define | BT_HCI_EVT_LINK_KEY_NOTIFY 0x18 |
|
#define | BT_OVERFLOW_LINK_SYNCH 0x00 |
|
#define | BT_OVERFLOW_LINK_ACL 0x01 |
|
#define | BT_HCI_EVT_DATA_BUF_OVERFLOW 0x1a |
|
#define | BT_HCI_EVT_INQUIRY_RESULT_WITH_RSSI 0x22 |
|
#define | BT_HCI_EVT_REMOTE_EXT_FEATURES 0x23 |
|
#define | BT_HCI_EVT_SYNC_CONN_COMPLETE 0x2c |
|
#define | BT_HCI_EVT_EXTENDED_INQUIRY_RESULT 0x2f |
|
#define | BT_HCI_EVT_ENCRYPT_KEY_REFRESH_COMPLETE 0x30 |
|
#define | BT_HCI_EVT_IO_CAPA_REQ 0x31 |
|
#define | BT_HCI_EVT_IO_CAPA_RESP 0x32 |
|
#define | BT_HCI_EVT_USER_CONFIRM_REQ 0x33 |
|
#define | BT_HCI_EVT_USER_PASSKEY_REQ 0x34 |
|
#define | BT_HCI_EVT_SSP_COMPLETE 0x36 |
|
#define | BT_HCI_EVT_USER_PASSKEY_NOTIFY 0x3b |
|
#define | BT_HCI_EVT_LE_META_EVENT 0x3e |
|
#define | BT_HCI_EVT_AUTH_PAYLOAD_TIMEOUT_EXP 0x57 |
|
#define | BT_HCI_ROLE_CENTRAL 0x00 |
|
#define | BT_HCI_ROLE_PERIPHERAL 0x01 |
|
#define | BT_HCI_EVT_LE_CONN_COMPLETE 0x01 |
|
#define | BT_HCI_LE_RSSI_NOT_AVAILABLE 0x7F |
|
#define | BT_HCI_EVT_LE_ADVERTISING_REPORT 0x02 |
|
#define | BT_HCI_EVT_LE_CONN_UPDATE_COMPLETE 0x03 |
|
#define | BT_HCI_EVT_LE_REMOTE_FEAT_COMPLETE 0x04 |
|
#define | BT_HCI_EVT_LE_LTK_REQUEST 0x05 |
|
#define | BT_HCI_EVT_LE_CONN_PARAM_REQ 0x06 |
|
#define | BT_HCI_EVT_LE_DATA_LEN_CHANGE 0x07 |
|
#define | BT_HCI_EVT_LE_P256_PUBLIC_KEY_COMPLETE 0x08 |
|
#define | BT_HCI_EVT_LE_GENERATE_DHKEY_COMPLETE 0x09 |
|
#define | BT_HCI_EVT_LE_ENH_CONN_COMPLETE 0x0a |
|
#define | BT_HCI_EVT_LE_DIRECT_ADV_REPORT 0x0b |
|
#define | BT_HCI_EVT_LE_PHY_UPDATE_COMPLETE 0x0c |
|
#define | BT_HCI_EVT_LE_EXT_ADVERTISING_REPORT 0x0d |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_CONN BIT(0) |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_SCAN BIT(1) |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_DIRECT BIT(2) |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_SCAN_RSP BIT(3) |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_LEGACY BIT(4) |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS(ev_type) (((ev_type) >> 5) & 0x03) |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS_COMPLETE 0 |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS_PARTIAL 1 |
|
#define | BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS_INCOMPLETE 2 |
|
#define | BT_HCI_EVT_LE_PER_ADV_SYNC_ESTABLISHED 0x0e |
|
#define | BT_HCI_EVT_LE_PER_ADVERTISING_REPORT 0x0f |
|
#define | BT_HCI_EVT_LE_PER_ADV_SYNC_LOST 0x10 |
|
#define | BT_HCI_EVT_LE_SCAN_TIMEOUT 0x11 |
|
#define | BT_HCI_EVT_LE_ADV_SET_TERMINATED 0x12 |
|
#define | BT_HCI_EVT_LE_SCAN_REQ_RECEIVED 0x13 |
|
#define | BT_HCI_LE_CHAN_SEL_ALGO_1 0x00 |
|
#define | BT_HCI_LE_CHAN_SEL_ALGO_2 0x01 |
|
#define | BT_HCI_EVT_LE_CHAN_SEL_ALGO 0x14 |
|
#define | BT_HCI_LE_CTE_CRC_OK 0x0 |
|
#define | BT_HCI_LE_CTE_CRC_ERR_CTE_BASED_TIME 0x1 |
|
#define | BT_HCI_LE_CTE_CRC_ERR_CTE_BASED_OTHER 0x2 |
|
#define | BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES 0xFF |
|
#define | B_HCI_LE_CTE_REPORT_SAMPLE_COUNT_MIN 0x9 |
|
#define | B_HCI_LE_CTE_REPORT_SAMPLE_COUNT_MAX 0x52 |
|
#define | BT_HCI_LE_CTE_REPORT_NO_VALID_SAMPLE 0x80 |
|
#define | BT_HCI_EVT_LE_CONNECTIONLESS_IQ_REPORT 0x15 |
|
#define | BT_HCI_EVT_LE_CONNECTION_IQ_REPORT 0x16 |
|
#define | BT_HCI_EVT_LE_CTE_REQUEST_FAILED 0x17 |
|
#define | BT_HCI_EVT_LE_PAST_RECEIVED 0x18 |
|
#define | BT_HCI_EVT_LE_CIS_ESTABLISHED 0x19 |
|
#define | BT_HCI_EVT_LE_CIS_REQ 0x1a |
|
#define | BT_HCI_EVT_LE_BIG_COMPLETE 0x1b |
|
#define | BT_HCI_EVT_LE_BIG_TERMINATE 0x1c |
|
#define | BT_HCI_EVT_LE_BIG_SYNC_ESTABLISHED 0x1d |
|
#define | BT_HCI_EVT_LE_BIG_SYNC_LOST 0x1e |
|
#define | BT_HCI_EVT_LE_REQ_PEER_SCA_COMPLETE 0x1f |
|
#define | BT_HCI_EVT_LE_BIGINFO_ADV_REPORT 0x22 |
|
#define | BT_EVT_BIT(n) (1ULL << (n)) |
|
#define | BT_EVT_MASK_INQUIRY_COMPLETE BT_EVT_BIT(0) |
|
#define | BT_EVT_MASK_CONN_COMPLETE BT_EVT_BIT(2) |
|
#define | BT_EVT_MASK_CONN_REQUEST BT_EVT_BIT(3) |
|
#define | BT_EVT_MASK_DISCONN_COMPLETE BT_EVT_BIT(4) |
|
#define | BT_EVT_MASK_AUTH_COMPLETE BT_EVT_BIT(5) |
|
#define | BT_EVT_MASK_REMOTE_NAME_REQ_COMPLETE BT_EVT_BIT(6) |
|
#define | BT_EVT_MASK_ENCRYPT_CHANGE BT_EVT_BIT(7) |
|
#define | BT_EVT_MASK_REMOTE_FEATURES BT_EVT_BIT(10) |
|
#define | BT_EVT_MASK_REMOTE_VERSION_INFO BT_EVT_BIT(11) |
|
#define | BT_EVT_MASK_HARDWARE_ERROR BT_EVT_BIT(15) |
|
#define | BT_EVT_MASK_ROLE_CHANGE BT_EVT_BIT(17) |
|
#define | BT_EVT_MASK_PIN_CODE_REQ BT_EVT_BIT(21) |
|
#define | BT_EVT_MASK_LINK_KEY_REQ BT_EVT_BIT(22) |
|
#define | BT_EVT_MASK_LINK_KEY_NOTIFY BT_EVT_BIT(23) |
|
#define | BT_EVT_MASK_DATA_BUFFER_OVERFLOW BT_EVT_BIT(25) |
|
#define | BT_EVT_MASK_INQUIRY_RESULT_WITH_RSSI BT_EVT_BIT(33) |
|
#define | BT_EVT_MASK_REMOTE_EXT_FEATURES BT_EVT_BIT(34) |
|
#define | BT_EVT_MASK_SYNC_CONN_COMPLETE BT_EVT_BIT(43) |
|
#define | BT_EVT_MASK_EXTENDED_INQUIRY_RESULT BT_EVT_BIT(46) |
|
#define | BT_EVT_MASK_ENCRYPT_KEY_REFRESH_COMPLETE BT_EVT_BIT(47) |
|
#define | BT_EVT_MASK_IO_CAPA_REQ BT_EVT_BIT(48) |
|
#define | BT_EVT_MASK_IO_CAPA_RESP BT_EVT_BIT(49) |
|
#define | BT_EVT_MASK_USER_CONFIRM_REQ BT_EVT_BIT(50) |
|
#define | BT_EVT_MASK_USER_PASSKEY_REQ BT_EVT_BIT(51) |
|
#define | BT_EVT_MASK_SSP_COMPLETE BT_EVT_BIT(53) |
|
#define | BT_EVT_MASK_USER_PASSKEY_NOTIFY BT_EVT_BIT(58) |
|
#define | BT_EVT_MASK_LE_META_EVENT BT_EVT_BIT(61) |
|
#define | BT_EVT_MASK_NUM_COMPLETE_DATA_BLOCKS BT_EVT_BIT(8) |
|
#define | BT_EVT_MASK_TRIGG_CLOCK_CAPTURE BT_EVT_BIT(14) |
|
#define | BT_EVT_MASK_SYNCH_TRAIN_COMPLETE BT_EVT_BIT(15) |
|
#define | BT_EVT_MASK_SYNCH_TRAIN_RX BT_EVT_BIT(16) |
|
#define | BT_EVT_MASK_CL_PER_BC_RX BT_EVT_BIT(17) |
|
#define | BT_EVT_MASK_CL_PER_BC_TIMEOUT BT_EVT_BIT(18) |
|
#define | BT_EVT_MASK_TRUNC_PAGE_COMPLETE BT_EVT_BIT(19) |
|
#define | BT_EVT_MASK_PER_PAGE_RSP_TIMEOUT BT_EVT_BIT(20) |
|
#define | BT_EVT_MASK_CL_PER_BC_CH_MAP_CHANGE BT_EVT_BIT(21) |
|
#define | BT_EVT_MASK_INQUIRY_RSP_NOT BT_EVT_BIT(22) |
|
#define | BT_EVT_MASK_AUTH_PAYLOAD_TIMEOUT_EXP BT_EVT_BIT(23) |
|
#define | BT_EVT_MASK_SAM_STATUS_CHANGE BT_EVT_BIT(24) |
|
#define | BT_EVT_MASK_LE_CONN_COMPLETE BT_EVT_BIT(0) |
|
#define | BT_EVT_MASK_LE_ADVERTISING_REPORT BT_EVT_BIT(1) |
|
#define | BT_EVT_MASK_LE_CONN_UPDATE_COMPLETE BT_EVT_BIT(2) |
|
#define | BT_EVT_MASK_LE_REMOTE_FEAT_COMPLETE BT_EVT_BIT(3) |
|
#define | BT_EVT_MASK_LE_LTK_REQUEST BT_EVT_BIT(4) |
|
#define | BT_EVT_MASK_LE_CONN_PARAM_REQ BT_EVT_BIT(5) |
|
#define | BT_EVT_MASK_LE_DATA_LEN_CHANGE BT_EVT_BIT(6) |
|
#define | BT_EVT_MASK_LE_P256_PUBLIC_KEY_COMPLETE BT_EVT_BIT(7) |
|
#define | BT_EVT_MASK_LE_GENERATE_DHKEY_COMPLETE BT_EVT_BIT(8) |
|
#define | BT_EVT_MASK_LE_ENH_CONN_COMPLETE BT_EVT_BIT(9) |
|
#define | BT_EVT_MASK_LE_DIRECT_ADV_REPORT BT_EVT_BIT(10) |
|
#define | BT_EVT_MASK_LE_PHY_UPDATE_COMPLETE BT_EVT_BIT(11) |
|
#define | BT_EVT_MASK_LE_EXT_ADVERTISING_REPORT BT_EVT_BIT(12) |
|
#define | BT_EVT_MASK_LE_PER_ADV_SYNC_ESTABLISHED BT_EVT_BIT(13) |
|
#define | BT_EVT_MASK_LE_PER_ADVERTISING_REPORT BT_EVT_BIT(14) |
|
#define | BT_EVT_MASK_LE_PER_ADV_SYNC_LOST BT_EVT_BIT(15) |
|
#define | BT_EVT_MASK_LE_SCAN_TIMEOUT BT_EVT_BIT(16) |
|
#define | BT_EVT_MASK_LE_ADV_SET_TERMINATED BT_EVT_BIT(17) |
|
#define | BT_EVT_MASK_LE_SCAN_REQ_RECEIVED BT_EVT_BIT(18) |
|
#define | BT_EVT_MASK_LE_CHAN_SEL_ALGO BT_EVT_BIT(19) |
|
#define | BT_EVT_MASK_LE_CONNECTIONLESS_IQ_REPORT BT_EVT_BIT(21) |
|
#define | BT_EVT_MASK_LE_CONNECTION_IQ_REPORT BT_EVT_BIT(22) |
|
#define | BT_EVT_MASK_LE_CTE_REQUEST_FAILED BT_EVT_BIT(23) |
|
#define | BT_EVT_MASK_LE_PAST_RECEIVED BT_EVT_BIT(23) |
|
#define | BT_EVT_MASK_LE_CIS_ESTABLISHED BT_EVT_BIT(24) |
|
#define | BT_EVT_MASK_LE_CIS_REQ BT_EVT_BIT(25) |
|
#define | BT_EVT_MASK_LE_BIG_COMPLETE BT_EVT_BIT(26) |
|
#define | BT_EVT_MASK_LE_BIG_TERMINATED BT_EVT_BIT(27) |
|
#define | BT_EVT_MASK_LE_BIG_SYNC_ESTABLISHED BT_EVT_BIT(28) |
|
#define | BT_EVT_MASK_LE_BIG_SYNC_LOST BT_EVT_BIT(29) |
|
#define | BT_EVT_MASK_LE_REQ_PEER_SCA_COMPLETE BT_EVT_BIT(30) |
|
#define | BT_EVT_MASK_LE_PATH_LOSS_THRESHOLD BT_EVT_BIT(31) |
|
#define | BT_EVT_MASK_LE_TRANSMIT_POWER_REPORTING BT_EVT_BIT(32) |
|
#define | BT_EVT_MASK_LE_BIGINFO_ADV_REPORT BT_EVT_BIT(33) |
|