User`s guide

RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 48
3.1.2.2 CHECK FOR THE LAST CONNECTED DEVICE OVER TCP
In some cases, it is beneficial to know the IP address of last device that connected to
the module over TCP or the last device to which the module connected over TCP. To
find this address, use the show z command. This command does not survive a power
cycle or reboot.
Upon power up, if no device is connected over TCP, the show z command returns
0.0.0.0.
3.1.2.3 View Associated Devices
To see a list of devices associated with the module, use the show associated com-
mand. The command output is in the following format with commas delimiting the fields:
Figure 3-2 shows example output from the show associated command.
FIGURE 3-2: SHOW ASSOCIATE COMMAND EXAMPLE OUTPUT
You can use the Seconds since last packet received output to check for stale con-
nections.
3.1.2.4 Enable the Link Monitor
AP mode supports a link monitor feature to detect if individual client devices are active
and in range of the module. The link monitor is a timer (in seconds) that checks to see
if any packets are received from an associated device. If the timer expires, the AP mod-
ule de-authenticates the client(s). This feature is useful for aging out clients that do not
send any traffic over Wi-Fi.
You enable the link monitor using the set wlan fmon <value>, <value> is a decimal
number representing the number of seconds of client inactivity (i.e., no data received
from the client device). This command sets the soft AP mode link monitor timeout
threshold for each associated client device. When this timer expires, the module deau-
thenticates that particular client.
Setting this timer to a lower value, e.g., 10 seconds, may result in frequent deauthen-
tications for client devices if they do not send data before the timer expires.
To disable the fmon timer, set <value> to zero (0). The default is 3600.
Example: set wlan fmon 1000 // Set the fmon timer to 1,000 seconds
3.1.2.5 ROUTE DATA BETWEEN CLIENTS
AP mode supports routing between clients. Clients can ping each other via the AP mod-
ule and can also send data to each other over TCP and UDP.
Connection
number
Host MAC
address
Received byte
count
Transmitted
byte count
Seconds since last
packet received
<2.42> show associated
1,f0:cb:a1:2b:63:59,36868,0,7
2,00:24:8c:31:e5:27,76168,0,2
3,98:4b:4a:6b:e0:0f,1992,0,0
<2.42>