]> git.basschouten.com Git - openhab-addons.git/blob
9dbfd35e597772262c034db4c082d876a02ef7fe
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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 /**
16  * @author Karel Goderis - Initial contribution
17  */
18 public class DeviceConstants {
19
20     private DeviceConstants() {
21         // prevent instantiation
22     }
23
24     // Memory addresses for device information
25     public static final int MEM_DOA = 0x0102; // length 2
26     public static final int MEM_MANUFACTURERID = 0x0104;
27     public static final int MEM_DEVICETYPE = 0x0105; // length 2
28     public static final int MEM_VERSION = 0x0107;
29     public static final int MEM_PEI = 0x0109;
30     public static final int MEM_RUNERROR = 0x010d;
31     public static final int MEM_GROUPOBJECTABLEPTR = 0x0112;
32     public static final int MEM_PROGRAMPTR = 0x0114;
33     public static final int MEM_GROUPADDRESSTABLE = 0x0116; // max. length 233
34
35     // Interface Object indexes
36     public static final int DEVICE_OBJECT = 0; // Device Object
37     public static final int ADDRESS_TABLE_OBJECT = 1; // Addresstable Object
38     public static final int ASSOCIATION_TABLE_OBJECT = 2; // Associationtable Object
39     public static final int APPLICATION_PROGRAM_TABLE = 3; // Application Program Object
40     public static final int INTERFACE_PROGRAM_OBJECT = 4; // Interface Program Object
41     public static final int GROUPOBJECT_OBJECT = 9; // Group Object Object
42     public static final int KNXNET_IP_OBJECT = 11; // KNXnet/IP Parameter Object
43
44     // Property IDs for device information;
45     public static final int HARDWARE_TYPE = 78;
46 }