www.rovingnetworks.com
Version 1.0r 9/21/2012
39
RN -W IFLYCR -U M
open <
address
> <
value
>
This command opens a TCP connection to <
address
>, where <
value
> is the port number and <
address
> is an IP
address in the form <
value
>.<
value
>.<
value
>.<
value
> with <
value
> being a number between 0 and 255. If you do
not use the <
address
> and <
value
> parameters, the module attempts to connect to the stored remote host IP address
and remote port number. <
address
> can also be a DNS host name that the module attempts to resolve.
Default:
Stored remote IP address and port
Example:
open 10.20.20.62 2000
// Open a connection to 10.20.20.62 port 2000
ping <
string
> <
value
>
This command pings a remote host, where <
string
> is one of the parameters shown in Table 14 and <
value
> is the
number of pings to send. By default, the module sends 1 packet. The optional <
value
> sends <
value
> pings, at 10
per second.
Table 14. ping Command Parameter Options
Option
Description
g
This option pings the gateway. The gateway IP address is loaded if DHCP is turned on; otherwise, you must
set it using the
set ip gateway
<
address
> command.
h
This option pings the stored host IP address. You can set the host IP address using the
set ip host
<
address
> command.
i
This option pings a known Internet server, www.neelum.com, by first resolving the URL. This option is useful
to demonstrate that DNS is working and that the device has Internet connectivity.
0
This option terminates a previously issued ping command.
<
address
>
Ping a remote host where <
address
> is an IP address in the form <
value
>.<
value
>.<
value
>.<
value
> with
<
value
> being a number between 0 and 255.
Default:
1 packet
Example:
ping 10.20.20.12 10
// Ping 10.20.20.12 10 times
reboot
This command forces the module to reboot (similar to a power cycle).
Example:
reboot
// Reboot the module