diff --git a/src/main/java/org/mobidgim/mobidigimproject/model/device/subDTO/Lte.java b/src/main/java/org/mobidgim/mobidigimproject/model/device/subDTO/Lte.java
index 0e88899..001821e 100644
--- a/src/main/java/org/mobidgim/mobidigimproject/model/device/subDTO/Lte.java
+++ b/src/main/java/org/mobidgim/mobidigimproject/model/device/subDTO/Lte.java
@@ -5,10 +5,10 @@ import com.fasterxml.jackson.annotation.JsonProperty;
public class Lte {
@JsonProperty("lte_ip")
private String LTEip;
- @JsonProperty("lte_subnet")
- private String LTEsubnet;
+ @JsonProperty("lte_netmask")
+ private String LTEnetmask;
@JsonProperty("lte_gateway")
private String LTEgateway;
@JsonProperty("lte_port")
- private int LTEport;
+ private String LTEport;
}
diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html
index 753069a..1bd9a55 100644
--- a/src/main/resources/static/index.html
+++ b/src/main/resources/static/index.html
@@ -293,14 +293,16 @@
Server
IPPort
- TIoT Server
+ TIoT Server
Update Server
- DGPS Server
+ DGPS Server
OPC-UA
+ MODBUS
@@ -589,7 +591,6 @@
-
@@ -854,7 +855,7 @@
/* Ethernet */
eth_ip: '', eth_netmask: '', eth_gateway: '',
- /* 서버들 */
+ /* servers */
protocol_server_ip: '', protocol_server_port: null,
update_server_ip: '',
update_server_port: null,
@@ -875,7 +876,7 @@
imu_remap_x_sign: '', imu_remap_y_sign: '', imu_remap_z_sign: '',
/* LTE 설정 */
- lte_ip: '', lte_subnet: '', lte_gateway: '', lte_port: null,
+ lte_ip: '', lte_netmask: '', lte_gateway: '', lte_port: null,
/* SSID 목록 */
WIFI_SSID: [{wifi_ssid: '', wifi_password: '', wifi_security: 'none'}],
};
@@ -2065,6 +2066,7 @@
toggleProtocolMenus();
}
+ document.querySelectorAll('.js-save').forEach(btn=>btn.addEventListener('click', () => {saveToConfig()}))
document.getElementById('loadDeviceBtn_ssid')?.addEventListener('click', () => {
fetch('http://localhost:8080/setting/get-device')
.then(res => {