#ETH-PORTSPportType,ETHPortCR
Get:
Get Ethernet port
protocol
~nn@ETH-PORTSPportType,ETHPortCR LF
Parameters
portType – string of 3 letters indicating the port type: TCP, UDP
ETHPort
– TCP / UDP port number: 0–65535
If the port number you enter is already in use, an error is returned
The port number must be within the following range: 0–(2^16-1)
Set the Ethernet port protocol for TCP to port 12457:
#ETH-PORT TCP,12457<CR>
Set a network
configuration.
#NET-CONFIG ␠id,ip,net_mask,gateway␍␊
Get:
Get a network
id – Ethernet connection ID number: 0
ip – network IP address, in the following format: xxx.xxx.xxx.xxx
net_mask – network mask, in the following format: xxx.xxx.xxx.xxx
gateway
– network gateway, in the following format: xxx.xxx.xxx.xxx
Set the device network parameters to IP address 192.168.113.10, net mask 255.255.0.0, and gateway
#NET-CONFIG 0,192.168.113.10,255.255.0.0,192.168.0.1<CR>