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.c513 UINT8 op_code, UINT16 s_hdl, in gatt_build_primary_service_rsp() argument
532 p_rcb->s_hdl >= s_hdl && in gatt_build_primary_service_rsp()
533 p_rcb->s_hdl <= e_hdl && in gatt_build_primary_service_rsp()
561 UINT16_TO_STREAM(p, p_rcb->s_hdl); in gatt_build_primary_service_rsp()
603 UINT16 s_hdl, UINT16 e_hdl) in gatt_build_find_info_rsp() argument
626 if (p_attr->handle >= s_hdl) in gatt_build_find_info_rsp()
683 UINT16 uuid_len, s_hdl = 0, e_hdl = 0; in gatts_validate_packet_format() local
690 STREAM_TO_UINT16(s_hdl, p); in gatts_validate_packet_format()
694 if (s_hdl > e_hdl || !GATT_HANDLE_IS_VALID(s_hdl) || !GATT_HANDLE_IS_VALID(e_hdl)) in gatts_validate_packet_format()
724 *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_ERROR2 ("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.c61 UINT16 s_hdl, UINT16 num_handle) in gatts_init_service_db() argument
70 GATT_TRACE_DEBUG2("s_hdl = %d num_handle = %d", s_hdl, num_handle ); in gatts_init_service_db()
73 p_db->next_handle = s_hdl; in gatts_init_service_db()
74 p_db->end_handle = s_hdl + num_handle; in gatts_init_service_db()
Dgatt_int.h222 UINT16 s_hdl; /* service starting handle */ member
318 UINT16 s_hdl; member
655 …_service_db (tGATT_SVC_DB *p_db, tBT_UUID service, BOOLEAN is_pri, UINT16 s_hdl, UINT16 num_handle…
Dgatt_utils.c465 gatt_cb.srv_list[i_sreg].s_hdl = gatt_cb.sr_reg[i_sreg].s_hdl; in gatts_update_srv_list_elem()
513 if (p_new->s_hdl < p_old->s_hdl) in gatt_add_a_srv_to_list()
1189 gatt_cb.sr_reg[i_rcb].s_hdl <= handle && in gatt_sr_find_i_rcb_by_handle()
1259 p_sreg->s_hdl = p_list->asgn_range.s_handle; in gatt_sr_alloc_rcb()
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()