32
ATZB-EVB-XXX-XXX User Manual
AVR-09-2011
Node titles are defined in the
NodeNames.txt
file. By default, it is located in the
following subdirectory:
"
.
/
Evaluation Tools/WSNDemo (WSN Monitor)/resources/
configuration/
”.
Notice: the full path to the file depends on the root directory which has been specified
during installation of the Development Kit (see Section 4.3).
NodeNames.txt
contains one “
-- NodeNames --
” header string which is followed
by a number of strings each of which contains 64-bit MAC address and the title of
each node. For example, see Figure 6.
If the
NodeNames.txt
file is not found or its format is not recognized, the WSN
Monitor designates the titles named by default.
Figure 7. Example of file containing the node titles
5.7 Running WSNDemo
Starting WSNDemo on ATZB-EVB (MeshBean) nodes
First, connect the coordinator node to the USB or to serial port, in accordance with
the
J3
jumper setting (see Table ). Next, run the WSN Monitor application on your
PC. At startup, WSN Monitor will attempt using the default COM port to connect to
coordinator. The WSN Monitor screen pops up. To observe the coordinator node icon
on the Topology Pane (see Figure ), you will have to set a proper COM port via
Connection/Settings
menu (see Figure ) and probably restart the program.
Setting up node timeouts
The
Connection/Settings
menu contains a number of parameters. Timeouts are
used to tune up visualization for coordinator, routers and end devices because they
disappear from the network each time when link drop, power down, or reset occur. A
node timeout means the waiting period, during which the WSN Monitor is expecting to
receive data packet from that node, which would update the network Topology tree.
To get smooth topology visualization, setting timeouts to 3 sec is recommended for