2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.knx.internal.client;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
18 import tuwien.auto.calimero.IndividualAddress;
21 * Client to retrieve further information about KNX devices.
23 * @author Simon Kaufmann - initial contribution and API
27 public interface DeviceInfoClient {
29 byte @Nullable [] readDeviceDescription(IndividualAddress address, int descType, boolean authenticate, long timeout)
30 throws InterruptedException;
32 byte @Nullable [] readDeviceMemory(IndividualAddress address, int startAddress, int bytes, boolean authenticate,
33 long timeout) throws InterruptedException;
35 byte @Nullable [] readDeviceProperties(IndividualAddress address, final int interfaceObjectIndex,
36 final int propertyId, final int start, final int elements, boolean authenticate, long timeout)
37 throws InterruptedException;
39 boolean isConnected();