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;
16 * Enumeration containing the firmware types.
18 * @author Karel Goderis - Initial contribution
20 public enum Firmware {
21 F0(0, "BCU 1, BCU 2, BIM M113"),
22 F1(1, "Unidirectional devices"),
23 F3(3, "Property based device management"),
25 F8(8, "IR Decoder, TP1 legacy"),
26 F9(9, "Repeater, Coupler");
31 private Firmware(int code, String name) {
37 public String toString() {
41 public static String getName(int code) {
42 for (Firmware c : Firmware.values()) {