Thanks for your replies, which both proposed good ideas. I should keep them in mind for the future :)
The problem was indeed because, silly me, I didn't check that the radio, started by another component, was successfully started. As Urs said, "somehow", the send command in the boot event managed to work, but would fail a few instructions later, in the task. Cheers, Romain On 5/8/07, Alexander Becher <[EMAIL PROTECTED]> wrote:
* Romain Thouvenin: >I have made an application that sends a packet right after booting. > >If in the booted event, I post a task that sends the packet, the >sendDone event won't be successful. >But if I copy the code of the task and paste it as is in place of the >post instruction, the sendDone event will be successful... > >What can be the cause of such a problem ? Maybe there is another component sending a packet in its booted event? Then the sendDone event will indicate failure, until that packet is sent. Of course, I'm just guessing here ... Regards, Alexander _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
