Download EMIDE Application Development Kit --- USER MANUAL

Transcript
V. Demo Projects in the EMIDE-Kit
After a WSN network is established, it is essential to evaluate the network packet loss rate
(PLR) and the throughput. In the EMIDE-Kit, two application projects are provided to
evaluate these performances. These projects locate under the directory "EMIDE-Kit/projects",
and are named as the "pkt_lost_rate_test" and the "throughput_test" respectively.
The PLR project is implemented as follows: the coordinator node acts as the sender and
the end-device nodes act as the receivers. Periodically, the sender broadcasts a wireless packet.
After the receivers receive this packet, they will send back a packet simultaneously to the
sender (Figure 3). According to the number of the receiver nodes (Nsend) and the number of
the sender received packets (Nrcv), the PLR can be calculated:
PLR = Nrcv / Nsend.
Two directories exist in the PLR project, one is for the coordinator node and the other is
for the end-device nodes. In each directory, an executable binary "EMIDE.exe" exists. This
binary can be executed by just clicking it. After executed, the application program (named the
"app_coordinator.c" or the "app_enddevice.c") will be processed (be built, be pre-linked,
etc.), and then a final executable application image will be generated (named "wsn_app.bin").
This image will then be reprogrammed to the WSN nodes through the wireless.
To run the "EMIDE.exe", the AVR GNU compiler needs to be installed, and it can be
downloaded from the website: http://winavr.sourceforge.net/.
Figure 3. Measurement of the packet lost rate in the WSN.
VI. Application Image Size
The application sizes of the EMIDE applications in these projects are shown in the Table 1.
From this table, it can be seen that the code size of the WSN application becomes smaller
after EIMDE is applied. Thus, the WSN reprogramming performance can be improved
greatly, e.g., only 2 to 3 ZigBee packets need to be transmitted during the reprogramming
process, this process will be short in the time cost and low in the energy cost.
EMIDE Application Development Kit – version 1, June 2013
Page 5