Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr.cc547 uint16_t s_hdl, uint16_t e_hdl, uint8_t* /* p_data */, const Uuid& value) { in gatt_build_primary_service_rsp() argument
556 if (el.s_hdl < s_hdl || el.s_hdl > e_hdl || in gatt_build_primary_service_rsp()
586 UINT16_TO_STREAM(p, el.s_hdl); in gatt_build_primary_service_rsp()
589 gatt_cb.last_service_handle == el.s_hdl) { in gatt_build_primary_service_rsp()
616 uint16_t s_hdl, uint16_t e_hdl) { in gatt_build_find_info_rsp() argument
628 if (attr.handle < s_hdl) continue; in gatt_build_find_info_rsp()
662 static tGATT_STATUS read_handles(uint16_t& len, uint8_t*& p, uint16_t& s_hdl, in read_handles() argument
667 STREAM_TO_UINT16(s_hdl, p); in read_handles()
671 if (s_hdl > e_hdl || !GATT_HANDLE_IS_VALID(s_hdl) || in read_handles()
681 uint16_t& s_hdl, in gatts_validate_packet_format() argument
[all …]
Dgatt_api.cc139 gatt_cb.last_service_handle = el.s_hdl; in gatt_update_last_srv_info()
171 uint16_t s_hdl = 0; in GATTS_AddService() local
188 s_hdl = gatt_cb.hdl_cfg.gatt_start_hdl; in GATTS_AddService()
190 s_hdl = gatt_cb.hdl_cfg.gap_start_hdl; in GATTS_AddService()
192 s_hdl = gatt_cb.hdl_cfg.gmcs_start_hdl; in GATTS_AddService()
194 s_hdl = gatt_cb.hdl_cfg.gtbs_start_hdl; in GATTS_AddService()
196 s_hdl = gatt_cb.hdl_cfg.tmas_start_hdl; in GATTS_AddService()
199 s_hdl = gatt_cb.hdl_list_info->front().asgn_range.e_handle + 1; in GATTS_AddService()
202 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl) in GATTS_AddService()
203 s_hdl = gatt_cb.hdl_cfg.app_start_hdl; in GATTS_AddService()
[all …]
Dgatt_db.cc51 bool is_pri, uint16_t s_hdl, uint16_t num_handle) { in gatts_init_service_db() argument
54 log::verbose("s_hdl= {} num_handle= {}", s_hdl, num_handle); in gatts_init_service_db()
57 db.next_handle = s_hdl; in gatts_init_service_db()
58 db.end_handle = s_hdl + num_handle; in gatts_init_service_db()
Datt_protocol.cc135 static BT_HDR* attp_build_browse_cmd(uint8_t op_code, uint16_t s_hdl, in attp_build_browse_cmd() argument
149 UINT16_TO_STREAM(p, s_hdl); in attp_build_browse_cmd()
Dgatt_int.h287 uint16_t s_hdl; /* service starting handle */ member
660 bool is_pri, uint16_t s_hdl, uint16_t num_handle);
Dgatt_utils.cc835 if (it->s_hdl <= handle && it->e_hdl >= handle) { in gatt_sr_find_i_rcb_by_handle()