Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c593 UINT8 op_code, UINT16 s_hdl, in gatt_build_primary_service_rsp() argument
613 p_rcb->s_hdl >= s_hdl && in gatt_build_primary_service_rsp()
614 p_rcb->s_hdl <= e_hdl && in gatt_build_primary_service_rsp()
637 UINT16_TO_STREAM(p, p_rcb->s_hdl); in gatt_build_primary_service_rsp()
678 UINT16 s_hdl, UINT16 e_hdl) in gatt_build_find_info_rsp() argument
700 if (p_attr->handle >= s_hdl) { in gatt_build_find_info_rsp()
752 UINT16 uuid_len, s_hdl = 0, e_hdl = 0; in gatts_validate_packet_format() local
758 STREAM_TO_UINT16(s_hdl, p); in gatts_validate_packet_format()
762 if (s_hdl > e_hdl || !GATT_HANDLE_IS_VALID(s_hdl) || !GATT_HANDLE_IS_VALID(e_hdl)) { in gatts_validate_packet_format()
790 *p_s_hdl = s_hdl; in gatts_validate_packet_format()
[all …]
Dgatt_api.c148 UINT16 s_hdl = 0; in GATTS_CreateService() local
165 s_hdl = p_list->asgn_range.s_handle; in GATTS_CreateService()
169 s_hdl = gatt_cb.hdl_cfg.gatt_start_hdl; in GATTS_CreateService()
171 s_hdl = gatt_cb.hdl_cfg.gap_start_hdl; in GATTS_CreateService()
176 s_hdl = p_list->asgn_range.e_handle + 1; in GATTS_CreateService()
179 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl) { in GATTS_CreateService()
181 s_hdl = gatt_cb.hdl_cfg.app_start_hdl; in GATTS_CreateService()
187 if (num_handles > (0xFFFF - s_hdl + 1)) { in GATTS_CreateService()
188 …GATT_TRACE_ERROR ("GATTS_ReserveHandles: no handles, s_hdl: %u needed: %u\n", s_hdl, num_handles); in GATTS_CreateService()
201 p_list->asgn_range.s_handle = s_hdl; in GATTS_CreateService()
[all …]
Datt_protocol.c133 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) in attp_build_browse_cmd() argument
145 UINT16_TO_STREAM (p, s_hdl); in attp_build_browse_cmd()
Dgatt_db.c65 UINT16 s_hdl, UINT16 num_handle) in gatts_init_service_db() argument
77 GATT_TRACE_DEBUG("s_hdl = %d num_handle = %d\n", s_hdl, num_handle ); in gatts_init_service_db()
80 p_db->next_handle = s_hdl; in gatts_init_service_db()
81 p_db->end_handle = s_hdl + num_handle; in gatts_init_service_db()
Dgatt_utils.c581 gatt_cb.srv_list[i_sreg].s_hdl = gatt_cb.sr_reg[i_sreg].s_hdl; in gatts_update_srv_list_elem()
623 if (p_new->s_hdl < p_old->s_hdl) { in gatt_add_a_srv_to_list()
1388 gatt_cb.sr_reg[i_rcb].s_hdl <= handle && in gatt_sr_find_i_rcb_by_handle()
1454 p_sreg->s_hdl = p_list->asgn_range.s_handle; in gatt_sr_alloc_rcb()
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h245 UINT16 s_hdl; /* service starting handle */ member
335 UINT16 s_hdl; member
728 …rvice_db (tGATT_SVC_DB *p_db, tBT_UUID *p_service, BOOLEAN is_pri, UINT16 s_hdl, UINT16 num_handle…