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.openthermgateway.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * The {@link CodeType} field is not part of OpenTherm specification, but added by OpenTherm Gateway.
19 * It can be any of the following:
21 * T: Message received from the thermostat
22 * B: Message received from the boiler
23 * R: Request sent to the boiler
24 * A: Response returned to the thermostat
25 * E: Parity or stop bit error
27 * @author Arjen Korevaar - Initial contribution
28 * @author James Melville - Introduced code filtering functionality
31 public enum CodeType {
33 * Message received from the thermostat
37 * Message received from the boiler
41 * Request sent to the boiler from OTGW, only present if value modified by OTGW
45 * Response returned to the thermostat from OTGW, only present if value modified by OTGW
49 * Parity or stop bit error