11.4.6 Communication Commands
Set/get Ethernet port protocol
11.4.6.1 ETH-PORT
Set Ethernet port protocol
#ETH-PORTSPportType,ETHPortCR
Get Ethernet port protocol
~nn@ETH-PORTSPportType,ETHPortCR LF
portType – TCP=0, UDP=1
ETHPort – TCP / UDP port number: 0-65565
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 0,12457”,0x0D