2 * Copyright (c) 2010-2021 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.enocean.internal.config;
15 import static org.openhab.binding.enocean.internal.EnOceanBindingConstants.EMPTYENOCEANID;
17 import java.util.ArrayList;
18 import java.util.List;
20 import org.openhab.core.util.HexUtils;
24 * @author Daniel Weber - Initial contribution
26 public class EnOceanBaseConfig {
27 public String enoceanId;
29 public List<String> receivingEEPId = new ArrayList<>();
30 public boolean receivingSIGEEP = false;
32 public EnOceanBaseConfig() {
33 enoceanId = EMPTYENOCEANID;
36 public byte[] getEnOceanId() {
37 return HexUtils.hexToBytes(enoceanId);