Lab Activity: TinyOS Radio¶
Since |
06.11 lab |
Till |
27.11 lab |
Points |
1 |
Write an app that extends Lab Activity: TinyOS Sensor with radio functionality:
after the device senses temperature and humidity, it waits for a random time (from 0s to 5s) and broadcasts the measurements
receives and prints measurements sent by others
Separate implementation of sensing and radio functionalities into 2 components.
Start with Radio.tgz
which includes a template of the app (you are allowed to modify it), structure of the message and sensor components.
Ignore compilation warning *** LOW POWER COMMUNICATIONS DISABLED *** (however, save your source – we will get back to it later).
To set TOS_NODE_ID provide it, when you program your mote:
make telosb reinstall,X bsl,/dev/ttyUSB0
replacing X with id number from the mote’s label “IWANICKI X”.