Lines Matching refs:el
555 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_build_primary_service_rsp()
556 if (el.s_hdl < s_hdl || el.s_hdl > e_hdl || in gatt_build_primary_service_rsp()
557 el.type != GATT_UUID_PRI_SERVICE) { in gatt_build_primary_service_rsp()
561 Uuid* p_uuid = gatts_get_service_uuid(el.p_db); 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()
594 UINT16_TO_STREAM(p, el.e_hdl); in gatt_build_primary_service_rsp()
614 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SRV_LIST_ELEM& el, in gatt_build_find_info_rsp() argument
619 if (!el.p_db) return GATT_NOT_FOUND; in gatt_build_find_info_rsp()
625 for (auto& attr : el.p_db->attr_list) { in gatt_build_find_info_rsp()
795 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatts_process_find_info()
796 if (el.s_hdl <= e_hdl && el.e_hdl >= s_hdl) { in gatts_process_find_info()
797 reason = gatt_build_find_info_rsp(el, p_msg, buf_len, s_hdl, e_hdl); in gatts_process_find_info()
934 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatts_process_read_by_type_req()
935 if (el.s_hdl <= e_hdl && el.e_hdl >= s_hdl) { in gatts_process_read_by_type_req()
941 tcb, cid, el.p_db, op_code, p_msg, s_hdl, e_hdl, uuid, &buf_len, in gatts_process_read_by_type_req()
975 tGATT_SRV_LIST_ELEM& el, uint16_t handle, in gatts_process_write_req() argument
1022 status = gatts_write_attr_perm_check(el.p_db, op_code, handle, in gatts_process_write_req()
1029 conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_process_write_req()
1066 tGATT_SRV_LIST_ELEM& el, uint8_t op_code, in gatts_process_read_req() argument
1096 tcb, cid, el.p_db, op_code, handle, offset, p, &value_len, in gatts_process_read_req()
1152 for (auto& el : *gatt_cb.srv_list_info) { in gatts_process_attribute_req()
1153 if (el.s_hdl <= handle && el.e_hdl >= handle) { in gatts_process_attribute_req()
1154 for (const auto& attr : el.p_db->attr_list) { in gatts_process_attribute_req()
1159 gatts_process_read_req(tcb, cid, el, op_code, handle, len, p); in gatts_process_attribute_req()
1166 gatts_process_write_req(tcb, cid, el, handle, op_code, len, p, in gatts_process_attribute_req()
1291 for (auto& el : *gatt_cb.srv_list_info) { in gatts_process_value_conf()
1292 if (el.s_hdl <= handle && el.e_hdl >= handle) { in gatts_process_value_conf()
1294 uint16_t conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_process_value_conf()