]> git.basschouten.com Git - openhab-addons.git/blob
391adb4919d3a3967482e8420bc1ea5678a50d5b
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.knx.internal.handler;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * @author Karel Goderis - Initial contribution
19  */
20 @NonNullByDefault
21 public class DeviceConstants {
22
23     private DeviceConstants() {
24         // prevent instantiation
25     }
26
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
37
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 GROUPOBJECT_OBJECT = 9; // Group Object Object
45     public static final int KNXNET_IP_OBJECT = 11; // KNXnet/IP Parameter Object
46
47     // Property IDs for device information;
48     public static final int HARDWARE_TYPE = 78;
49 }