/system/bt/stack/srvc/ |
D | srvc_eng.c | 34 static void srvc_eng_s_request_cback (UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA *… 35 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connecte… 37 static void srvc_eng_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_… 78 return p_clcb->conn_id; in srvc_eng_find_conn_id_by_bd_addr() 118 tSRVC_CLCB *srvc_eng_find_clcb_by_conn_id(UINT16 conn_id) in srvc_eng_find_clcb_by_conn_id() argument 125 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) in srvc_eng_find_clcb_by_conn_id() 142 UINT8 srvc_eng_find_clcb_idx_by_conn_id(UINT16 conn_id) in srvc_eng_find_clcb_idx_by_conn_id() argument 149 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) in srvc_eng_find_clcb_idx_by_conn_id() 166 tSRVC_CLCB *srvc_eng_clcb_alloc (UINT16 conn_id, BD_ADDR bda) in srvc_eng_clcb_alloc() argument 176 p_clcb->conn_id = conn_id; in srvc_eng_clcb_alloc() [all …]
|
D | srvc_dis.c | 203 static void dis_gatt_c_read_dis_value_cmpl(UINT16 conn_id) in dis_gatt_c_read_dis_value_cmpl() argument 205 tSRVC_CLCB *p_clcb = srvc_eng_find_clcb_by_conn_id(conn_id); in dis_gatt_c_read_dis_value_cmpl() 209 srvc_eng_release_channel(conn_id); in dis_gatt_c_read_dis_value_cmpl() 213 LOG_INFO("%s conn_id:%d attr_mask = 0x%04x", __func__, conn_id, in dis_gatt_c_read_dis_value_cmpl() 230 BOOLEAN dis_gatt_c_read_dis_req(UINT16 conn_id) in dis_gatt_c_read_dis_req() argument 248 if (GATTC_Read(conn_id, GATT_READ_BY_TYPE, ¶m) == GATT_SUCCESS) in dis_gatt_c_read_dis_req() 257 dis_gatt_c_read_dis_value_cmpl(conn_id); in dis_gatt_c_read_dis_req() 276 UINT16 conn_id = p_clcb->conn_id; in dis_c_cmpl_cback() local 339 dis_gatt_c_read_dis_req(conn_id); in dis_c_cmpl_cback() 459 UINT16 conn_id; in DIS_ReadDISInfo() local [all …]
|
D | srvc_eng_int.h | 39 UINT16 conn_id; member 74 extern tSRVC_CLCB *srvc_eng_find_clcb_by_conn_id(UINT16 conn_id); 79 extern void srvc_eng_release_channel (UINT16 conn_id) ;
|
/system/bt/stack/gatt/ |
D | gatt_attr.c | 43 static void gatt_request_cback(UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA *p_data); 44 static void gatt_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 46 static void gatt_disc_res_cback(UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_data); 47 static void gatt_disc_cmpl_cback(UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status); 48 static void gatt_cl_op_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, 76 UINT16 conn_id = GATT_INVALID_CONN_ID; in gatt_profile_find_conn_id_by_bd_addr() local 77 GATT_GetConnIdIfConnected (gatt_cb.gatt_if, remote_bda, &conn_id, BT_TRANSPORT_LE); in gatt_profile_find_conn_id_by_bd_addr() 78 return conn_id; in gatt_profile_find_conn_id_by_bd_addr() 90 static tGATT_PROFILE_CLCB *gatt_profile_find_clcb_by_conn_id(UINT16 conn_id) in gatt_profile_find_clcb_by_conn_id() argument 97 if (p_clcb->in_use && p_clcb->conn_id == conn_id) in gatt_profile_find_clcb_by_conn_id() [all …]
|
D | gatt_api.c | 596 tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_handle, UINT16 val_len, UINT… in GATTS_HandleValueIndication() argument 603 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_HandleValueIndication() 604 UINT8 tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueIndication() 612 GATT_TRACE_ERROR ("GATTS_HandleValueIndication Unknown conn_id: %u ", conn_id); in GATTS_HandleValueIndication() 619 indication.conn_id = conn_id; in GATTS_HandleValueIndication() 668 tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle, in GATTS_HandleValueNotification() argument 674 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in GATTS_HandleValueNotification() 675 UINT8 tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueNotification() 683 GATT_TRACE_ERROR ("GATTS_HandleValueNotification Unknown conn_id: %u ", conn_id); in GATTS_HandleValueNotification() 719 tGATT_STATUS GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, in GATTS_SendRsp() argument [all …]
|
/system/bt/test/suite/support/ |
D | gatt.c | 83 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) { in btgattc_open_cb() argument 87 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda) { in btgattc_close_cb() argument 91 void btgattc_search_complete_cb(int conn_id, int status) { in btgattc_search_complete_cb() argument 95 void btgattc_search_result_cb(int conn_id, btgatt_srvc_id_t *srvc_id) { in btgattc_search_result_cb() argument 99 void btgattc_get_characteristic_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_… in btgattc_get_characteristic_cb() argument 103 void btgattc_get_descriptor_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_id_t… in btgattc_get_descriptor_cb() argument 107 void btgattc_get_included_service_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_srv… in btgattc_get_included_service_cb() argument 111 void btgattc_register_for_notification_cb(int conn_id, int registered, int status, btgatt_srvc_id_t… in btgattc_register_for_notification_cb() argument 115 void btgattc_notify_cb(int conn_id, btgatt_notify_params_t *p_data) { in btgattc_notify_cb() argument 119 void btgattc_read_characteristic_cb(int conn_id, int status, btgatt_read_params_t *p_data) { in btgattc_read_characteristic_cb() argument [all …]
|
D | callbacks.c | 41 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda); 42 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda); 43 void btgattc_search_complete_cb(int conn_id, int status); 44 void btgattc_search_result_cb(int conn_id, btgatt_srvc_id_t *srvc_id); 45 void btgattc_get_characteristic_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_… 46 void btgattc_get_descriptor_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_gatt_id_t… 47 void btgattc_get_included_service_cb(int conn_id, int status, btgatt_srvc_id_t *srvc_id, btgatt_srv… 48 void btgattc_register_for_notification_cb(int conn_id, int registered, int status, btgatt_srvc_id_t… 49 void btgattc_notify_cb(int conn_id, btgatt_notify_params_t *p_data); 50 void btgattc_read_characteristic_cb(int conn_id, int status, btgatt_read_params_t *p_data); [all …]
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 308 UINT16 conn_id; member 318 UINT16 conn_id; member 327 UINT16 conn_id; member 333 UINT16 conn_id; member 339 UINT16 conn_id; member 345 UINT16 conn_id; member 353 UINT16 conn_id; member 363 UINT16 conn_id; member 371 UINT16 conn_id; member 382 UINT16 conn_id; member [all …]
|
D | bta_gattc_co.h | 45 UINT16 conn_id, BOOLEAN to_save); 60 extern void bta_gattc_co_cache_close(BD_ADDR server_bda, UINT16 conn_id); 80 UINT16 attr_index, UINT16 conn_id); 98 UINT16 start_index, UINT16 conn_id);
|
D | bta_gattc_ci.h | 75 tBTA_GATT_STATUS status, UINT16 conn_id); 95 tBTA_GATT_STATUS status, UINT16 conn_id); 112 tBTA_GATT_STATUS status, UINT16 conn_id);
|
/system/bt/btif/src/ |
D | btif_gatt_test.c | 53 UINT16 conn_id; member 103 static void btif_test_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in btif_test_connect_cback() argument 111 LOG_DEBUG("%s: conn_id=%d, connected=%d", __FUNCTION__, conn_id, connected); in btif_test_connect_cback() 112 test_cb.conn_id = connected ? conn_id : 0; in btif_test_connect_cback() 115 static void btif_test_command_complete_cback(UINT16 conn_id, tGATTC_OPTYPE op, in btif_test_command_complete_cback() argument 119 __FUNCTION__, op, conn_id, status); in btif_test_command_complete_cback() 131 GATTC_SendHandleValueConfirm(conn_id, p_data->handle); in btif_test_command_complete_cback() 141 static void btif_test_discovery_result_cback(UINT16 conn_id, tGATT_DISC_TYPE disc_type, in btif_test_discovery_result_cback() argument 145 UNUSED(conn_id); in btif_test_discovery_result_cback() 193 static void btif_test_discovery_complete_cback(UINT16 conn_id, in btif_test_discovery_complete_cback() argument [all …]
|
D | btif_gatt_server.c | 94 uint16_t conn_id; member 200 p_data->conn.conn_id, p_data->conn.server_if, TRUE, &bda); in btapp_gatts_handle_cback() 210 p_data->conn.conn_id, p_data->conn.server_if, FALSE, &bda); in btapp_gatts_handle_cback() 291 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback() 304 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback() 320 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda, in btapp_gatts_handle_cback() 327 p_data->req_data.conn_id, p_data->req_data.status); in btapp_gatts_handle_cback() 332 , p_data->congest.conn_id in btapp_gatts_handle_cback() 339 , p_data->req_data.conn_id in btapp_gatts_handle_cback() 439 if (p_cb->conn_id != 0) in btgatts_handle_event() [all …]
|
D | btif_gatt_client.c | 166 uint16_t conn_id; member 191 uint16_t conn_id; member 493 , p_data->read.conn_id, p_data->read.status, &data); in btif_gattc_upstreams_evt() 505 , p_data->write.conn_id, p_data->write.status, &data in btif_gattc_upstreams_evt() 513 , p_data->exec_cmpl.conn_id, p_data->exec_cmpl.status in btif_gattc_upstreams_evt() 521 , p_data->search_cmpl.conn_id, p_data->search_cmpl.status); in btif_gattc_upstreams_evt() 530 , p_data->srvc_res.conn_id, &data); in btif_gattc_upstreams_evt() 540 , p_data->read.conn_id, p_data->read.status, &data); in btif_gattc_upstreams_evt() 552 , p_data->write.conn_id, p_data->write.status, &data); in btif_gattc_upstreams_evt() 570 , p_data->notify.conn_id, &data); in btif_gattc_upstreams_evt() [all …]
|
/system/bt/bta/gatt/ |
D | bta_gattc_api.c | 211 void BTA_GATTC_Close(UINT16 conn_id) in BTA_GATTC_Close() argument 219 p_buf->layer_specific = conn_id; in BTA_GATTC_Close() 239 void BTA_GATTC_ConfigureMTU (UINT16 conn_id, UINT16 mtu) in BTA_GATTC_ConfigureMTU() argument 246 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ConfigureMTU() 270 void BTA_GATTC_ServiceSearchRequest (UINT16 conn_id, tBT_UUID *p_srvc_uuid) in BTA_GATTC_ServiceSearchRequest() argument 280 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ServiceSearchRequest() 314 tBTA_GATT_STATUS BTA_GATTC_GetFirstChar (UINT16 conn_id, tBTA_GATT_SRVC_ID *p_srvc_id, in BTA_GATTC_GetFirstChar() argument 324 if ((status = bta_gattc_query_cache(conn_id, BTA_GATTC_ATTR_TYPE_CHAR, p_srvc_id, NULL, in BTA_GATTC_GetFirstChar() 353 tBTA_GATT_STATUS BTA_GATTC_GetNextChar (UINT16 conn_id, in BTA_GATTC_GetNextChar() argument 364 if ((status = bta_gattc_query_cache(conn_id, BTA_GATTC_ATTR_TYPE_CHAR, in BTA_GATTC_GetNextChar() [all …]
|
D | bta_gattc_ci.c | 52 UINT16 conn_id) in bta_gattc_ci_cache_open() argument 60 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_open() 85 UINT16 conn_id) in bta_gattc_ci_cache_load() argument 95 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_load() 126 UINT16 conn_id) in bta_gattc_ci_cache_save() argument 134 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_save()
|
D | bta_gattc_cache.c | 43 static void bta_gattc_char_dscpt_disc_cmpl(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb); 44 static tBTA_GATT_STATUS bta_gattc_sdp_service_disc(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb); 466 tBTA_GATT_STATUS bta_gattc_discover_pri_service(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, in bta_gattc_discover_pri_service() argument 469 tBTA_GATTC_CLCB *p_clcb = bta_gattc_find_clcb_by_conn_id(conn_id); in bta_gattc_discover_pri_service() 475 status = bta_gattc_discover_procedure(conn_id, p_server_cb, disc_type); in bta_gattc_discover_pri_service() 477 status = bta_gattc_sdp_service_disc(conn_id, p_server_cb); in bta_gattc_discover_pri_service() 491 tBTA_GATT_STATUS bta_gattc_discover_procedure(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, in bta_gattc_discover_procedure() argument 516 return GATTC_Discover (conn_id, disc_type, ¶m); in bta_gattc_discover_procedure() 528 tBTA_GATT_STATUS bta_gattc_start_disc_include_srvc(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) in bta_gattc_start_disc_include_srvc() argument 530 return bta_gattc_discover_procedure(conn_id, p_srvc_cb, GATT_DISC_INC_SRVC); in bta_gattc_start_disc_include_srvc() [all …]
|
D | bta_gatts_act.c | 44 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, 47 static void bta_gatts_send_request_cback (UINT16 conn_id, 50 static void bta_gatts_cong_cback (UINT16 conn_id, BOOLEAN congested); 682 cb_data.req_data.conn_id = p_msg->api_indicate.hdr.layer_specific; in bta_gatts_indicate_handle() 708 UINT16 conn_id; in bta_gatts_open() local 720 &conn_id, p_msg->api_open.transport)) in bta_gatts_open() 861 static void bta_gatts_send_request_cback (UINT16 conn_id, in bta_gatts_send_request_cback() argument 872 if (GATT_GetConnectionInfor(conn_id, &gatt_if, cb_data.req_data.remote_bda, &transport)) in bta_gatts_send_request_cback() 877 conn_id, trans_id, req_type); in bta_gatts_send_request_cback() 888 cb_data.req_data.conn_id = conn_id; in bta_gatts_send_request_cback() [all …]
|
D | bta_gattc_act.c | 51 static void bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id, 55 static void bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, 60 static void bta_gattc_cong_cback (UINT16 conn_id, BOOLEAN congested); 561 UINT16 conn_id; in bta_gattc_init_bk_conn() local 583 &conn_id, in bta_gattc_init_bk_conn() 589 gattc_data.hdr.layer_specific = p_clcb->bta_conn_id = conn_id; in bta_gattc_init_bk_conn() 772 cb_data.close.conn_id = p_data->hdr.layer_specific; in bta_gattc_close_fail() 799 cb_data.close.conn_id = p_clcb->bta_conn_id; in bta_gattc_close() 1368 cb_data.read.conn_id = p_clcb->bta_conn_id; in bta_gattc_read_cmpl() 1423 cb_data.write.conn_id = p_clcb->bta_conn_id; in bta_gattc_write_cmpl() [all …]
|
D | bta_gattc_int.h | 498 … BD_ADDR remote_bda, UINT16 conn_id, tBTA_TRANSPORT transport, UINT16 mtu); 507 extern tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_conn_id (UINT16 conn_id); 514 extern tBTA_GATTC_SERV * bta_gattc_find_scb_by_cid (UINT16 conn_id); 529 extern void bta_gattc_clear_notif_registration(UINT16 conn_id); 536 extern void bta_gattc_disc_res_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_… 537 extern void bta_gattc_disc_cmpl_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS stat… 538 extern tBTA_GATT_STATUS bta_gattc_discover_procedure(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, … 539 extern tBTA_GATT_STATUS bta_gattc_discover_pri_service(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb… 541 extern tBTA_GATT_STATUS bta_gattc_query_cache(UINT16 conn_id, UINT8 query_type, tBTA_GATT_SRVC_ID *… 546 extern BOOLEAN bta_gattc_cache_save(tBTA_GATTC_SERV *p_srvc_cb, UINT16 conn_id);
|
D | bta_gatts_api.c | 386 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len, in BTA_GATTS_HandleValueIndication() argument 397 p_buf->hdr.layer_specific = conn_id; in BTA_GATTS_HandleValueIndication() 426 void BTA_GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, in BTA_GATTS_SendRsp() argument 437 p_buf->hdr.layer_specific = conn_id; in BTA_GATTS_SendRsp() 529 void BTA_GATTS_Close(UINT16 conn_id) in BTA_GATTS_Close() argument 536 p_buf->layer_specific = conn_id; in BTA_GATTS_Close()
|
D | bta_gattc_utils.c | 194 tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_conn_id (UINT16 conn_id) in bta_gattc_find_clcb_by_conn_id() argument 202 p_clcb->bta_conn_id == conn_id) in bta_gattc_find_clcb_by_conn_id() 370 tBTA_GATTC_SERV * bta_gattc_find_scb_by_cid (UINT16 conn_id) in bta_gattc_find_scb_by_cid() argument 372 tBTA_GATTC_CLCB *p_clcb = bta_gattc_find_clcb_by_conn_id(conn_id); in bta_gattc_find_scb_by_cid() 595 void bta_gattc_clear_notif_registration(UINT16 conn_id) in bta_gattc_clear_notif_registration() argument 603 if (GATT_GetConnectionInfor(conn_id, &gatt_if, remote_bda, &transport)) in bta_gattc_clear_notif_registration() 789 BD_ADDR remote_bda, UINT16 conn_id, in bta_gattc_send_open_cback() argument 800 cb_data.open.conn_id = conn_id; in bta_gattc_send_open_cback()
|
/system/bt/btif/co/ |
D | bta_gattc_co.c | 88 void bta_gattc_co_cache_open(BD_ADDR server_bda, UINT16 evt, UINT16 conn_id, BOOLEAN to_save) in bta_gattc_co_cache_open() argument 96 bta_gattc_ci_cache_open(server_bda, evt, status, conn_id); in bta_gattc_co_cache_open() 114 void bta_gattc_co_cache_load(BD_ADDR server_bda, UINT16 evt, UINT16 start_index, UINT16 conn_id) in bta_gattc_co_cache_load() argument 128 bta_gattc_ci_cache_load(server_bda, evt, num_attr, attr, status, conn_id); in bta_gattc_co_cache_load() 148 tBTA_GATTC_NV_ATTR *p_attr_list, UINT16 attr_index, UINT16 conn_id) in bta_gattc_co_cache_save() argument 159 bta_gattc_ci_cache_save(server_bda, evt, status, conn_id); in bta_gattc_co_cache_save() 175 void bta_gattc_co_cache_close(BD_ADDR server_bda, UINT16 conn_id) in bta_gattc_co_cache_close() argument 178 UNUSED(conn_id); in bta_gattc_co_cache_close()
|
/system/bt/stack/include/ |
D | gatt_api.h | 313 UINT16 conn_id; member 559 typedef void (tGATT_DISC_RES_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, 563 typedef void (tGATT_DISC_CMPL_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status); 566 typedef void (tGATT_CMPL_CBACK) (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, 570 typedef void (tGATT_CONN_CBACK) (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 574 typedef void (tGATT_REQ_CBACK )(UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, 578 typedef void (tGATT_CONGESTION_CBACK )(UINT16 conn_id, BOOLEAN congested); 862 extern tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, 880 extern tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle, 898 extern tGATT_STATUS GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, [all …]
|
/system/bt/stack/gap/ |
D | gap_ble.c | 43 static void gap_ble_s_attr_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE op_code,… 46 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connec… 48 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_… 97 tGAP_CLCB *gap_ble_find_clcb_by_conn_id(UINT16 conn_id) in gap_ble_find_clcb_by_conn_id() argument 104 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) in gap_ble_find_clcb_by_conn_id() 328 void gap_ble_s_attr_request_cback (UINT16 conn_id, UINT32 trans_id, in gap_ble_s_attr_request_cback() argument 368 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg); in gap_ble_s_attr_request_cback() 526 if (GATTC_Read(p_clcb->conn_id, GATT_READ_BY_TYPE, ¶m) == GATT_SUCCESS) in gap_ble_send_cl_read_request() 566 GATT_Disconnect(p_clcb->conn_id); in gap_ble_cl_op_cmpl() 581 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in gap_ble_c_connect_cback() argument [all …]
|
/system/bt/bta/hh/ |
D | bta_hh_le.c | 400 tBTA_HH_DEV_CB * bta_hh_le_find_dev_cb_by_conn_id(UINT16 conn_id) in bta_hh_le_find_dev_cb_by_conn_id() argument 407 if (p_dev_cb->in_use && p_dev_cb->conn_id == conn_id) in bta_hh_le_find_dev_cb_by_conn_id() 618 if (BTA_GATTC_GetFirstCharDescr(p_cb->conn_id, in bta_hh_le_read_char_dscrpt() 623 BTA_GATTC_ReadCharDescr(p_cb->conn_id, in bta_hh_le_read_char_dscrpt() 938 if (BTA_GATTC_GetFirstCharDescr(p_cb->conn_id, in bta_hh_le_write_char_clt_cfg() 943 BTA_GATTC_WriteCharDescr(p_cb->conn_id, in bta_hh_le_write_char_clt_cfg() 1053 BTA_GATTC_WriteCharValue(p_cb->conn_id, in bta_hh_le_set_protocol_mode() 1088 BTA_GATTC_ReadCharacteristic(p_cb->conn_id, in bta_hh_le_get_protocol_mode() 1134 if (BTA_GATTC_GetNextChar(p_dev_cb->conn_id, in bta_hh_le_expl_rpt() 1242 BTA_GATTC_ServiceSearchRequest(p_cb->conn_id, &pri_srvc); in bta_hh_le_pri_service_discovery() [all …]
|