From b6e86183ba7cd2a2251367971b5043b8c6c36602 Mon Sep 17 00:00:00 2001 From: sh123 Date: Sun, 10 Oct 2021 21:13:23 +0300 Subject: [PATCH] Added preference keys --- .../com/radio/codec2talkie/settings/PreferenceKeys.java | 3 +++ codec2talkie/src/main/res/xml/preferences_tcpip.xml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/codec2talkie/src/main/java/com/radio/codec2talkie/settings/PreferenceKeys.java b/codec2talkie/src/main/java/com/radio/codec2talkie/settings/PreferenceKeys.java index 85d63a2..32c2b7c 100644 --- a/codec2talkie/src/main/java/com/radio/codec2talkie/settings/PreferenceKeys.java +++ b/codec2talkie/src/main/java/com/radio/codec2talkie/settings/PreferenceKeys.java @@ -3,6 +3,9 @@ package com.radio.codec2talkie.settings; public final class PreferenceKeys { public static String PORTS_USB_SERIAL_SPEED = "ports_usb_serial_speed"; public static String PORTS_BT_CLIENT_NAME = "ports_bt_client_name"; + public static String PORTS_TCP_IP_ENABLED = "ports_tcp_ip_enable"; + public static String PORTS_TCP_IP_ADDRESS = "ports_tcp_ip_address"; + public static String PORTS_TCP_IP_PORT = "ports_tcp_ip_port"; public static String CODEC2_MODE = "codec2_mode"; public static String CODEC2_TEST_MODE = "codec2_test_mode"; diff --git a/codec2talkie/src/main/res/xml/preferences_tcpip.xml b/codec2talkie/src/main/res/xml/preferences_tcpip.xml index 58de365..d5ca992 100644 --- a/codec2talkie/src/main/res/xml/preferences_tcpip.xml +++ b/codec2talkie/src/main/res/xml/preferences_tcpip.xml @@ -3,18 +3,18 @@ xmlns:app="http://schemas.android.com/apk/res-auto">