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.handler;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * @author Karel Goderis - Initial contribution
21 public class DeviceConstants {
23 private DeviceConstants() {
24 // prevent instantiation
27 // Memory addresses for device information
28 public static final int MEM_DOA = 0x0102; // length 2
29 public static final int MEM_MANUFACTURERID = 0x0104;
30 public static final int MEM_DEVICETYPE = 0x0105; // length 2
31 public static final int MEM_VERSION = 0x0107;
32 public static final int MEM_PEI = 0x0109;
33 public static final int MEM_RUNERROR = 0x010d;
34 public static final int MEM_GROUPOBJECTABLEPTR = 0x0112;
35 public static final int MEM_PROGRAMPTR = 0x0114;
36 public static final int MEM_GROUPADDRESSTABLE = 0x0116; // max. length 233
38 // Interface Object indexes
39 public static final int DEVICE_OBJECT = 0; // Device Object
40 public static final int ADDRESS_TABLE_OBJECT = 1; // Addresstable Object
41 public static final int ASSOCIATION_TABLE_OBJECT = 2; // Associationtable Object
42 public static final int APPLICATION_PROGRAM_TABLE = 3; // Application Program Object
43 public static final int INTERFACE_PROGRAM_OBJECT = 4; // Interface Program Object
44 public static final int ROUTER_OBJECT = 6; // Router Object
45 public static final int GROUPOBJECT_OBJECT = 9; // Group Object Object
46 public static final int KNXNET_IP_OBJECT = 11; // KNXnet/IP Parameter Object
48 // Property IDs for device information;
49 public static final int HARDWARE_TYPE = 78; // to be used with DEVICE_OBJECT
50 public static final int MAX_ROUTED_APDU_LENGTH = 58; // to be used with ADDRESS_TABLE_OBJECT, renamed due to name
51 // conflict in standard (PID.MAX_APDULENGTH used with