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