[Tinyos-help] 29 byte message portion of a packet

Chad Metcalf metcalfc at gmail.com
Tue Jan 23 12:38:40 PST 2007


There is a short and very very long answer to your question.

Short: Yes... you can have multiple readings a packet but your other
assertions are not correct (29 is not a fixed size, there is packet
overhead, etc).

This is a fairly fundamental concept... so that leads me to the long answer.

Long: Read the documentation.

The message_t TEP: http://www.tinyos.net/tinyos-2.x/doc/html/tep111.html

The mote communications tutorial:
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson3.html

The TinyOS Programming Guide:
http://csl.stanford.edu/~pal/pubs/tinyos-programming-1-0.pdf

The example applications in the TinyOS source trees (example
MultihopOscilloscope in TinyOS 2).

Cheers
Chad

On 1/23/07, Chris Byers <Chris.Byers at macb.com> wrote:
>
>
>
>
> I have read that there are 29 bytes of room for data payload in a packet and
> have seen that certain programs delegate there senosor readings to certain
> bytes in that payload.  My question is, is that 29 bytes programmable for
> any type of payload or are certain bytes set aside for certain sensor
> outputs.  In other words, I am trying to put multiple magnetometer samples
> in a single packet, is this possible?
>
>
>
> Thanks,
>
>
>
> Chris Byers
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>


-- 
Chad @ Home


More information about the Tinyos-help mailing list