HomeSort by relevance Sort by last modified time
    Searched refs:conn_id (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/bluetooth/bluedroid/btif/co/
bta_gattc_co.c 41 ** 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)
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)
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: connection ID of this cache operation attach to
    [all...]
  /external/libnfc-nci/src/nfc/nfc/
nfc_utils.c 53 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)
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)
    [all...]
  /external/bluetooth/bluedroid/bta/include/
bta_gattc_co.h 38 ** 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);
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);
bta_gatt_api.h 278 UINT16 conn_id; member in struct:__anon3133
288 UINT16 conn_id; member in struct:__anon3134
297 UINT16 conn_id; member in struct:__anon3135
303 UINT16 conn_id; member in struct:__anon3136
309 UINT16 conn_id; member in struct:__anon3137
317 UINT16 conn_id; member in struct:__anon3138
325 UINT16 conn_id; member in struct:__anon3139
333 UINT16 conn_id; member in struct:__anon3140
347 UINT16 conn_id; member in struct:__anon3141
487 UINT16 conn_id; member in struct:__anon3145
536 UINT16 conn_id; member in struct:__anon3150
    [all...]
  /external/bluetooth/bluedroid/stack/srvc/
srvc_eng.c 25 static void srvc_eng_s_request_cback (UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA *p_data);
26 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason);
27 static void srvc_eng_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
66 return p_clcb->conn_id;
106 tSRVC_CLCB *srvc_eng_find_clcb_by_conn_id(UINT16 conn_id)
113 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id)
130 UINT8 srvc_eng_find_clcb_idx_by_conn_id(UINT16 conn_id)
137 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id)
445 UINT16 conn_id = srvc_eng_find_conn_id_by_bd_addr(remote_bda); local
    [all...]
srvc_eng_int.h 33 UINT16 conn_id; member in struct:__anon3989
68 extern tSRVC_CLCB *srvc_eng_find_clcb_by_conn_id(UINT16 conn_id);
73 extern void srvc_eng_release_channel (UINT16 conn_id) ;
srvc_dis.c 164 void dis_gatt_c_read_dis_value_cmpl(UINT16 conn_id)
166 tSRVC_CLCB *p_clcb = srvc_eng_find_clcb_by_conn_id(conn_id);
170 srvc_eng_release_channel(conn_id);
192 BOOLEAN dis_gatt_c_read_dis_req(UINT16 conn_id)
207 if (GATTC_Read(conn_id, GATT_READ_BY_TYPE, &param) == GATT_SUCCESS)
218 dis_gatt_c_read_dis_value_cmpl(conn_id);
237 UINT16 conn_id = p_clcb->conn_id; local
299 dis_gatt_c_read_dis_req(conn_id);
418 UINT16 conn_id; local
    [all...]
  /external/bluetooth/bluedroid/bta/gatt/
bta_gattc_ci.c 52 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;
bta_gattc_api.c 205 ** Parameters conn_id: connectino ID to be closed.
210 void BTA_GATTC_Close(UINT16 conn_id)
218 p_buf->layer_specific = conn_id;
234 ** Parameters conn_id: connection ID.
241 void BTA_GATTC_ServiceSearchRequest (UINT16 conn_id, tBT_UUID *p_srvc_uuid)
251 p_buf->hdr.layer_specific = conn_id;
274 ** Parameters conn_id: connection ID which identify the server.
285 tBTA_GATT_STATUS BTA_GATTC_GetFirstChar (UINT16 conn_id, tBTA_GATT_SRVC_ID *p_srvc_id,
295 if ((status = bta_gattc_query_cache(conn_id, BTA_GATTC_ATTR_TYPE_CHAR, p_srvc_id, NULL,
312 ** Parameters conn_id: connection ID which identify the server
    [all...]
bta_gattc_cache.c 39 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);
462 tBTA_GATT_STATUS bta_gattc_discover_pri_service(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 disc_type)
465 return bta_gattc_discover_procedure(conn_id, p_server_cb, disc_type);
467 return bta_gattc_sdp_service_disc(conn_id, p_server_cb);
478 tBTA_GATT_STATUS bta_gattc_discover_procedure(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 disc_type)
502 return GATTC_Discover (conn_id, disc_type, &param);
514 tBTA_GATT_STATUS bta_gattc_start_disc_include_srvc(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb)
516 return bta_gattc_discover_procedure(conn_id, p_srvc_cb, GATT_DISC_INC_SRVC);
527 tBTA_GATT_STATUS bta_gattc_start_disc_char(UINT16 conn_id, tBTA_GATTC_SERV *p_srvc_cb
    [all...]
bta_gatts_api.c 388 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len,
399 p_buf->hdr.layer_specific = conn_id;
420 ** Parameters conn_id - connection identifier.
428 void BTA_GATTS_SendRsp (UINT16 conn_id, UINT32 trans_id,
439 p_buf->hdr.layer_specific = conn_id;
523 ** Parameters conn_id: connectino ID to be closed.
528 void BTA_GATTS_Close(UINT16 conn_id)
535 p_buf->layer_specific = conn_id;
bta_gattc_int.h 473 BD_ADDR remote_bda, UINT16 conn_id);
480 extern tBTA_GATTC_CLCB * bta_gattc_find_clcb_by_conn_id (UINT16 conn_id);
487 extern tBTA_GATTC_SERV * bta_gattc_find_scb_by_cid (UINT16 conn_id);
502 extern void bta_gattc_clear_notif_registration(UINT16 conn_id);
509 extern void bta_gattc_disc_res_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_data);
510 extern void bta_gattc_disc_cmpl_cback (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status);
511 extern tBTA_GATT_STATUS bta_gattc_discover_procedure(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 disc_type);
512 extern tBTA_GATT_STATUS bta_gattc_discover_pri_service(UINT16 conn_id, tBTA_GATTC_SERV *p_server_cb, UINT8 disc_type);
514 extern tBTA_GATT_STATUS bta_gattc_query_cache(UINT16 conn_id, UINT8 query_type, tBTA_GATT_SRVC_ID *p_srvc_id,
519 extern BOOLEAN bta_gattc_cache_save(tBTA_GATTC_SERV *p_srvc_cb, UINT16 conn_id);
    [all...]
  /hardware/libhardware/include/hardware/
bt_gatt_client.h 91 typedef void (*connect_callback)(int conn_id, int status, int client_if, bt_bdaddr_t* bda);
94 typedef void (*disconnect_callback)(int conn_id, int status,
101 typedef void (*search_complete_callback)(int conn_id, int status);
104 typedef void (*search_result_callback)( int conn_id, btgatt_srvc_id_t *srvc_id);
107 typedef void (*get_characteristic_callback)(int conn_id, int status,
112 typedef void (*get_descriptor_callback)(int conn_id, int status,
117 typedef void (*get_included_service_callback)(int conn_id, int status,
121 typedef void (*register_for_notification_callback)(int conn_id,
129 typedef void (*notify_callback)(int conn_id, btgatt_notify_params_t *p_data);
132 typedef void (*read_characteristic_callback)(int conn_id, int status
    [all...]
bt_gatt_server.h 51 typedef void (*connection_callback)(int conn_id, int server_if, int connected,
86 typedef void (*request_read_callback)(int conn_id, int trans_id, bt_bdaddr_t *bda,
93 typedef void (*request_write_callback)(int conn_id, int trans_id, bt_bdaddr_t *bda,
98 typedef void (*request_exec_write_callback)(int conn_id, int trans_id,
136 int conn_id );
165 int conn_id, int len, int confirm,
169 bt_status_t (*send_response)(int conn_id, int trans_id,
  /external/bluetooth/bluedroid/stack/gatt/
gatt_attr.c 42 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)
123 p_clcb->conn_id = conn_id;
140 BOOLEAN gatt_profile_clcb_dealloc (UINT16 conn_id)
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, UINT32 trans_id, tGATTS_REQ_TYPE type
    [all...]
gatt_api.c 587 ** Parameter conn_id: connection identifier.
595 tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_handle, UINT16 val_len, UINT8 *p_val)
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, UINT16 attr_handle
1322 UINT16 conn_id; local
    [all...]
  /external/bluetooth/bluedroid/btif/src/
btif_gatt_test.c 53 UINT16 conn_id; member in struct:__anon3389
103 static void btif_test_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id,
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,
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_data->handle)
    [all...]
btif_gatt_client.c 121 uint16_t conn_id; member in struct:__anon3384
346 , p_data->read.conn_id, p_data->read.status, &data);
358 , p_data->write.conn_id, p_data->write.status, &data
366 , p_data->exec_cmpl.conn_id, p_data->exec_cmpl.status
374 , p_data->search_cmpl.conn_id, p_data->search_cmpl.status);
383 , p_data->srvc_res.conn_id, &data);
393 , p_data->read.conn_id, p_data->read.status, &data);
405 , p_data->write.conn_id, p_data->write.status, &data);
423 , p_data->notify.conn_id, &data);
427 BTA_GATTC_SendIndConfirm(p_data->notify.conn_id,
    [all...]
btif_gatt_server.c 93 uint16_t conn_id; member in struct:__anon3388
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);
289 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda,
302 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda,
318 p_data->req_data.conn_id,p_data->req_data.trans_id, &bda,
380 if (p_cb->conn_id != 0)
381 BTA_GATTS_Close(p_cb->conn_id);
431 BTA_GATTS_HandleValueIndication(p_cb->conn_id, p_cb->attr_handle,
443 BTA_GATTS_SendRsp(p_cb->conn_id, p_cb->trans_id
    [all...]
  /external/bluetooth/bluedroid/stack/gap/
gap_ble.c 56 static void gap_ble_s_attr_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE op_code, tGATTS_DATA *p_data);
59 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason);
60 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
107 tGAP_CLCB *gap_ble_find_clcb_by_conn_id(UINT16 conn_id)
114 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id)
132 tGAP_CLCB *gap_clcb_alloc (UINT16 conn_id, BD_ADDR bda)
142 p_clcb->conn_id = conn_id;
160 tGAP_CLCB *gap_find_alloc_clcb (UINT16 conn_id, BD_ADDR bda
    [all...]
  /external/bluetooth/bluedroid/stack/include/
gatt_api.h 312 UINT16 conn_id; member in struct:__anon3778
562 typedef void (tGATT_DISC_RES_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES *p_data);
565 typedef void (tGATT_DISC_CMPL_CB) (UINT16 conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status);
568 typedef void (tGATT_CMPL_CBACK) (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
571 typedef void (tGATT_CONN_CBACK) (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason);
574 typedef void (tGATT_REQ_CBACK )(UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, tGATTS_DATA *p_data);
845 ** Parameter conn_id: connection identifier.
853 GATT_API extern tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id,
863 ** Parameter conn_id: connection identifier.
    [all...]
  /packages/apps/Bluetooth/jni/
com_android_bluetooth_gatt.cpp 229 void btgattc_open_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda)
240 clientIf, conn_id, status, address);
245 void btgattc_close_cb(int conn_id, int status, int clientIf, bt_bdaddr_t* bda)
255 clientIf, conn_id, status, address);
260 void btgattc_search_complete_cb(int conn_id, int status)
264 conn_id, status);
268 void btgattc_search_result_cb(int conn_id, btgatt_srvc_id_t *srvc_id)
271 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onSearchResult, conn_id,
276 void btgattc_get_characteristic_cb(int conn_id, int status,
282 , conn_id, status, SRVC_ID_PARAMS(srvc_id), GATT_ID_PARAMS(char_id
    [all...]
  /external/libnfc-nci/src/nfc/int/
nfc_int.h 114 UINT8 conn_id; /* the connection id assigned by NFCC for this conn */ member in struct:__anon22674
152 UINT8 conn_id[NFC_MAX_CONN_ID+1]; /* index: conn_id; conn_id[]: index(1 based) to conn_cb[] */ member in struct:__anon22677
216 NFC_API extern tNFC_CONN_CB * nfc_find_conn_cb_by_conn_id (UINT8 conn_id);
218 NFC_API extern void nfc_set_conn_id (tNFC_CONN_CB * p_cb, UINT8 conn_id);
235 NFC_API extern void nfc_ncif_error_status (UINT8 conn_id, UINT8 status);
245 NFC_API extern void nfc_ncif_report_conn_close_evt (UINT8 conn_id, tNFC_STATUS status);
  /external/bluetooth/bluedroid/bta/hh/
bta_hh_le.c 379 tBTA_HH_DEV_CB * bta_hh_le_find_dev_cb_by_conn_id(UINT16 conn_id)
386 if (p_dev_cb->in_use && p_dev_cb->conn_id == conn_id)
586 if (BTA_GATTC_GetFirstCharDescr(p_cb->conn_id,
591 BTA_GATTC_ReadCharDescr(p_cb->conn_id,
879 if (BTA_GATTC_GetFirstCharDescr(p_cb->conn_id,
884 BTA_GATTC_WriteCharDescr(p_cb->conn_id,
    [all...]

Completed in 259 milliseconds

1 2 3