[Tinyos-help] lesson learned from tinyos

chikh omar enis01amor at yahoo.fr
Sun Apr 25 06:58:07 PDT 2010

I spent a week in order to resolve the problem of sending a message which is not detected at the receiver. For this reason, I partage the solution perphaps you get the same situation:
The lesson learned is that: 

*the message_t variable used to send and receive message must be declared as a global variable
*each declaration must be done at the begin of the function, otherwise these declaration are not considered by Tinyos in execution.
Best regards,
Omar Cheikhrouhou 
Engineer & Researcher @SENS Lab (Software Engineering and Network Security)
Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste : 437 Fax: : (+216)74 431 386
Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369  
Coordinator C2i @ ISET Sfax (Certified C2i since 2008)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100425/b50031b9/attachment.htm 

More information about the Tinyos-help mailing list