set ip localport <value>
This command sets the local port number, where <value> is a decimal number representing the port.
Default: 2000
Exampl: set ip localport 1025 // Sets the local port to 1025
set ip netmask <address>
This command sets the network mask, where <address> is an IP address in the form
<value>.<value>.<value>.<value> with <value> being a number between 0 and 255. If DHCP is turned on, the
netmask is assigned and overwritten when the module associates with the access point.
Default: 255.255.255.0
Example: set ip netmask 255.255.0.0 // Sets the netmask to 255.255.0.0
set ip protocol <flag>
This command sets the IP protocol, where <flag> is a bit-mapped register as shown in Figure 2. To be able to connect
to the WiFly module over TCP/IP (for example using telnet), you must set bit 2 of the IP protocol register. For the
module to accept both TCP and UDP set bits 1 and 2 (value = 3).
Figure 2. set ip protocol Command Bit-Mapped Register
!
Default: 2
Example: set ip protocol 18 // enables TCP and HTTP client mode
set ip remote <value>
This command sets the remote host port number, where <value> is a decimal number representing the port.
Default: 2000
Example: set IP remote 1025 // Sets the remote host port to 1025
set ip tcp-mode <mask>
This command controls the TCP connect timers, DNS preferences, and remote configuration options. <mask> is a hex
number referring to a bit-mapped register as shown in Figure 3.
NOTE: The TCPMODE register is available in firmware version 2.27 and higher.
Comentários a estes Manuais