Searched refs:conn_id (Results 1 - 25 of 59) sorted by relevance

123

/external/bluetooth/bluedroid/btif/co/
H A Dbta_gattc_co.c41 ** conn_id: connection ID of this cache operation attach to.
47 void bta_gattc_co_cache_open(BD_ADDR server_bda, UINT16 evt, UINT16 conn_id, BOOLEAN to_save) argument
52 bta_gattc_ci_cache_open(server_bda, evt, status, conn_id);
66 ** conn_id: connection ID of this cache operation attach to.
70 void bta_gattc_co_cache_load(BD_ADDR server_bda, UINT16 evt, UINT16 start_index, UINT16 conn_id) argument
76 bta_gattc_ci_cache_load(server_bda, evt, num_attr, attr, status, conn_id);
90 ** conn_id: connection ID of this cache operation attach to.
95 tBTA_GATTC_NV_ATTR *p_attr_list, UINT16 attr_index, UINT16 conn_id)
99 bta_gattc_ci_cache_save(server_bda, evt, status, conn_id);
110 ** conn_id
94 bta_gattc_co_cache_save(BD_ADDR server_bda, UINT16 evt, UINT16 num_attr, tBTA_GATTC_NV_ATTR *p_attr_list, UINT16 attr_index, UINT16 conn_id) argument
115 bta_gattc_co_cache_close(BD_ADDR server_bda, UINT16 conn_id) argument
[all...]
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_utils.c53 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID)
55 nfc_cb.conn_cb[xx].conn_id = NFC_PEND_CONN_ID; /* to indicate this cb is used */
74 void nfc_set_conn_id (tNFC_CONN_CB * p_cb, UINT8 conn_id) argument
81 p_cb->conn_id = conn_id;
83 nfc_cb.conn_id[conn_id] = handle;
84 NFC_TRACE_DEBUG2 ("nfc_set_conn_id conn_id:%d, handle:%d", conn_id, handle);
123 tNFC_CONN_CB * nfc_find_conn_cb_by_conn_id (UINT8 conn_id) argument
[all...]
/external/bluetooth/bluedroid/bta/include/
H A Dbta_gattc_co.h38 ** conn_id: connection ID of this cache operation attach to.
45 UINT16 conn_id, BOOLEAN to_save);
55 ** conn_id: connection ID of this cache operation attach to.
60 BTA_API extern void bta_gattc_co_cache_close(BD_ADDR server_bda, UINT16 conn_id);
74 ** conn_id: connection ID of this cache operation attach to.
80 UINT16 attr_index, UINT16 conn_id);
93 ** conn_id: connection ID of this cache operation attach to.
98 UINT16 start_index, UINT16 conn_id);
H A Dbta_gattc_ci.h75 tBTA_GATT_STATUS status, UINT16 conn_id);
95 tBTA_GATT_STATUS status, UINT16 conn_id);
112 tBTA_GATT_STATUS status, UINT16 conn_id);
H A Dbta_gatt_api.h277 UINT16 conn_id; member in struct:__anon720
287 UINT16 conn_id; member in struct:__anon721
296 UINT16 conn_id; member in struct:__anon722
302 UINT16 conn_id; member in struct:__anon723
308 UINT16 conn_id; member in struct:__anon724
316 UINT16 conn_id; member in struct:__anon725
324 UINT16 conn_id; member in struct:__anon726
332 UINT16 conn_id; member in struct:__anon727
346 UINT16 conn_id; member in struct:__anon728
482 UINT16 conn_id; member in struct:__anon732
531 UINT16 conn_id; member in struct:__anon737
[all...]
/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gattc_ci.c52 UINT16 conn_id)
59 p_evt->hdr.layer_specific = conn_id;
84 UINT16 conn_id)
93 p_evt->hdr.layer_specific = conn_id;
118 *8 conn_id - for this NV operation for.
124 UINT16 conn_id)
131 p_evt->hdr.layer_specific = conn_id;
51 bta_gattc_ci_cache_open(BD_ADDR server_bda, UINT16 evt, tBTA_GATT_STATUS status, UINT16 conn_id) argument
82 bta_gattc_ci_cache_load(BD_ADDR server_bda, UINT16 evt, UINT16 num_attr, tBTA_GATTC_NV_ATTR *p_attr, tBTA_GATT_STATUS status, UINT16 conn_id) argument
123 bta_gattc_ci_cache_save(BD_ADDR server_bda, UINT16 evt, tBTA_GATT_STATUS status, UINT16 conn_id) argument
H A Dbta_gattc_api.c197 ** Parameters conn_id: connectino ID to be closed.
202 void BTA_GATTC_Close(UINT16 conn_id) argument
210 p_buf->layer_specific = conn_id;
226 ** Parameters conn_id: connection ID.
233 void BTA_GATTC_ServiceSearchRequest (UINT16 conn_id, tBT_UUID *p_srvc_uuid) argument
243 p_buf->hdr.layer_specific = conn_id;
262 ** Parameters conn_id: connection ID which identify the server.
273 tBTA_GATT_STATUS BTA_GATTC_GetFirstChar (UINT16 conn_id, tBTA_GATT_SRVC_ID *p_srvc_id, argument
283 if ((status = bta_gattc_query_cache(conn_id, BTA_GATTC_ATTR_TYPE_CHAR, p_srvc_id, NULL,
300 ** Parameters conn_id
312 BTA_GATTC_GetNextChar(UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_start_char_id, tBT_UUID *p_char_uuid_cond, tBTA_GATTC_CHAR_ID *p_char_result, tBTA_GATT_CHAR_PROP *p_property) argument
354 BTA_GATTC_GetFirstCharDescr(UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, tBT_UUID *p_descr_uuid_cond, tBTA_GATTC_CHAR_DESCR_ID *p_descr_result) argument
399 BTA_GATTC_GetNextCharDescr(UINT16 conn_id, tBTA_GATTC_CHAR_DESCR_ID *p_start_descr_id, tBT_UUID *p_descr_uuid_cond, tBTA_GATTC_CHAR_DESCR_ID *p_descr_result) argument
444 BTA_GATTC_GetFirstIncludedService(UINT16 conn_id, tBTA_GATT_SRVC_ID *p_srvc_id, tBT_UUID *p_uuid_cond, tBTA_GATTC_INCL_SVC_ID *p_result) argument
484 BTA_GATTC_GetNextIncludedService(UINT16 conn_id, tBTA_GATTC_INCL_SVC_ID *p_start_id, tBT_UUID *p_uuid_cond, tBTA_GATTC_INCL_SVC_ID *p_result) argument
522 BTA_GATTC_ReadCharacteristic(UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, tBTA_GATT_AUTH_REQ auth_req) argument
555 BTA_GATTC_ReadCharDescr(UINT16 conn_id, tBTA_GATTC_CHAR_DESCR_ID *p_descr_id, tBTA_GATT_AUTH_REQ auth_req) argument
591 BTA_GATTC_ReadMultiple(UINT16 conn_id, tBTA_GATTC_MULTI *p_read_multi, tBTA_GATT_AUTH_REQ auth_req) argument
640 BTA_GATTC_WriteCharValue( UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, tBTA_GATTC_WRITE_TYPE write_type, UINT16 len, UINT8 *p_value, tBTA_GATT_AUTH_REQ auth_req) argument
687 BTA_GATTC_WriteCharDescr(UINT16 conn_id, tBTA_GATTC_CHAR_DESCR_ID *p_char_descr_id, tBTA_GATTC_WRITE_TYPE write_type, tBTA_GATT_UNFMT *p_data, tBTA_GATT_AUTH_REQ auth_req) argument
740 BTA_GATTC_PrepareWrite(UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id, UINT16 offset, UINT16 len, UINT8 *p_value, tBTA_GATT_AUTH_REQ auth_req) argument
784 BTA_GATTC_ExecuteWrite(UINT16 conn_id, BOOLEAN is_execute) argument
814 BTA_GATTC_SendIndConfirm(UINT16 conn_id, tBTA_GATTC_CHAR_ID *p_char_id) argument
[all...]
H A Dbta_gattc_cache.c39 static void bta_gattc_char_dscpt_disc_cmpl(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb);
40 static tBTA_GATT_STATUS bta_gattc_sdp_service_disc(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb);
428 tBTA_GATT_STATUS bta_gattc_discover_pri_service(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 disc_type) argument
436 return bta_gattc_discover_procedure(conn_id, p_server_cb, disc_type);
438 return bta_gattc_sdp_service_disc(conn_id, p_server_cb);
452 tBTA_GATT_STATUS bta_gattc_discover_procedure(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 disc_type) argument
476 return GATTC_Discover (conn_id, disc_type, &param);
488 tBTA_GATT_STATUS bta_gattc_start_disc_include_srvc(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) argument
490 return bta_gattc_discover_procedure(conn_id, p_srvc_cb, GATT_DISC_INC_SRVC);
501 tBTA_GATT_STATUS bta_gattc_start_disc_char(UINT16 conn_id, tBTA_GATTC_SER argument
516 bta_gattc_start_disc_char_dscp(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) argument
533 bta_gattc_explore_srvc(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) argument
583 bta_gattc_incl_srvc_disc_cmpl(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) argument
599 bta_gattc_char_disc_cmpl(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) argument
632 bta_gattc_char_dscpt_disc_cmpl(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb) argument
862 bta_gattc_sdp_service_disc(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb) argument
904 bta_gattc_disc_res_cback(UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_data) argument
970 bta_gattc_disc_cmpl_cback(UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status) argument
1386 bta_gattc_query_cache(UINT16 conn_id, tBTA_GATTC_ATTR_TYPE query_type, tBTA_GATT_SRVC_ID *p_srvc_id, tBTA_GATT_ID *p_start_rec, tBT_UUID *p_uuid_cond, tBTA_GATT_ID *p_output, void *p_param) argument
1527 bta_gattc_cache_save(tBTA_GATTC_SERV *p_srvc_cb, UINT16 conn_id) argument
[all...]
H A Dbta_gattc_act.c45 static void bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id,
48 static void bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status,
487 UINT16 conn_id; local
506 &conn_id))
510 gattc_data.hdr.layer_specific = p_clcb->bta_conn_id = conn_id;
624 APPL_TRACE_DEBUG1("bta_gattc_conn conn_id=%d",p_data->hdr.layer_specific);
680 cb_data.close.conn_id = p_data->hdr.layer_specific;
704 APPL_TRACE_DEBUG1("bta_gattc_close conn_id=%d",p_clcb->bta_conn_id);
710 cb_data.close.conn_id = p_clcb->bta_conn_id;
758 APPL_TRACE_DEBUG1("Discovery cancel conn_id
1549 bta_gattc_conn_cback(tGATT_IF gattc_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason) argument
1681 bta_gattc_process_srvc_chg_ind(UINT16 conn_id, tBTA_GATTC_RCB *p_clrcb, tBTA_GATTC_SERV *p_srcb, tBTA_GATTC_CLCB *p_clcb, tBTA_GATTC_NOTIFY *p_notify, UINT16 handle) argument
1779 bta_gattc_process_indicate(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_CL_COMPLETE *p_data) argument
1864 bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data) argument
1921 UINT16 conn_id; local
[all...]
H A Dbta_gatts_api.c381 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len, argument
392 p_buf->hdr.layer_specific = conn_id;
413 ** Parameters conn_id - connection identifier.
421 void BTA_GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id, argument
432 p_buf->hdr.layer_specific = conn_id;
516 ** Parameters conn_id: connectino ID to be closed.
521 void BTA_GATTS_Close(UINT16 conn_id) argument
528 p_buf->layer_specific = conn_id;
H A Dbta_gattc_int.h441 BD_ADDR remote_bda, UINT16 conn_id);
446 extern tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_conn_id (UINT16 conn_id);
453 extern tBTA_GATTC_SERV * bta_gattc_find_scb_by_cid (UINT16 conn_id);
465 extern void bta_gattc_clear_notif_registration(UINT16 conn_id);
472 extern void bta_gattc_disc_res_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_data);
473 extern void bta_gattc_disc_cmpl_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status);
474 extern tBTA_GATT_STATUS bta_gattc_discover_procedure(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 disc_type);
475 extern tBTA_GATT_STATUS bta_gattc_discover_pri_service(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 disc_type);
477 extern tBTA_GATT_STATUS bta_gattc_query_cache(UINT16 conn_id, UINT8 query_type, tBTA_GATT_SRVC_ID *p_srvc_id,
482 extern BOOLEAN bta_gattc_cache_save(tBTA_GATTC_SERV *p_srvc_cb, UINT16 conn_id);
[all...]
H A Dbta_gatts_act.c42 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason);
43 static void bta_gatts_send_request_cback (UINT16 conn_id,
697 APPL_TRACE_ERROR1("bta_gatts_close fail conn_id=%d", p_msg->hdr.layer_specific);
725 static void bta_gatts_send_request_cback (UINT16 conn_id, argument
735 if (GATT_GetConnectionInfor(conn_id, &gatt_if, cb_data.req_data.remote_bda))
739 APPL_TRACE_DEBUG3 ("bta_gatts_send_request_cback conn_id=%d trans_id=%d req_type=%d", conn_id, trans_id, req_type);
743 cb_data.req_data.conn_id = conn_id;
756 APPL_TRACE_ERROR1("request received on unknown connectino ID: %d", conn_id);
769 bta_gatts_conn_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason) argument
[all...]
H A Dbta_gattc_utils.c187 tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_conn_id (UINT16 conn_id) argument
195 p_clcb->bta_conn_id == conn_id)
356 tBTA_GATTC_SERV * bta_gattc_find_scb_by_cid (UINT16 conn_id) argument
358 tBTA_GATTC_CLCB *p_clcb = bta_gattc_find_clcb_by_conn_id(conn_id);
585 void bta_gattc_clear_notif_registration(UINT16 conn_id) argument
592 if (GATT_GetConnectionInfor(conn_id, &gatt_if, remote_bda))
770 BD_ADDR remote_bda, UINT16 conn_id)
780 cb_data.open.conn_id = conn_id;
769 bta_gattc_send_open_cback( tBTA_GATTC_RCB *p_clreg, tBTA_GATT_STATUS status, BD_ADDR remote_bda, UINT16 conn_id) argument
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_attr.c42 static void gatt_profile_request_cback (UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA *p_data);
43 static void gatt_profile_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason);
72 return p_clcb->conn_id;
113 tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda) argument
123 p_clcb->conn_id = conn_id;
140 BOOLEAN gatt_profile_clcb_dealloc (UINT16 conn_id) argument
147 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id))
166 static void gatt_profile_request_cback (UINT16 conn_id, UINT3 argument
215 gatt_profile_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason) argument
[all...]
H A Dgatt_api.c587 ** Parameter conn_id: connection identifier.
595 tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_handle, UINT16 val_len, UINT8 *p_val) argument
602 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id);
603 UINT8 tcb_idx = GATT_GET_TCB_IDX(conn_id);
611 GATT_TRACE_ERROR1 ("GATTS_HandleValueIndication Unknown conn_id: %u ", conn_id);
614 indication.conn_id = conn_id;
658 ** Parameter conn_id: connection identifier.
666 tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT1 argument
712 GATTS_SendRsp(UINT16 conn_id, UINT32 trans_id, tGATT_STATUS status, tGATTS_RSP *p_msg) argument
766 GATTC_ConfigureMTU(UINT16 conn_id, UINT16 mtu) argument
816 GATTC_Discover(UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_PARAM *p_param) argument
885 GATTC_Read(UINT16 conn_id, tGATT_READ_TYPE type, tGATT_READ_PARAM *p_read) argument
973 GATTC_Write(UINT16 conn_id, tGATT_WRITE_TYPE type, tGATT_VALUE *p_write) argument
1047 GATTC_ExecuteWrite(UINT16 conn_id, BOOLEAN is_execute) argument
1098 GATTC_SendHandleValueConfirm(UINT16 conn_id, UINT16 handle) argument
1319 UINT16 conn_id; local
1467 GATT_Disconnect(UINT16 conn_id) argument
1505 GATT_GetConnectionInfor(UINT16 conn_id, tGATT_IF *p_gatt_if, BD_ADDR bd_addr) argument
[all...]
H A Dgatt_int.h36 #define GATT_GET_TCB_IDX(conn_id) ((UINT8) (((UINT16) (conn_id)) >> 8))
37 #define GATT_GET_GATT_IF(conn_id) ((tGATT_IF)((UINT8) (conn_id)))
387 UINT16 conn_id; /* connection handle */ member in struct:__anon1153
450 UINT16 conn_id; member in struct:__anon1160
542 extern BOOLEAN gatt_profile_clcb_dealloc (UINT16 conn_id);
543 extern tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda);
611 extern void gatt_sr_send_req_callback(UINT16 conn_id, UINT32 trans_id,
619 extern BOOLEAN gatt_is_clcb_allocated (UINT16 conn_id);
[all...]
H A Dgatt_sr.c333 UINT16 conn_id; local
364 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, gatt_if);
365 gatt_sr_send_req_callback(conn_id,
902 UINT16 conn_id; local
930 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, gatt_cb.cl_rcb[i].gatt_if);
931 gatt_sr_send_req_callback(conn_id, 0, GATTS_REQ_TYPE_MTU,
1079 UINT16 conn_id; local
1126 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_sreg->gatt_if);
1127 gatt_sr_send_req_callback(conn_id,
1337 GATTS_HandleValueIndication (p_buf->conn_id,
1388 UINT16 conn_id; local
[all...]
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_gatt_client.c108 uint16_t conn_id; member in struct:__anon970
253 , p_data->read.conn_id, p_data->read.status, &data);
265 , p_data->write.conn_id, p_data->write.status, &data
273 , p_data->exec_cmpl.conn_id, p_data->exec_cmpl.status
281 , p_data->search_cmpl.conn_id, p_data->search_cmpl.status);
290 , p_data->srvc_res.conn_id, &data);
300 , p_data->read.conn_id, p_data->read.status, &data);
312 , p_data->write.conn_id, p_data->write.status, &data);
330 , p_data->notify.conn_id, &data);
334 BTA_GATTC_SendIndConfirm(p_data->notify.conn_id,
757 btif_gattc_close( int client_if, const bt_bdaddr_t *bd_addr, int conn_id) argument
778 btif_gattc_search_service(int conn_id, bt_uuid_t *filter_uuid ) argument
827 btif_gattc_get_included_service(int conn_id, btgatt_srvc_id_t *srvc_id, btgatt_srvc_id_t *start_incl_srvc_id) argument
844 btif_gattc_read_char(int conn_id, btgatt_srvc_id_t* srvc_id, btgatt_char_id_t* char_id, int auth_req ) argument
857 btif_gattc_read_char_descr(int conn_id, btgatt_srvc_id_t* srvc_id, btgatt_char_id_t* char_id, bt_uuid_t* descr_id, int auth_req ) argument
872 btif_gattc_write_char(int conn_id, btgatt_srvc_id_t* srvc_id, btgatt_char_id_t* char_id, int write_type, int len, int auth_req, char* p_value) argument
889 btif_gattc_write_char_descr(int conn_id, btgatt_srvc_id_t* srvc_id, btgatt_char_id_t* char_id, bt_uuid_t* descr_id, int write_type, int len, int auth_req, char* p_value) argument
908 btif_gattc_execute_write(int conn_id, int execute) argument
[all...]
H A Dbtif_gatt_test.c53 UINT16 conn_id; member in struct:__anon975
103 static void btif_test_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, argument
106 ALOGD("%s: conn_id=%d, connected=%d", __FUNCTION__, conn_id, connected);
107 test_cb.conn_id = connected ? conn_id : 0;
110 static void btif_test_command_complete_cback(UINT16 conn_id, tGATTC_OPTYPE op, argument
113 ALOGD ("%s: op_code=0x%02x, conn_id=0x%x. status=0x%x",
114 __FUNCTION__, op, conn_id, status);
126 GATTC_SendHandleValueConfirm(conn_id, p_dat
136 btif_test_discovery_result_cback(UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_data) argument
187 btif_test_discovery_complete_cback(UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status) argument
[all...]
H A Dbtif_gatt_server.c93 uint16_t conn_id; member in struct:__anon974
198 p_data->conn.conn_id, p_data->conn.server_if, TRUE, &bda);
208 p_data->conn.conn_id, p_data->conn.server_if, FALSE, &bda);
291 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda,
304 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda,
320 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda,
382 if (p_cb->conn_id != 0)
383 BTA_GATTS_Close(p_cb->conn_id);
433 BTA_GATTS_HandleValueIndication(p_cb->conn_id, p_cb->attr_handle,
445 BTA_GATTS_SendRsp(p_cb->conn_id, p_c
492 btif_gatts_close(int server_if, const bt_bdaddr_t *bd_addr, int conn_id) argument
586 btif_gatts_send_indication(int server_if, int attribute_handle, int conn_id, int len, int confirm, char* p_value) argument
601 btif_gatts_send_response(int conn_id, int trans_id, int status, btgatt_response_t *response) argument
[all...]
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_ble.c57 static void gap_ble_s_attr_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE op_code, tGATTS_DATA *p_data);
60 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason);
61 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
108 tGAP_CLCB *gap_ble_find_clcb_by_conn_id(UINT16 conn_id) argument
115 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id)
133 tGAP_CLCB *gap_clcb_alloc (UINT16 conn_id, BD_ADDR bda) argument
143 p_clcb->conn_id = conn_id;
161 tGAP_CLCB *gap_find_alloc_clcb (UINT16 conn_id, BD_ADD argument
424 gap_ble_s_attr_request_cback(UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, tGATTS_DATA *p_data) argument
610 gap_ble_c_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason) argument
677 gap_ble_c_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data) argument
[all...]
/external/bluetooth/bluedroid/stack/include/
H A Dgatt_api.h303 UINT16 conn_id; member in struct:__anon1359
555 typedef void (tGATT_DISC_RES_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_data);
558 typedef void (tGATT_DISC_CMPL_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status);
561 typedef void (tGATT_CMPL_CBACK) (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
564 typedef void (tGATT_CONN_CBACK) (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason);
567 typedef void (tGATT_REQ_CBACK )(UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, tGATTS_DATA *p_data);
838 ** Parameter conn_id: connection identifier.
846 GATT_API extern tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id,
856 ** Parameter conn_id: connection identifier.
864 GATT_API extern tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT1
[all...]
/external/libnfc-nci/src/nfc/int/
H A Dnfc_int.h113 UINT8 conn_id; /* the connection id assigned by NFCC for this conn */ member in struct:__anon8659
151 UINT8 conn_id[NFC_MAX_CONN_ID+1]; /* index: conn_id; conn_id[]: index(1 based) to conn_cb[] */ member in struct:__anon8662
215 NFC_API extern tNFC_CONN_CB * nfc_find_conn_cb_by_conn_id (UINT8 conn_id);
217 NFC_API extern void nfc_set_conn_id (tNFC_CONN_CB * p_cb, UINT8 conn_id);
234 NFC_API extern void nfc_ncif_error_status (UINT8 conn_id, UINT8 status);
244 NFC_API extern void nfc_ncif_report_conn_close_evt (UINT8 conn_id, tNFC_STATUS status);
/external/libnfc-nci/src/nfc/include/
H A Dnci_hmsgs.h51 UINT8 nci_snd_core_conn_close (UINT8 conn_id);
/external/libnfc-nci/src/nfa/ee/
H A Dnfa_ee_main.c421 tNFA_EE_ECB * nfa_ee_find_ecb_by_conn_id (UINT8 conn_id) argument
430 if (conn_id == p_cb->conn_id)
485 msg.conn.conn_id = p_cb->conn_id;

Completed in 308 milliseconds

123