/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/ |
D | bta_hf_client_rfc.c | 51 if (port_handle != bta_hf_client_cb.scb.conn_handle) { in bta_hf_client_port_cback() 53 port_handle, bta_hf_client_cb.scb.conn_handle); in bta_hf_client_port_cback() 79 … code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle); in bta_hf_client_mgmt_cback() 82 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle)) { in bta_hf_client_mgmt_cback() 88 …if ((bta_hf_client_cb.scb.conn_handle && (port_handle == bta_hf_client_cb.scb.conn_handle)) || /* … in bta_hf_client_mgmt_cback() 97 else if (port_handle == bta_hf_client_cb.scb.conn_handle) { in bta_hf_client_mgmt_cback() 202 … FALSE, BTA_HF_CLIENT_MTU, bta_hf_client_cb.scb.peer_addr, &(bta_hf_client_cb.scb.conn_handle), in bta_hf_client_rfc_do_open() 204 bta_hf_client_setup_port(bta_hf_client_cb.scb.conn_handle); in bta_hf_client_rfc_do_open() 205 …APPL_TRACE_DEBUG("bta_hf_client_rfc_do_open : conn_handle = %d", bta_hf_client_cb.scb.conn_handle); in bta_hf_client_rfc_do_open() 228 if (bta_hf_client_cb.scb.conn_handle) { in bta_hf_client_rfc_do_close() [all …]
|
D | bta_hf_client_act.c | 300 bta_hf_client_cb.scb.conn_handle = p_data->rfc.port_handle; in bta_hf_client_rfc_acp_open() 324 bta_hf_client_cb.scb.conn_handle = 0; in bta_hf_client_rfc_fail() 417 bta_hf_client_cb.scb.conn_handle = 0; in bta_hf_client_rfc_close() 508 …while (PORT_ReadData(bta_hf_client_cb.scb.conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, &len) == P… in bta_hf_client_rfc_data()
|
D | bta_hf_client_sco.c | 389 p_buf->layer_specific = bta_hf_client_cb.scb.conn_handle; in bta_hf_client_sco_conn_cback() 426 p_buf->layer_specific = bta_hf_client_cb.scb.conn_handle;; in bta_hf_client_sco_disc_cback()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/ |
D | esp_ble_mesh_proxy_api.c | 79 esp_err_t esp_ble_mesh_proxy_client_disconnect(uint8_t conn_handle) in esp_ble_mesh_proxy_client_disconnect() argument 90 arg.proxy_client_disconnect.conn_handle = conn_handle; in esp_ble_mesh_proxy_client_disconnect() 96 esp_err_t esp_ble_mesh_proxy_client_set_filter_type(uint8_t conn_handle, uint16_t net_idx, in esp_ble_mesh_proxy_client_set_filter_type() argument 112 arg.proxy_client_set_filter_type.conn_handle = conn_handle; in esp_ble_mesh_proxy_client_set_filter_type() 120 esp_err_t esp_ble_mesh_proxy_client_add_filter_addr(uint8_t conn_handle, uint16_t net_idx, in esp_ble_mesh_proxy_client_add_filter_addr() argument 136 arg.proxy_client_add_filter_addr.conn_handle = conn_handle; in esp_ble_mesh_proxy_client_add_filter_addr() 145 esp_err_t esp_ble_mesh_proxy_client_remove_filter_addr(uint8_t conn_handle, uint16_t net_idx, in esp_ble_mesh_proxy_client_remove_filter_addr() argument 161 arg.proxy_client_remove_filter_addr.conn_handle = conn_handle; in esp_ble_mesh_proxy_client_remove_filter_addr()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/ |
D | esp_ble_mesh_proxy_api.h | 71 esp_err_t esp_ble_mesh_proxy_client_disconnect(uint8_t conn_handle); 83 esp_err_t esp_ble_mesh_proxy_client_set_filter_type(uint8_t conn_handle, uint16_t net_idx, 97 esp_err_t esp_ble_mesh_proxy_client_add_filter_addr(uint8_t conn_handle, uint16_t net_idx, 111 esp_err_t esp_ble_mesh_proxy_client_remove_filter_addr(uint8_t conn_handle, uint16_t net_idx,
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/ |
D | bta_ag_rfc.c | 101 if (port_handle != p_scb->conn_handle) { in bta_ag_port_cback() 103 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback() 138 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle)) { in bta_ag_mgmt_cback() 144 if (p_scb->conn_handle) { in bta_ag_mgmt_cback() 146 if (port_handle == p_scb->conn_handle) in bta_ag_mgmt_cback() 161 } else if (port_handle == p_scb->conn_handle) { in bta_ag_mgmt_cback() 360 FALSE, BTA_AG_MTU, p_scb->peer_addr, &(p_scb->conn_handle), in bta_ag_rfc_do_open() 362 bta_ag_setup_port(p_scb, p_scb->conn_handle); in bta_ag_rfc_do_open() 363 APPL_TRACE_DEBUG("bta_ag_rfc_do_open : conn_handle = %d", p_scb->conn_handle); in bta_ag_rfc_do_open() 385 if (p_scb->conn_handle) { in bta_ag_rfc_do_close() [all …]
|
D | bta_ag_act.c | 339 p_scb->conn_handle = 0; in bta_ag_rfc_fail() 416 p_scb->conn_handle = 0; in bta_ag_rfc_close() 430 RFCOMM_RemoveServer(p_scb->conn_handle); in bta_ag_rfc_close() 530 p_scb->conn_handle = p_data->rfc.port_handle; in bta_ag_rfc_acp_open() 535 p_scb->conn_service, p_scb->conn_handle); in bta_ag_rfc_acp_open() 565 if (PORT_ReadData(p_scb->conn_handle, buf, BTA_AG_RFC_READ_MAX, &len) != PORT_SUCCESS) { in bta_ag_rfc_data() 747 PORT_WriteData(p_scb->conn_handle, p_data_area, strlen(p_data_area), &len); in bta_ag_ci_rx_data()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | proxy_client.h | 81 uint8_t conn_handle, uint16_t net_idx); 82 typedef void (*proxy_client_disconnect_cb_t)(const bt_mesh_addr_t *addr, uint8_t conn_handle, 84 typedef void (*proxy_client_recv_filter_status_cb_t)(uint8_t conn_handle, uint16_t src, uint16_t ne… 96 int bt_mesh_proxy_client_disconnect(uint8_t conn_handle); 102 int bt_mesh_proxy_client_cfg_send(uint8_t conn_handle, uint16_t net_idx,
|
D | proxy_server.h | 41 typedef void (*proxy_server_connect_cb_t)(uint8_t conn_handle); 42 typedef void (*proxy_server_disconnect_cb_t)(uint8_t conn_handle, uint8_t reason);
|
D | proxy_client.c | 724 int bt_mesh_proxy_client_disconnect(uint8_t conn_handle) in bt_mesh_proxy_client_disconnect() argument 728 if (conn_handle >= BLE_MESH_MAX_CONN) { in bt_mesh_proxy_client_disconnect() 733 BT_DBG("conn_handle %d", conn_handle); in bt_mesh_proxy_client_disconnect() 735 conn = servers[conn_handle].conn; in bt_mesh_proxy_client_disconnect() 737 BT_ERR("Not connected, conn handle %d", conn_handle); in bt_mesh_proxy_client_disconnect() 935 int bt_mesh_proxy_client_cfg_send(uint8_t conn_handle, uint16_t net_idx, in bt_mesh_proxy_client_cfg_send() argument 940 … if (conn_handle >= BLE_MESH_MAX_CONN || !pdu || pdu->opcode > BLE_MESH_PROXY_CFG_FILTER_REMOVE) { in bt_mesh_proxy_client_cfg_send() 945 BT_DBG("conn_handle %d, net_idx 0x%04x", conn_handle, net_idx); in bt_mesh_proxy_client_cfg_send() 947 conn = servers[conn_handle].conn; in bt_mesh_proxy_client_cfg_send() 949 BT_ERR("Not connected, conn handle %d", conn_handle); in bt_mesh_proxy_client_cfg_send() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/ |
D | mesh_bearer_adapt.c | 169 static int ble_on_subscribe(uint16_t conn_handle, in ble_on_subscribe() argument 179 error->status, conn_handle, attr->handle); in ble_on_subscribe() 182 … if ((bt_mesh_gattc_info[j].conn.handle == conn_handle) && bt_mesh_gattc_info[j].ccc_handle) { in ble_on_subscribe() 222 …ble_gattc_write_flat(conn_handle, bt_mesh_gattc_info[i].ccc_handle, value, sizeof(value), ble_on_s… in ble_on_subscribe() 226 static int dsc_disced(uint16_t conn_handle, const struct ble_gatt_error *error, in dsc_disced() argument 246 … if ((bt_mesh_gattc_info[j].conn.handle == conn_handle) && bt_mesh_gattc_info[j].data_out_handle) { in dsc_disced() 253 … if ((bt_mesh_gattc_info[j].conn.handle == conn_handle) && bt_mesh_gattc_info[j].ccc_handle) { in dsc_disced() 260 …ble_gattc_write_flat(conn_handle, bt_mesh_gattc_info[i].ccc_handle, value, sizeof(value), ble_on_s… in dsc_disced() 262 …ble_gattc_disc_all_dscs(conn_handle, bt_mesh_gattc_info[j].data_out_handle, 0xffff, dsc_disced, (v… in dsc_disced() 277 static int chr_disced(uint16_t conn_handle, const struct ble_gatt_error *error, in chr_disced() argument [all …]
|
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/nimble_host/ |
D | esp_blufi.c | 45 static int gatt_svr_access_cb(uint16_t conn_handle, uint16_t attr_handle, 110 static size_t write_value(uint16_t conn_handle, uint16_t attr_handle, in write_value() argument 163 static size_t read_value(uint16_t conn_handle, uint16_t attr_handle, in read_value() argument 191 static int gatt_svr_access_cb(uint16_t conn_handle, uint16_t attr_handle, in gatt_svr_access_cb() argument 197 return read_value(conn_handle, attr_handle, in gatt_svr_access_cb() 200 return write_value(conn_handle, attr_handle, in gatt_svr_access_cb() 323 rc = ble_gap_conn_find(event->connect.conn_handle, &desc); in esp_blufi_gap_event() 327 param.connect.conn_id = event->connect.conn_handle; in esp_blufi_gap_event() 329 blufi_env.conn_id = event->connect.conn_handle; in esp_blufi_gap_event() 375 event->subscribe.conn_handle, in esp_blufi_gap_event() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 965 uint8_t conn_handle, uint16_t net_idx) in btc_ble_mesh_proxy_client_connect_cb() argument 969 if (!addr || conn_handle >= BLE_MESH_MAX_CONN) { in btc_ble_mesh_proxy_client_connect_cb() 978 mesh_param.proxy_client_connected.conn_handle = conn_handle; in btc_ble_mesh_proxy_client_connect_cb() 985 static void btc_ble_mesh_proxy_client_disconnect_cb(const bt_mesh_addr_t *addr, uint8_t conn_handle, in btc_ble_mesh_proxy_client_disconnect_cb() argument 990 if (!addr || conn_handle >= BLE_MESH_MAX_CONN) { in btc_ble_mesh_proxy_client_disconnect_cb() 999 mesh_param.proxy_client_disconnected.conn_handle = conn_handle; in btc_ble_mesh_proxy_client_disconnect_cb() 1007 static void btc_ble_mesh_proxy_client_filter_status_recv_cb(uint8_t conn_handle, uint16_t src, uint… in btc_ble_mesh_proxy_client_filter_status_recv_cb() argument 1012 if (conn_handle >= BLE_MESH_MAX_CONN) { in btc_ble_mesh_proxy_client_filter_status_recv_cb() 1019 mesh_param.proxy_client_recv_filter_status.conn_handle = conn_handle; in btc_ble_mesh_proxy_client_filter_status_recv_cb() 1031 static void btc_ble_mesh_proxy_server_connect_cb(uint8_t conn_handle) in btc_ble_mesh_proxy_server_connect_cb() argument [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/ |
D | btc_ble_mesh_prov.h | 279 uint8_t conn_handle; member 282 uint8_t conn_handle; member 287 uint8_t conn_handle; member 293 uint8_t conn_handle; member
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/hcic/ |
D | hciblecmds.c | 1006 BOOLEAN btsnd_hcic_ble_set_data_length(UINT16 conn_handle, UINT16 tx_octets, UINT16 tx_time) in btsnd_hcic_ble_set_data_length() argument 1023 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_set_data_length() 1119 BOOLEAN btsnd_hcic_ble_read_phy(UINT16 conn_handle) in btsnd_hcic_ble_read_phy() argument 1124 HCI_TRACE_EVENT("%s, conn_handle = %d", __func__, conn_handle); in btsnd_hcic_ble_read_phy() 1129 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_read_phy() 1155 BOOLEAN btsnd_hcic_ble_set_phy(UINT16 conn_handle, in btsnd_hcic_ble_set_phy() argument 1162 conn_handle, all_phys, tx_phys, rx_phys, phy_options); in btsnd_hcic_ble_set_phy() 1167 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_set_phy() 1824 BOOLEAN btsnd_hcic_ble_periodic_adv_sync_trans(UINT16 conn_handle, UINT16 service_data, UINT16 sync… in btsnd_hcic_ble_periodic_adv_sync_trans() argument 1836 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_periodic_adv_sync_trans() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/ |
D | esp_ble_mesh_defs.h | 1407 uint8_t conn_handle; /*!< Proxy connection handle */ member 1416 uint8_t conn_handle; /*!< Proxy connection handle */ member 1424 uint8_t conn_handle; /*!< Proxy connection handle */ member 1444 uint8_t conn_handle; /*!< Proxy connection handle */ member 1451 uint8_t conn_handle; /*!< Proxy connection handle */ member 1459 uint8_t conn_handle; /*!< Proxy connection handle */ member 1467 uint8_t conn_handle; /*!< Proxy connection handle */ member 1474 uint8_t conn_handle; /*!< Proxy connection handle */ member 1480 uint8_t conn_handle; /*!< Proxy connection handle */ member
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btu/ |
D | btu_hcif.c | 1108 uint16_t conn_handle; in btu_hcif_hdl_command_complete() local 1112 STREAM_TO_UINT16(conn_handle, p); in btu_hcif_hdl_command_complete() 1115 btm_read_phy_callback(status, conn_handle, tx_phy, rx_phy); in btu_hcif_hdl_command_complete() 1130 UINT16 conn_handle; in btu_hcif_hdl_command_complete() local 1132 STREAM_TO_UINT16(conn_handle, p); in btu_hcif_hdl_command_complete() 1133 btm_ble_periodic_adv_sync_trans_complete(opcode, status, conn_handle); in btu_hcif_hdl_command_complete() 2327 STREAM_TO_UINT16(adv_term.conn_handle, p); in btu_ble_adv_set_terminate_evt() 2358 STREAM_TO_UINT16(chan_sel_alg.conn_handle, p); in btu_ble_channel_select_alg_evt() 2368 UINT16 conn_handle; in btu_ble_periodic_adv_sync_trans_recv() local 2378 STREAM_TO_UINT16(conn_handle, p); in btu_ble_periodic_adv_sync_trans_recv() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | hcimsgs.h | 889 BOOLEAN btsnd_hcic_ble_set_data_length(UINT16 conn_handle, UINT16 tx_octets, 954 BOOLEAN btsnd_hcic_ble_read_phy(UINT16 conn_handle); 959 BOOLEAN btsnd_hcic_ble_set_phy(UINT16 conn_handle, 1063 BOOLEAN btsnd_hcic_ble_periodic_adv_sync_trans(UINT16 conn_handle, UINT16 service_data, UINT16 sync… 1065 BOOLEAN btsnd_hcic_ble_periodic_adv_set_info_trans(UINT16 conn_handle, UINT16 service_data, UINT8 a… 1067 BOOLEAN btsnd_hcic_ble_set_periodic_adv_sync_trans_params(UINT16 conn_handle, UINT8 mode, UINT16 sk…
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/ |
D | btm_ble_multi_adv.c | 724 UINT16 conn_handle; in btm_ble_multi_adv_vse_cback() local 734 STREAM_TO_UINT16(conn_handle, p); in btm_ble_multi_adv_vse_cback() 736 if ((p_acl_cb = btm_handle_to_acl(conn_handle)) != NULL) { in btm_ble_multi_adv_vse_cback()
|
D | btm_ble_5_gap.c | 885 void btm_read_phy_callback(uint8_t hci_status, uint16_t conn_handle, uint8_t tx_phy, uint8_t rx_phy) in btm_read_phy_callback() argument 888 tL2C_LCB *p_lcb = l2cu_find_lcb_by_handle(conn_handle); in btm_read_phy_callback() 1237 adv_record[params->adv_handle].ter_con_handle = params->conn_handle; in btm_ble_adv_set_terminated_evt() 1374 void btm_ble_periodic_adv_sync_trans_complete(UINT16 op_code, UINT8 hci_status, UINT16 conn_handle) in btm_ble_periodic_adv_sync_trans_complete() argument 1378 tL2C_LCB *p_lcb = l2cu_find_lcb_by_handle(conn_handle); in btm_ble_periodic_adv_sync_trans_complete()
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gattc_utils.c | 785 … tBTA_GATT_CONN_PARAMS conn_params, UINT8 link_role, UINT8 ble_addr_type, UINT16 conn_handle) in bta_gattc_send_connect_cback() argument 800 cb_data.connect.conn_handle = conn_handle; in bta_gattc_send_connect_cback()
|
/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/ |
D | esp_gatts_api.h | 191 uint16_t conn_handle; /*!< HCI connection handle */ member
|
D | esp_gattc_api.h | 214 uint16_t conn_handle; /*!< HCI connection handle */ member
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/include/ |
D | bta_hf_client_int.h | 149 UINT16 conn_handle; /* RFCOMM handle of connected service */ member
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/include/ |
D | bta_gattc_int.h | 249 UINT16 conn_handle; member 502 … tBTA_GATT_CONN_PARAMS conn_params, UINT8 link_role, UINT8 ble_addr_type, UINT16 conn_handle);
|