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.dscalarm.internal.config;
16 * Configuration class for the TCP Server bridge, used to connect to the DSC Alarm system.
18 * @author Russell Stephens - Initial contribution
21 public class TCPServerBridgeConfiguration {
23 // TCP Server Bridge Thing constants
24 public static final String IP_ADDRESS = "ipAddress";
25 public static final String PORT = "port";
26 public static final String PASSWORD = "password";
27 public static final String CONNECTION_TIMEOUT = "connectionTimeout";
28 public static final String POLL_PERIOD = "pollPeriod";
29 public static final String PROTOCOL = "protocol";
32 * The IP address of the TCP Server
34 public String ipAddress;
37 * The port number of the TCP Server
42 * The Socket connection timeout for the TCP Server
44 public Integer connectionTimeout;
47 * The Panel Poll Period. Can be set in range 1-15 minutes. Default is 1 minute;
49 public Integer pollPeriod;
52 * The Protocol Type - 1 for IT-100 API or 2 for Envisalink TPI.
54 public Integer protocol;