[Tinyos-help] lesson learned from tinyos
pal at cs.stanford.edu
Sun Apr 25 10:47:05 PDT 2010
On Apr 25, 2010, at 6:58 AM, chikh omar wrote:
> 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
More correctly, they can't be allocated on the stack, since the calls doesn't block; this is standard C programming.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tinyos-help