Home | History | Annotate | Download | only in gatt

Lines Matching refs:s_hdl

147     UINT16                  s_hdl=0;
166 s_hdl = p_list->asgn_range.s_handle;
173 s_hdl= gatt_cb.hdl_cfg.gatt_start_hdl;
177 s_hdl= gatt_cb.hdl_cfg.gap_start_hdl;
185 s_hdl = p_list->asgn_range.e_handle + 1;
188 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl)
191 s_hdl= gatt_cb.hdl_cfg.app_start_hdl;
197 if (num_handles > (0xFFFF - s_hdl + 1))
199 GATT_TRACE_ERROR ("GATTS_ReserveHandles: no handles, s_hdl: %u needed: %u", s_hdl, num_handles);
213 p_list->asgn_range.s_handle = s_hdl;
214 p_list->asgn_range.e_handle = s_hdl+num_handles-1;
241 if (!gatts_init_service_db(&p_list->svc_db, p_svc_uuid, is_pri, s_hdl , num_handles))
255 GATT_TRACE_DEBUG ("GATTS_CreateService(success): handles needed:%u s_hdl=%u e_hdl=%u %s[%x] is_primary=%d",
261 return(s_hdl);
435 GATTS_StopService(gatt_cb.sr_reg[i_sreg].s_hdl);
438 GATT_TRACE_DEBUG ("released handles s_hdl=%u e_hdl=%u",
517 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl);
524 gatts_update_srv_list_elem(i_sreg, p_sreg->s_hdl,
531 GATT_TRACE_DEBUG ("s_hdl=%d e_hdl=%d type=0x%x svc_inst=%d sdp_hdl=0x%x",
532 p_sreg->s_hdl,p_sreg->e_hdl,
1269 GATTS_StopService(p_sreg->s_hdl);