Lab Activity: Contiki SerialRadio¶
Since |
11.12 lab |
Till |
15.01 lab |
Points |
1 |
Write an app that every 5 seconds measures temperature, humidity and light. Then sends the readings to another mote (unicast transmission). The app prints also all readings sent to it by other motes.
Use Rime + CSMA + ContikiMAC netstack. For each readings print whether they have been sent successfully or not.
An user can change the recipent of the readings by typing a new Rime address in a serial console (make … login).
Be inspired by examples/rime/* (look at the master branch since some examples have been enriched since 3.0), Reciving messages from UART/serial console, and a Header file
.