Lines Matching refs:gatt_cb
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)
222 (*gatt_cb.cb_info.p_nv_save_callback)(TRUE, &p_list->asgn_range);
251 GKI_freebuf (GKI_remove_from_queue (&gatt_cb.pending_new_srv_start_q, p_buf));
396 tGATT_HDL_LIST_INFO *p_list_info= &gatt_cb.hdl_list_info;
423 GKI_freebuf (GKI_remove_from_queue (&gatt_cb.pending_new_srv_start_q, p_buf));
434 GATTS_StopService(gatt_cb.sr_reg[i_sreg].s_hdl);
440 if ( (p_list->asgn_range.s_handle >= gatt_cb.hdl_cfg.app_start_hdl)
441 && gatt_cb.cb_info.p_nv_save_callback)
442 (*gatt_cb.cb_info.p_nv_save_callback)(FALSE, &p_list->asgn_range);
505 p_sreg = &gatt_cb.sr_reg[i_sreg];
526 gatt_add_a_srv_to_list(&gatt_cb.srv_list_info, &gatt_cb.srv_list[i_sreg]);
543 GKI_freebuf (GKI_remove_from_queue (&gatt_cb.pending_new_srv_start_q, p_buf));
566 if ( (ii > 0) && (ii < GATT_MAX_SR_PROFILES) && (gatt_cb.sr_reg[ii].in_use) )
568 if (gatt_cb.sr_reg[ii].sdp_handle)
570 SDP_DeleteRecord(gatt_cb.sr_reg[ii].sdp_handle);
572 gatt_remove_a_srv_from_list(&gatt_cb.srv_list_info, &gatt_cb.srv_list[ii]);
573 gatt_cb.srv_list[ii].in_use = FALSE;
574 memset (&gatt_cb.sr_reg[ii], 0, sizeof(tGATT_SR_REG));
1194 for (i_gatt_if = 0, p_reg = gatt_cb.cl_rcb; i_gatt_if < GATT_MAX_APPS; i_gatt_if++, p_reg++)
1203 for (i_gatt_if = 0, p_reg = gatt_cb.cl_rcb; i_gatt_if < GATT_MAX_APPS; i_gatt_if++, p_reg++)
1255 for (ii = 0, p_sreg = gatt_cb.sr_reg; ii < GATT_MAX_SR_PROFILES; ii++, p_sreg++)
1268 for (i=0, p_tcb = gatt_cb.tcb; i < GATT_MAX_PHY_CHANNEL; i++, p_tcb++)
1282 for (j = 0, p_clcb= &gatt_cb.clcb[j]; j < GATT_CL_MAX_LCB; j++, p_clcb++)
1324 p_reg = &gatt_cb.cl_rcb[gatt_if - 1];