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* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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
     > [email protected]
    <mailto:[email protected]>
     >
    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.
--------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to