38
ATZB-EVB-XXX-XXX User Manual
AVR-09-2011
file will be produced as EEPROM is not needed for Blink. To test the minimum
application, upload any of the image files into a ATZB-EVB (MeshBean) board,
following the instructions which are given in Section 7 or in 10.8, correspondingly.
You can modify the code to extend the application’s functionality by using other
BitCloud API functions. Make sure that your application code satisfies the
programming conventions specified in [5].
Play with the other API demos (see Section 8.4), building them similarly to enhance
the application with new functionalities. Make sure your applications are uploaded into
the boards before use.
8.4 Sample Applications
ZDK is supplied with the set of BitCloud API sample applications in source code.
These are named as given in brackets:
WSNDemo
application
(
WSNDemo
)
Low-Power Networking application (
Lowpower
)
Peer-to-Peer Data Exchange application (
Peer2peer
)
Ping-Pong application (
Pingpong
)
Hardware Test (
HardwareTest
).
WSNDemo is a ZDK featured application demonstrating the formation of network
based on BitCloud software and ATZB-EVB (MeshBean) hardware. In WSNDemo,
the nodes communicate based on a proprietary messaging protocol. WSNDemo is
presented in details in Section 5.
The source codes for WSNDemo application (available with Complete Support
Package only) can be found inside the “
./Sample Applications/WSNDemo
“
subdirectory (see 10.7), once the Development Kit is installed to user’s PC (see
Section 4.3).
Network parameters (including security settings) and their default values are defined
in
Configuration
file as below: