Lines Matching refs:asgn_range
48 if (s_handle > it->asgn_range.s_handle) break; in gatt_add_an_item_to_list()
176 s_hdl = gatt_cb.hdl_list_info->front().asgn_range.e_handle + 1; in GATTS_AddService()
193 list.asgn_range.app_uuid128 = p_reg->app_uuid128; in GATTS_AddService()
194 list.asgn_range.svc_uuid = svc_uuid; in GATTS_AddService()
195 list.asgn_range.s_handle = s_hdl; in GATTS_AddService()
196 list.asgn_range.e_handle = s_hdl + num_handles - 1; in GATTS_AddService()
197 list.asgn_range.is_primary = is_pri; in GATTS_AddService()
201 (*gatt_cb.cb_info.p_nv_save_callback)(true, &list.asgn_range); in GATTS_AddService()
207 << ", s_hdl=" << loghex(list.asgn_range.s_handle) in GATTS_AddService()
208 << ", e_hdl=" << loghex(list.asgn_range.e_handle) in GATTS_AddService()
209 << ", uuid=" << list.asgn_range.svc_uuid in GATTS_AddService()
210 << ", is_primary=" << +list.asgn_range.is_primary; in GATTS_AddService()
259 list.svc_db, p_incl_decl->asgn_range.s_handle, in GATTS_AddService()
260 p_incl_decl->asgn_range.e_handle, p_incl_decl->asgn_range.svc_uuid); in GATTS_AddService()
272 if (list.asgn_range.s_handle < it->s_hdl) break; in GATTS_AddService()
278 elem.s_hdl = list.asgn_range.s_handle; in GATTS_AddService()
279 elem.e_hdl = list.asgn_range.e_handle; in GATTS_AddService()
281 elem.is_primary = list.asgn_range.is_primary; in GATTS_AddService()
283 elem.app_uuid = list.asgn_range.app_uuid128; in GATTS_AddService()
284 elem.type = list.asgn_range.is_primary ? GATT_UUID_PRI_SERVICE in GATTS_AddService()
353 GATTS_StopService(it->asgn_range.s_handle); in GATTS_DeleteService()
356 VLOG(1) << "released handles s_hdl=" << loghex(it->asgn_range.s_handle) in GATTS_DeleteService()
357 << ", e_hdl=" << loghex(it->asgn_range.e_handle); in GATTS_DeleteService()
359 if ((it->asgn_range.s_handle >= gatt_cb.hdl_cfg.app_start_hdl) && in GATTS_DeleteService()
361 (*gatt_cb.cb_info.p_nv_save_callback)(false, &it->asgn_range); in GATTS_DeleteService()