HomeSort by relevance Sort by last modified time
    Searched full:gatt_if (Results 1 - 24 of 24) sorted by null

  /system/bt/stack/gatt/
gatt_api.c 131 ** Parameter gatt_if : application if
140 UINT16 GATTS_CreateService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid,
149 tGATT_REG *p_reg = gatt_get_regcb(gatt_if);
157 GATT_TRACE_ERROR ("Inavlid gatt_if=%d", gatt_if);
386 ** Parameter gatt_if : application interface
393 BOOLEAN GATTS_DeleteService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid, UINT16 svc_inst)
400 tGATT_REG *p_reg = gatt_get_regcb(gatt_if);
456 ** Parameter gatt_if : service handle.
463 tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle
602 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); local
673 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); local
722 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); local
775 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); local
830 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); local
898 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); local
987 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); local
1051 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); local
1192 tGATT_IF gatt_if=0; local
1487 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); local
1521 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); local
    [all...]
gatt_attr.c 44 static void gatt_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected,
77 GATT_GetConnIdIfConnected (gatt_cb.gatt_if, remote_bda, &conn_id, BT_TRANSPORT_LE);
232 static void gatt_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id,
236 UNUSED(gatt_if);
280 gatt_cb.gatt_if = GATT_Register(&app_uuid, &gatt_profile_cback);
281 GATT_StartIf(gatt_cb.gatt_if);
283 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, TRUE);
296 status = GATTS_StartService (gatt_cb.gatt_if, service_handle, GATTP_TRANSPORT_SUPPORTED );
298 GATT_TRACE_DEBUG ("gatt_profile_db_init: gatt_if=%d start status%d",
299 gatt_cb.gatt_if, status)
    [all...]
gatt_utils.c 1462 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); local
1676 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); local
2459 tGATT_IF gatt_if = p_reg->gatt_if; local
2614 tGATT_IF gatt_if = p_reg->gatt_if; local
    [all...]
gatt_int.h 33 #define GATT_CREATE_CONN_ID(tcb_idx, gatt_if) ((UINT16) ((((UINT8)(tcb_idx) ) << 8) | ((UINT8) (gatt_if))))
239 tGATT_IF gatt_if; /* this service is belong to which application */ member in struct:__anon73623
255 tGATT_IF gatt_if; /* one based */ member in struct:__anon73624
438 tGATT_IF gatt_if[GATT_MAX_APPS]; member in struct:__anon73635
473 tGATT_IF gatt_if; member in struct:__anon73637
538 extern void gatt_update_app_use_link_flag ( tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add, BOOLEAN check_acl_link);
605 extern BOOLEAN gatt_update_auto_connect_dev (tGATT_IF gatt_if, BOOLEAN add, BD_ADDR bd_addr, BOOLEAN is_initiator);
606 extern BOOLEAN gatt_is_bg_dev_for_app(tGATT_BG_CONN_DEV *p_dev, tGATT_IF gatt_if);
607 extern BOOLEAN gatt_remove_bg_dev_for_app(tGATT_IF gatt_if, BD_ADDR bd_addr)
    [all...]
gatt_main.c 280 BOOLEAN gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add)
284 p_tcb->app_hold_link[i] = gatt_if;
285 GATT_TRACE_DEBUG("%s: added gatt_if=%d idx=%d ", __func__, gatt_if, i);
287 } else if (p_tcb->app_hold_link[i] == gatt_if && !is_add) {
289 GATT_TRACE_DEBUG("%s: removed gatt_if=%d idx=%d", __func__, gatt_if, i);
294 GATT_TRACE_DEBUG("%s: gatt_if=%d not found; is_add=%d", __func__, gatt_if, is_add);
308 void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add
    [all...]
gatt_sr.c 256 tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if,
263 GATT_TRACE_DEBUG("gatt_sr_process_app_rsp gatt_if=%d", gatt_if);
265 gatt_sr_update_cback_cnt(p_tcb, gatt_if, FALSE, FALSE);
276 gatt_sr_update_prep_cnt(p_tcb, gatt_if, TRUE, FALSE);
330 tGATT_IF gatt_if; local
363 gatt_if = (tGATT_IF) (i+1);
364 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, gatt_if);
481 gatt_sr_process_app_rsp(p_tcb, gatt_cb.sr_reg[i_rcb].gatt_if ,trans_id, op_code, GATT_SUCCESS, p_msg);
916 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, gatt_cb.cl_rcb[i].gatt_if);
    [all...]
gatt_auth.c 241 (*gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb)(gatt_cb.cl_rcb[i].gatt_if, bd_addr);
gatt_db.c     [all...]
gatt_cl.c 732 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if);
    [all...]
  /system/bt/bta/gatt/
bta_gatts_act.c 44 static void bta_gatts_conn_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id,
163 GATT_Deregister(p_cb->rcb[i].gatt_if);
228 p_cb->rcb[first_unuse].gatt_if =
230 if ( !p_cb->rcb[first_unuse].gatt_if) {
236 p_buf->server_if = p_cb->rcb[first_unuse].gatt_if;
295 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == p_msg->api_dereg.server_if)
301 GATT_Deregister(p_cb->rcb[i].gatt_if);
346 service_id = GATTS_CreateService (p_cb->rcb[rcb_idx].gatt_if,
363 cb_data.create.server_if = p_cb->rcb[rcb_idx].gatt_if;
400 cb_data.add_result.server_if = p_rcb->gatt_if;
616 tGATT_IF gatt_if; local
760 tGATT_IF gatt_if; local
844 tGATT_IF gatt_if; local
949 tGATT_IF gatt_if; local
    [all...]
bta_gatts_utils.c 96 if (p_reg->in_use && p_reg->gatt_if == server_if)
118 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == server_if)
bta_gatts_int.h 186 tBTA_GATTS_IF gatt_if; member in struct:__anon72903
bta_gattc_utils.c 489 tBTA_GATTC_IF gatt_if; local
495 if (GATT_GetConnectionInfor(conn_id, &gatt_if, remote_bda, &transport)) {
496 if ((p_clrcb = bta_gattc_cl_get_regcb(gatt_if)) != NULL) {
bta_gattc_act.c 693 tBTA_GATTC_IF gatt_if; local
702 &gatt_if, p_clcb->bda, &p_clcb->transport);
1790 tBTA_GATTC_IF gatt_if; local
    [all...]
  /system/bt/stack/include/
gatt_api.h 570 typedef void (tGATT_CONN_CBACK) (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected,
581 typedef void (tGATT_ENC_CMPL_CB)(tGATT_IF gatt_if, BD_ADDR bda);
728 ** Parameter gatt_if : application if
737 extern UINT16 GATTS_CreateService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid,
807 ** Parameter gatt_if : application interface
814 extern BOOLEAN GATTS_DeleteService (tGATT_IF gatt_if, tBT_UUID *p_svc_uuid,
823 ** Parameter gatt_if : service handle.
830 extern tGATT_STATUS GATTS_StartService (tGATT_IF gatt_if, UINT16 service_handle,
    [all...]
  /system/bt/stack/gap/
gap_ble.c 46 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected,
392 gap_cb.gatt_if = GATT_Register(&app_uuid, &gap_cback);
394 GATT_StartIf(gap_cb.gatt_if);
397 service_handle = GATTS_CreateService (gap_cb.gatt_if, &uuid, 0, GAP_MAX_ATTR_NUM, TRUE);
443 status = GATTS_StartService(gap_cb.gatt_if, service_handle, GAP_TRANSPORT_SUPPORTED );
445 GAP_TRACE_EVENT ("GAP App gatt_if: %d s_hdl = %d start_status=%d",
446 gap_cb.gatt_if, service_handle, status);
581 static void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id,
587 UNUSED(gatt_if);
707 if (GATT_GetConnIdIfConnected(gap_cb.gatt_if, peer_bda, &p_clcb->conn_id, BT_TRANSPORT_LE)
    [all...]
gap_int.h 153 tGATT_IF gatt_if; member in struct:__anon73612
  /system/bt/btif/src/
btif_gatt_test.c 49 tGATT_IF gatt_if; member in struct:__anon73369
100 static void btif_test_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id,
103 UNUSED(gatt_if);
222 test_cb.gatt_if = GATT_Register(&app_uuid, &btif_test_callbacks);
223 GATT_StartIf(test_cb.gatt_if);
225 GATT_Deregister(test_cb.gatt_if);
226 test_cb.gatt_if = 0;
243 if ( !GATT_Connect(test_cb.gatt_if, params->bda1->address, true, BT_TRANSPORT_LE, false) )
  /system/bt/stack/srvc/
srvc_eng_int.h 54 tGATT_IF gatt_if; member in struct:__anon74010
srvc_eng.c 35 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected,
351 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id,
354 UNUSED(gatt_if);
443 srvc_eng_cb.gatt_if = GATT_Register(&app_uuid, &srvc_gatt_cback);
444 GATT_StartIf(srvc_eng_cb.gatt_if);
446 GATT_TRACE_DEBUG ("Srvc_Init: gatt_if=%d ", srvc_eng_cb.gatt_if);
srvc_battery.c 214 srvc_hdl = GATTS_CreateService (srvc_eng_cb.gatt_if ,
287 status = GATTS_StartService (srvc_eng_cb.gatt_if, srvc_hdl, p_reg_info->transport);
294 GATTS_DeleteService(srvc_eng_cb.gatt_if, &uuid, battery_cb.inst_id);
srvc_dis.c 358 dis_cb.service_handle = GATTS_CreateService (srvc_eng_cb.gatt_if , &uuid, 0, DIS_MAX_ATTR_NUM, TRUE);
381 status = GATTS_StartService (srvc_eng_cb.gatt_if, dis_cb.service_handle, GATT_TRANSPORT_LE_BR_EDR);
468 GATT_GetConnIdIfConnected(srvc_eng_cb.gatt_if, peer_bda, &conn_id, BT_TRANSPORT_LE);
475 return GATT_Connect(srvc_eng_cb.gatt_if, peer_bda, TRUE, BT_TRANSPORT_LE, false);
  /system/bt/bta/hh/
bta_hh_le.c 337 bta_hh_cb.gatt_if = BTA_GATTS_INVALID_IF;
367 bta_hh_cb.gatt_if = p_reg->client_if;
371 bta_hh_cb.gatt_if = BTA_GATTS_INVALID_IF;
389 return (bta_hh_cb.gatt_if == client_if);
404 BTA_GATTC_AppDeregister(bta_hh_cb.gatt_if);
440 BTA_GATTC_Open(bta_hh_cb.gatt_if, remote_bda, TRUE, BTA_GATT_TRANSPORT_LE);
789 BTA_GATTC_RegisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->addr,
799 BTA_GATTC_DeregisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->addr,
807 BTA_GATTC_RegisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->addr,
819 BTA_GATTC_DeregisterForNotifications(bta_hh_cb.gatt_if, p_dev_cb->addr
    [all...]
bta_hh_int.h 306 tBTA_GATTC_IF gatt_if; member in struct:__anon72938

Completed in 443 milliseconds