Re: [Tinyos-help] msg->data

2010-11-06 Thread wasif masood
but how can I interept diiferent part of data using this call? On Sat, Nov 6, 2010 at 2:39 AM, Omprakash Gnawali wrote: > On Wed, Nov 3, 2010 at 11:43 AM, wasif masood wrote: > > > > Hi All, > > > > I have a simple question, Is > > > > Packet.getPayload(msg) == &msg->data > > > > (always) >

Re: [Tinyos-help] msg->data

2010-11-05 Thread Omprakash Gnawali
On Wed, Nov 3, 2010 at 11:43 AM, wasif masood wrote: > > Hi All, > > I have a simple question, Is > >  Packet.getPayload(msg) == &msg->data > > (always) No. In your stack, you might have multiple protocols that interpret different parts of msg->data as header and payload. - om_p ___

[Tinyos-help] msg->data

2010-11-03 Thread wasif masood
Hi All, I have a simple question, Is Packet.getPayload(msg) == &msg->data (always) Wasif Masood ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help