/external/bluetooth/bluedroid/stack/gatt/ |
gatt_attr.c | 68 for (i_clcb = 0, p_clcb= gatt_cb.profile_clcb; i_clcb < GATT_MAX_APPS; i_clcb++, p_clcb++) 93 for (i_clcb = 0, p_clcb= gatt_cb.profile_clcb; i_clcb < GATT_MAX_APPS; i_clcb++, p_clcb++) 118 for (i_clcb = 0, p_clcb= gatt_cb.profile_clcb; i_clcb < GATT_MAX_APPS; i_clcb++, p_clcb++) 145 for (i_clcb = 0, p_clcb= gatt_cb.profile_clcb; i_clcb < GATT_MAX_APPS; i_clcb++, p_clcb++) 256 gatt_cb.gatt_if = GATT_Register(&app_uuid, &gatt_profile_cback); 257 GATT_StartIf(gatt_cb.gatt_if); 259 service_handle = GATTS_CreateService (gatt_cb.gatt_if , &uuid, 0, GATTP_MAX_ATTR_NUM, TRUE); 262 uuid.uu.uuid16 = gatt_cb.gattp_attr.uuid = GATT_UUID_GATT_SRV_CHGD; 263 gatt_cb.gattp_attr.service_change = 0; 264 gatt_cb.gattp_attr.handle [all...] |
gatt_api.c | 61 gatt_cb.trace_level = new_level; 63 return(gatt_cb.trace_level); 92 status = gatt_add_an_item_to_list(&gatt_cb.hdl_list_info, p_buf); 116 gatt_cb.cb_info = *p_cb_info; 145 tGATT_HDL_LIST_INFO *p_list_info= &gatt_cb.hdl_list_info; 173 s_hdl= gatt_cb.hdl_cfg.gatt_start_hdl; 177 s_hdl= gatt_cb.hdl_cfg.gap_start_hdl; 188 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl) 191 s_hdl= gatt_cb.hdl_cfg.app_start_hdl; 221 if (gatt_cb.cb_info.p_nv_save_callback [all...] |
gatt_sr.c | 336 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code) 339 __FUNCTION__,gatt_cb.err_status); 341 gatt_send_error_rsp (p_tcb, gatt_cb.err_status, gatt_cb.req_op_code, 0, FALSE); 413 if (gatt_cb.enable_err_rsp && gatt_cb.req_op_code == op_code) 415 GATT_TRACE_DEBUG1("Conformance tst: forced err rspvofr ReadMultiple: error status=%d", gatt_cb.err_status); 419 gatt_send_error_rsp (p_tcb, gatt_cb.err_status, gatt_cb.req_op_code, handle, FALSE) [all...] |
gatt_utils.c | 133 if (gatt_cb.cb_info.p_srv_chg_callback) 137 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_REMOVE_CLIENT,&req, NULL); 139 GKI_freebuf (GKI_remove_from_queue (&gatt_cb.srv_chg_clt_q, p_buf)); 155 tGATTS_SRV_CHG *p_buf = (tGATTS_SRV_CHG *)GKI_getfirst(&gatt_cb.srv_chg_clt_q); 167 if (gatt_cb.cb_info.p_srv_chg_callback) 168 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_UPDATE_CLIENT,&req, NULL); 186 tGATTS_PENDING_NEW_SRV_START *p_buf = (tGATTS_PENDING_NEW_SRV_START *)GKI_getfirst(&gatt_cb.pending_new_srv_start_q); 246 GKI_enqueue (&gatt_cb.pending_new_srv_start_q, p_buf); 269 GKI_enqueue (&gatt_cb.srv_chg_clt_q, p_buf); 288 tGATT_CB *p_cb = &gatt_cb; [all...] |
gatt_main.c | 69 tGATT_CB gatt_cb; variable 88 memset (&gatt_cb, 0, sizeof(tGATT_CB)); 91 gatt_cb.trace_level = GATT_INITIAL_TRACE_LEVEL; 93 gatt_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */ 95 gatt_cb.def_mtu_size = GATT_DEF_BLE_MTU_SIZE; 96 GKI_init_q (&gatt_cb.sign_op_queue); 120 gatt_cb.hdl_cfg.gatt_start_hdl = GATT_GATT_START_HANDLE; 121 gatt_cb.hdl_cfg.gap_start_hdl = GATT_GAP_START_HANDLE; 122 gatt_cb.hdl_cfg.app_start_hdl = GATT_APP_START_HANDLE; 836 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++ [all...] |
gatt_int.h | 39 #define GATT_GET_SR_REG_PTR(index) (&gatt_cb.sr_reg[(UINT8) (index)]); 506 GATT_API extern tGATT_CB gatt_cb; 509 #define gatt_cb (*gatt_cb_ptr) macro
|
gatt_cl.c | 656 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) 672 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) [all...] |
gatt_db.c | [all...] |
/external/bluetooth/bluedroid/include/ |
bt_trace.h | [all...] |
/external/libnfc-nci/src/include/ |
bt_trace.h | [all...] |