+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1282,6 +1300,9 @@
newInterfaceListenIp: null,
newInterfaceListenPort: null,
+ newInterfaceForwardIp: null,
+ newInterfaceForwardPort: null,
+
newInterfacePort: null,
newInterfaceFrequency: null,
newInterfaceBandwidth: null,
@@ -2055,6 +2076,10 @@
// example: "TCPServerInterface[TCP Server Interface/0.0.0.0:4242]";
return `TCPServerInterface[${interfaceName}/${iface.listen_ip}:${iface.listen_port}]`;
}
+ case "UDPInterface": {
+ // example: "UDPInterface[UDP Interface/0.0.0.0:1234]";
+ return `UDPInterface[${interfaceName}/${iface.listen_ip}:${iface.listen_port}]`;
+ }
default: {
// example: "RNodeInterface[RNode LoRa Interface Fast]",
return `${iface.type}[${interfaceName}]`;
@@ -2729,10 +2754,14 @@
this.newInterfaceTargetHost = null;
this.newInterfaceTargetPort = null;
- // tcp server interface
+ // tcp server interface & udp interface
this.newInterfaceListenIp = null;
this.newInterfaceListenPort = null;
+ // udp interface
+ this.newInterfaceForwardIp = null;
+ this.newInterfaceForwardPort = null;
+
// rnode interface
this.newInterfacePort = null;
this.newInterfaceFrequency = null;
@@ -2761,10 +2790,14 @@
this.newInterfaceTargetHost = iface.target_host;
this.newInterfaceTargetPort = iface.target_port;
- // tcp server interface
+ // tcp server interface & udp interface
this.newInterfaceListenIp = iface.listen_ip;
this.newInterfaceListenPort = iface.listen_port;
+ // udp interface
+ this.newInterfaceForwardIp = iface.forward_ip;
+ this.newInterfaceForwardPort = iface.forward_port;
+
// rnode interface
this.newInterfacePort = iface.port;
this.newInterfaceFrequency = iface.frequency;
@@ -2808,9 +2841,12 @@
// tcp client interface
target_host: this.newInterfaceTargetHost,
target_port: this.newInterfaceTargetPort,
- // tcp server interface
+ // tcp server interface & udp interface
listen_ip: this.newInterfaceListenIp,
listen_port: this.newInterfaceListenPort,
+ // udp interface
+ forward_ip: this.newInterfaceForwardIp,
+ forward_port: this.newInterfaceForwardPort,
// rnode interface
port: this.newInterfacePort,
frequency: this.newInterfaceFrequency,