A general application for wireless sensor networks is gathering sensor data from the deployed motes and making some predication/operation based on those sensed data. In this page, you will learn how to do this based on OpenWSN project. 

Hardware you need

Procedures 

Result

The uinject_dagroot.py application prints on screen what you are receiving from the other mote, which is the counter value increasing from 0.Once the printing works you can:

Besides, the latency of each packet starting from being generated until received by dagroot is printed on screen right after the counter. It's shown in seconds and the accuracy is one slot long which is 15ms.