Beruflich Dokumente
Kultur Dokumente
Blocking Split-Phase
// start phase
if (send() == SUCCESS) {
send();
sendCount++;
}
//completion phase
void sendDone(error_t err) {
Returns immediately
if (err == SUCCESS) {
sendCount++;
}
}
First Step:
Implement a version of Blink using a single timer
and the set function (look at Leds component
implementation).
• Why a struct?
uint16_t x = data[0] << 8 + data[1])
docs.tinyos.net/tinywiki/index.
php/Mote-
mote_radio_communication
●….
Internet of Things Laboratory 2015 25