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 > [email protected] > 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 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
