• Home
  • Raw
  • Download

Lines Matching refs:gatt_cb

45   auto lst_ptr = gatt_cb.hdl_list_info;  in gatt_add_an_item_to_list()
92 gatt_cb.cb_info = *p_cb_info; in GATTS_NVRegister()
130 gatt_cb.last_service_handle = 0; in gatt_update_last_srv_info()
132 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_update_last_srv_info()
133 gatt_cb.last_service_handle = el.s_hdl; in gatt_update_last_srv_info()
171 s_hdl = gatt_cb.hdl_cfg.gatt_start_hdl; in GATTS_AddService()
173 s_hdl = gatt_cb.hdl_cfg.gap_start_hdl; in GATTS_AddService()
175 if (!gatt_cb.hdl_list_info->empty()) { in GATTS_AddService()
176 s_hdl = gatt_cb.hdl_list_info->front().asgn_range.e_handle + 1; in GATTS_AddService()
179 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl) in GATTS_AddService()
180 s_hdl = gatt_cb.hdl_cfg.app_start_hdl; in GATTS_AddService()
200 if (gatt_cb.cb_info.p_nv_save_callback) in GATTS_AddService()
201 (*gatt_cb.cb_info.p_nv_save_callback)(true, &list.asgn_range); in GATTS_AddService()
269 auto lst_ptr = gatt_cb.srv_list_info; in GATTS_AddService()
307 for (auto& info : *gatt_cb.srv_list_info) { in is_active_service()
345 if (it == gatt_cb.hdl_list_info->end()) { in GATTS_DeleteService()
359 if ((it->asgn_range.s_handle >= gatt_cb.hdl_cfg.app_start_hdl) && in GATTS_DeleteService()
360 gatt_cb.cb_info.p_nv_save_callback) in GATTS_DeleteService()
361 (*gatt_cb.cb_info.p_nv_save_callback)(false, &it->asgn_range); in GATTS_DeleteService()
363 gatt_cb.hdl_list_info->erase(it); in GATTS_DeleteService()
382 if (it == gatt_cb.srv_list_info->end()) { in GATTS_StopService()
392 gatt_cb.srv_list_info->erase(it); in GATTS_StopService()
948 for (i_gatt_if = 0, p_reg = gatt_cb.cl_rcb; i_gatt_if < GATT_MAX_APPS; in GATT_Register()
956 for (i_gatt_if = 0, p_reg = gatt_cb.cl_rcb; i_gatt_if < GATT_MAX_APPS; in GATT_Register()
1002 for (auto it = gatt_cb.srv_list_info->begin(); in GATT_Deregister()
1003 it != gatt_cb.srv_list_info->end();) { in GATT_Deregister()
1018 for (i = 0, p_tcb = gatt_cb.tcb; i < GATT_MAX_PHY_CHANNEL; i++, p_tcb++) { in GATT_Deregister()
1026 for (j = 0, p_clcb = &gatt_cb.clcb[j]; j < GATT_CL_MAX_LCB; j++, p_clcb++) { in GATT_Deregister()