[Tinyos-help] SerialForwarder
Michael Schippling
schip at santafe.edu
Wed Apr 1 09:40:09 PDT 2009
There is no message queue in the standard send call.
You need to wait for a sendDone() before posting a new message.
MS
Sonia Pardo wrote:
> Dear All,
>
> When I receive a packet in the event ' event message_t
> *Receive.receive(message_t *msg, void *payload, uint8_t len) ' I do this:
>
> post sendSerialMsg1();
> post sendSerialMsg2();
>
> But it only execute the first one. If I change the position, it executes
> the post sendSerialMsg2().
>
> Can anyone tell me what happen? Why Can't I execute both of them?
>
> Thanks very much.
>
> Best wishes!
>
> Sonia
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
More information about the Tinyos-help
mailing list