Developer Information
32
Network Configuration
The next block shows the TCP/IP networking configuration:
NETWORK:↵
Dynamic IP: true↵
Static address: 192.168.2.2↵
Static netmask: 255.255.255.0↵
Static gateway: 192.168.2.1↵
Current address: 192.168.1.101↵
Current netmask: 255.255.255.0↵
Current gateway: 192.168.1.1↵
↵
The network settings prefixed with CURRENT show the active TCP/IP settings, and are read-only. The
CURRENT settings reflect either the DHCP or Static configuration, depending on the DYNAMIC IP flag.
Changing Networking Settings
The network can be configured to use either DHCP or a static configuration. To enable DHCP:
NETWORK:↵
Dynamic IP: true↵
↵
To set a fixed IP address, supply all static parameters, thus:
NETWORK:↵
Dynamic IP: false↵
Static address: 192.168.2.2↵
Static netmask: 255.255.255.0↵
Static gateway: 192.168.2.1↵
↵
The parameters with the CURRENT prefix are read-only, and show the active configuration, regardless of
the static or dynamic setting.
Changing the device name, or any network settings, will cause the IP connection to be dropped. The device
will restart its networking and advertise its new name on the network.