Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_sr.cc454 BT_HDR* p_msg, tGATT_TCB& tcb, uint8_t op_code, uint16_t s_hdl, in gatt_build_primary_service_rsp() argument
462 if (el.s_hdl < s_hdl || el.s_hdl > e_hdl || in gatt_build_primary_service_rsp()
492 UINT16_TO_STREAM(p, el.s_hdl); in gatt_build_primary_service_rsp()
495 gatt_cb.last_service_handle == el.s_hdl) { in gatt_build_primary_service_rsp()
522 uint16_t s_hdl, uint16_t e_hdl) { in gatt_build_find_info_rsp() argument
534 if (attr.handle < s_hdl) continue; in gatt_build_find_info_rsp()
568 static tGATT_STATUS read_handles(uint16_t& len, uint8_t*& p, uint16_t& s_hdl, in read_handles() argument
573 STREAM_TO_UINT16(s_hdl, p); in read_handles()
577 if (s_hdl > e_hdl || !GATT_HANDLE_IS_VALID(s_hdl) || in read_handles()
587 uint16_t& s_hdl, in gatts_validate_packet_format() argument
[all …]
Dgatt_api.cc133 gatt_cb.last_service_handle = el.s_hdl; in gatt_update_last_srv_info()
154 uint16_t s_hdl = 0; in GATTS_AddService() local
171 s_hdl = gatt_cb.hdl_cfg.gatt_start_hdl; in GATTS_AddService()
173 s_hdl = gatt_cb.hdl_cfg.gap_start_hdl; in GATTS_AddService()
176 s_hdl = gatt_cb.hdl_list_info->front().asgn_range.e_handle + 1; in GATTS_AddService()
179 if (s_hdl < gatt_cb.hdl_cfg.app_start_hdl) in GATTS_AddService()
180 s_hdl = gatt_cb.hdl_cfg.app_start_hdl; in GATTS_AddService()
186 if (num_handles > (0xFFFF - s_hdl + 1)) { in GATTS_AddService()
187 LOG(ERROR) << __func__ << ": no handles, s_hdl=" << +s_hdl in GATTS_AddService()
192 tGATT_HDL_LIST_ELEM& list = gatt_add_an_item_to_list(s_hdl); in GATTS_AddService()
[all …]
Dgatt_db.cc53 bool is_pri, uint16_t s_hdl, uint16_t num_handle) { in gatts_init_service_db() argument
56 VLOG(1) << StringPrintf("%s: s_hdl= %d num_handle= %d", __func__, s_hdl, in gatts_init_service_db()
60 db.next_handle = s_hdl; in gatts_init_service_db()
61 db.end_handle = s_hdl + num_handle; in gatts_init_service_db()
Datt_protocol.cc127 BT_HDR* attp_build_browse_cmd(uint8_t op_code, uint16_t s_hdl, uint16_t e_hdl, in attp_build_browse_cmd() argument
140 UINT16_TO_STREAM(p, s_hdl); in attp_build_browse_cmd()
Dgatt_int.h260 uint16_t s_hdl; /* service starting handle */ member
548 uint16_t s_hdl, uint16_t num_handle);
Dgatt_utils.cc668 if (it->s_hdl <= handle && it->e_hdl >= handle) { in gatt_sr_find_i_rcb_by_handle()