I see it now, you are right, it was a bug in my code causing it to send the same message over and over again.
Thanks :) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Polastre Sent: 22. janúar 2007 18:16 To: Jón Grétar Guðjónsson Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] The best way to send messages using SP (Sensornet Protocol) > My problem is this: SPSend.send places a pointer to the message > datastructure in a pool of pointers. So sendDone() is raised when the > message is placed in the pool, not when the message is sent. This is incorrect. sendDone is only signalled after *all* TOS_Msg structures in an sp_message_t have been sent. Have you looked at SP Message Futures? See: http://www.polastre.com/papers/sensys05-sp.pdf -Joe _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help