Hi, I noticed some typos/omissions in the tinyOS 2.0 tutorials. I am appending them at the end of the email. Thanks for the great tutorials.
Please excuse me if I am mailing on the wrong list but there were no contact email addresses in the tutorials regards, Ankur In Lesson 3: http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson3.html ******************************************************************************* 1. message_t packet; should be message_t pkt; in the following section (gives 'pkt' undeclared in Timer0.fired function) implementation { bool busy = FALSE; message_t packet; ... } ****************************************************************************** ***************************************************************************** 2. BlinkToRadioMsg* btrmsg should be BlinkToRadioMsg* btrpkt in the following section (gives 'btrpkt' undeclared error): event message_t* Receive.receive(message_t* msg, void* payload, uint8_t len) { if (len == sizeof(BlinkToRadioMsg)) { BlinkToRadioMsg* btrmsg = (BlinkToRadioMsg*)payload; call Leds.set(btrpkt->counter); } return msg; } ****************************************************************************** ****************************************************************************** 3. Need to add the following function for the program to compile (gives "AMControl.stopDone' not implemented" error). event void AMControl.stopDone(error_t err) { } ****************************************************************************** ******************************************************************************
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
