RE: [Tinyos-help] The best way to send messages using SP (Sensornet Protocol)

2007-01-22 Thread Jón Grétar Guðjónsson
@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

Re: [Tinyos-help] The best way to send messages using SP (Sensornet Protocol)

2007-01-22 Thread Joe Polastre
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

[Tinyos-help] The best way to send messages using SP (Sensornet Protocol)

2007-01-22 Thread Jón Grétar Guðjónsson
Hello all, I've been writing code to send messages using the Sensornet Protocol. I'm struggling with sending a large buffer (don't want to use Spram) of data from a mote to matlab. Anyway, I send chunks of the large data buffer, residing on the mote, and combine the chunks in matlab to rebuild the