14
Atmel AVR2052
8200M-AVR-11/11
project. For detailed instructions on how to compile and debug applications using the
supported tools, refer to Section
Platform-specific sections that describe development tool installation and provide
setup instructions are listed in
5.2.1 Reference applications
All Atmel BitCloud SDKs are supplied with the WSNDemo reference application
provided in source code. WSNDemo is presented in detail in Chapter
. To better
understand the application payload format between network nodes and between the
coordinator and the PC, the user can refer to Chapter
protocol and Chapter
15, Appendix B-2: WSNMonitor serial
Additional sample applications are available for some platforms, as indicated in
. The user is encouraged to browse reference application source code as a
reference for the customer application being built. In many cases, reference
application source code can be used in the target application with only minor
modifications.
Table 5-1.
Reference applications.
Application
Brief description
ZigB
it
m
eg
aR
F
UC3
XMEG
A
SA
M7
X
SA
M3
S
WSNDemo
Featured SDK application demonstrating network functionality of
software and additional network visualization with WSNMonitor. See
X
X
X
X
X
X
Blink
Introduces the simplest application that uses timer and LEDs. When
started, the application makes all the LEDs blink synchronously with
a certain period
X
X
X
X
X
X
Lowpower
Shows how to collect data from low-power, sleeping devices
employing the simplest power management strategy
X
Peer2peer
Shows how to organize the simplest peer-to-peer link. A simple
buffering strategy is employed to avoid byte-by-byte data transfer
X
X
X
PingPong
Shows how to process multiple, simultaneous data transmissions.
Each node is waiting for a wireless message, and then passes it to
the next node
X
X
ThroughputTest Measures wireless UART bandwidth of ZigBit, ZigBit Amp, and
ZigBit 900 boards
X
X
For more details on sample applications available for a specific platform, refer to
Once the SDK is installed, the source code for the WSNDemo application can be
found in the
<SDK-Root>\Applications\WSNDemo
directory. For other sample
applications (where available), the source code can be found in the appropriate
<SDK-
Root>\Applications\<application-name>
directory.
Network parameters and their default values are defined in the
configuration.h
file,
which is located in the application root directory. For example, for the WSNDemo
application, this file can be found in
<SDK-Root>/Applications/WSNDemo/
.