[Tinyos-help] Regarding Packet format

Pablo Gil Montaño pgilmon at yahoo.es
Mon Aug 13 04:50:46 PDT 2007


Hi,

look in the file tinyos-1.x/tos/types/AM.h




----- Mensaje original ----
De: Adi Mallikarjuna Reddy V <adimallikarjunareddy at gmail.com>
Para: schip at santafe.edu
CC: tinyos-help at Millennium.Berkeley.EDU
Enviado: lunes, 13 de agosto, 2007 12:52:04
Asunto: Re: [Tinyos-help] Regarding Packet format

Hi,

Is maximum packet size of TinyOS is 32 bytes?Moreover in Surge application 34 byte packet some times. Surge do send the 22 byte packet. What does this packet signify and can any one tell me the packet format?


Regards,
Adi

On 8/9/07, Michael Schippling <schip at santafe.edu> wrote:
It is all, of course, a matter of software....

Look for the actual message packet structures in .h files in the various
application's source directories -- those structs are overlaid on the
Msg.data[] buffer. As to how many variations there are and how they work,

that is a matter of conjecture...google may be your friend here.

T1.1.N all have the same directory and file structure. I would recommend
that you get on the higher .N number side of things, 1.1.7 or greater

if you value your sanity.

MS

Adi Mallikarjuna Reddy V wrote:
> Hi Michael,
>
> Thanks for the prompt reply. I am using TinyOS 1.0 version. I guess even
> there the directory structure is similar, I can look for those things

> mentioned. How about the Multi-hop Protocol format, it has been
> allocated 7 bytes in TOS_Msg structure. Are there any other alternatives
> to this protocol? Like broadcasting, selective flooding etc?

>
> Regards,
> Adi
>
>
> On 8/8/07, *Michael Schippling* <schip at santafe.edu
> <mailto:schip at santafe.edu
>> wrote:
>
>     In T1 you can look for the various AM.h files to get the TOS_Msg
>     structure.
>     For instance the mica2 and UART use tos/types/AM.h, whereas the micaz
>     radio uses: tos/platform/micaz/AM.h (and yes, you pretty much just have

>     to know which one to look at...although adding a -v to the ncc command
>     will give some guidance).
>
>     The contents of the message payload are defined by "AM" message
>     structures

>     in each application, e.g., apps/Surge/Surge.h
>
>     MS
>
>
>
>     Adi Mallikarjuna Reddy V wrote:
>      > Hi,
>      >
>      > I have some doubts regarding the packet format that is followed

>     by the
>      > TinyOS.
>      >
>      >
>      >    1. I came to know that TOS_Msg is dependent on the radio/platform
>      >       that we have been using. Is that true? If so, where can I

>     find the
>      >       different radio/platform and its corresponding packet format?
>      >    2. Even within TOS_Msg, again there are other components such as
>      >          1. multihop protocol packet format

>      >          2. Surge packet format
>      >
>      >           My doubt is what are the other alternatives available
>     to  the
>      > above formats (multihop and surge)

>      >   3. If anyone of you know about whether other OSs like SOS
>     follow the
>      > similar method, let me know
>      >
>      > Regards
>      > Adi
>      >

>      >
>      >
>      > --
>      > -----------------------------------------------
>      > I was always alone in this world,
>      > wanted to be loved,by someone.

>      > I always had teary eyes,
>      > wanted it to be wiped by someone.
>      > --------------------------------------------------
>      >
>      >
>      >

>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Tinyos-help mailing list
>      > 
Tinyos-help at Millennium.Berkeley.EDU
>     <mailto:Tinyos-help at Millennium.Berkeley.EDU>
>      >

>     https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>     <
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
>
>
>
> --
> -----------------------------------------------
> I was always alone in this world,

> wanted to be loved,by someone.
> I always had teary eyes,
> wanted it to be wiped by someone.
> --------------------------------------------------




-- 

-----------------------------------------------
I was always alone in this world,
wanted to be loved,by someone.
I always had teary eyes,
wanted it to be wiped by someone.
--------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070813/ccb416b3/attachment.html


More information about the Tinyos-help mailing list