Home
last modified time | relevance | path

Searched refs:s_hdl (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/bluedroid/stack/gatt/
Dgatt_sr.c526 UINT8 op_code, UINT16 s_hdl, in gatt_build_primary_service_rsp() argument
547 p_rcb->s_hdl >= s_hdl && in gatt_build_primary_service_rsp()
548 p_rcb->s_hdl <= e_hdl && in gatt_build_primary_service_rsp()
576 UINT16_TO_STREAM(p, p_rcb->s_hdl); in gatt_build_primary_service_rsp()
619 UINT16 s_hdl, UINT16 e_hdl) in gatt_build_find_info_rsp() argument
642 if (p_attr->handle >= s_hdl) in gatt_build_find_info_rsp()
704 UINT16 uuid_len, s_hdl = 0, e_hdl = 0; in gatts_validate_packet_format() local
711 STREAM_TO_UINT16(s_hdl, p); in gatts_validate_packet_format()
715 if (s_hdl > e_hdl || !GATT_HANDLE_IS_VALID(s_hdl) || !GATT_HANDLE_IS_VALID(e_hdl)) in gatts_validate_packet_format()
747 *p_s_hdl = s_hdl; in gatts_validate_packet_format()
[all …]
Dgatt_api.c147 UINT16 s_hdl=0; in GATTS_CreateService() local
166 s_hdl = p_list->asgn_range.s_handle; in GATTS_CreateService()
173 s_hdl= gatt_cb.hdl_cfg.gatt_start_hdl; in GATTS_CreateService()
177 s_hdl= gatt_cb.hdl_cfg.gap_start_hdl; in GATTS_CreateService()
185 s_hdl = p_list->asgn_range.e_handle + 1; in GATTS_CreateService()
188 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl) in GATTS_CreateService()
191 s_hdl= gatt_cb.hdl_cfg.app_start_hdl; in GATTS_CreateService()
197 if (num_handles > (0xFFFF - s_hdl + 1)) in GATTS_CreateService()
199 … GATT_TRACE_ERROR ("GATTS_ReserveHandles: no handles, s_hdl: %u needed: %u", s_hdl, num_handles); in GATTS_CreateService()
213 p_list->asgn_range.s_handle = s_hdl; in GATTS_CreateService()
[all …]
Dgatt_db.c63 UINT16 s_hdl, UINT16 num_handle) in gatts_init_service_db() argument
72 GATT_TRACE_DEBUG("s_hdl = %d num_handle = %d", s_hdl, num_handle ); in gatts_init_service_db()
75 p_db->next_handle = s_hdl; in gatts_init_service_db()
76 p_db->end_handle = s_hdl + num_handle; in gatts_init_service_db()
Dgatt_int.h237 UINT16 s_hdl; /* service starting handle */ member
336 UINT16 s_hdl; member
696 …rvice_db (tGATT_SVC_DB *p_db, tBT_UUID *p_service, BOOLEAN is_pri, UINT16 s_hdl, UINT16 num_handle…
Datt_protocol.c136 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) in attp_build_browse_cmd() argument
149 UINT16_TO_STREAM (p, s_hdl); in attp_build_browse_cmd()
Dgatt_utils.c485 gatt_cb.srv_list[i_sreg].s_hdl = gatt_cb.sr_reg[i_sreg].s_hdl; in gatts_update_srv_list_elem()
533 if (p_new->s_hdl < p_old->s_hdl) in gatt_add_a_srv_to_list()
1292 gatt_cb.sr_reg[i_rcb].s_hdl <= handle && in gatt_sr_find_i_rcb_by_handle()
1362 p_sreg->s_hdl = p_list->asgn_range.s_handle; in gatt_sr_alloc_rcb()