www.rovingnetworks.com
Version 1.0r 9/21/2012
10
RN -W IFLYCR -U M
set adhoc probe <
value
>
This command sets the ad hoc probe timeout in seconds, where <
value
> is the number of seconds. The probe
timeout is the number of seconds the module waits for probe responses before declaring, “ADHOC is lost,” and
disabling the network interface.
Default:
5
Example:
set adhoc probe 80
// Sets the ad hoc probe timeout to 80 s
set broadcast address <
address
>
This command sets the address to which the UDP hello/heartbeat message is sent, where <
address
> is an IP address
in the form <
value
>.<
value
>.<
value
>.<
value
> with <
value
> being a number between 0 and 255.
Default:
255.255.255.255
Example:
set broadcast address 255.255.255.255
// Sets the broadcast address to 255.255.255.255
set broadcast interval <
mask
>
This command sets the interval at which the hello/heartbeat UDP message is sent and is specified in seconds. The
value is a mask that is ANDed with a free running seconds counter; if the result is all 0s, a packet is sent. For
example:
•
If the interval is 0x1, the module sends one packet every 2 seconds.
•
If the interval is 0x2. The module sends two packets every 4 seconds.
•
If the interval is 0x3, the module sends one packet every 4 seconds.
•
If the interval is 0x6, the module sends two packets every 8 seconds.
•
If the interval is 0x7, the module sends one packet every 8 seconds.
The minimum interval value is 1 (every 2 seconds) and the maximum value is 0xff (every 256 seconds). Setting the
interval value to zero disables UDP broadcast messages.
Default:
7
Example:
set broadcast interval 6
// Sets the heartbeat UDP message interval to 6 seconds
set broadcast port <
value
>
This commands sets the port to which the UDP hello/heartbeat message is sent, where <
value
> represents the port
number.
Default:
55555
Example:
set broadcast port 55555
// Sets the port to which the UDP heartbeat is sent to
// 55555