44
5.2.3 IPCN Command
Short description:
This command allows to configure TCP/IP address and subnet mask.
Command syntax:
$IPCN <DHCP> <IPA> <IPB> <IPC> <IPC> <MA> <MB> <MC> <MD> <MTU>
$IPCN <DHCP>
Configured as DHCP client
Client.Network.DhcpMode = true;
$IPCN 0 192 168 170 2 255 255 255 0 0
$IPCN <DHCP> <IPA> <IPB> <IPC> <IPC> <MA> <MB> <MC> <MD> <MTU>
Configured as static IP address
IP Address = 192.168.170.2
Subnet Mask = 255.255.255.0
MTU = 0 (no jumbo packets)
MTU argument gives the maximum
transferable unit which can be anything
between 1500 and 9000 bytes per TCP
packet (jumbo packets).
Client.Network.DhcpMode = false;
Client.Network.IPAdress = "192.168.170.2";
Client.Network.SubnetMask = "255.255.255.0";