Message_t makes many types of frames "coexist". It takes different forms
depending on the kind of chip.

The C2420 Chip talks 802.15.4.  You will find all the documentation  about
the PHY and MAC layer fields in the standards which are all freely
downloadable from the links of
http://en.wikipedia.org/wiki/IEEE_802.15.4-2006

For instance, the FCF is a 16-bit frame control part of the packet. Under
normal circumstances, you do not change it (i.e. TinyOS takes care of it)
However, for instance, if you want to enable cryptography and you want to
have frame acknowledgements, then you must set bits 3 and 5 respectively.
see http://www.sics.se/~adam/contiki/docs-uipv6/fcf.jpg

For the destination pan field, take a look a this doc:
http://www.join.uni-muenster.de/Dokumente/drafts/draft-montenegro-lowpan-ipv6-over-802.15.4-02.txt

Inco

2009/7/22 João Paulo Amaro da Costa Luz Carneiro <[email protected]>

> Hi all,
> To explore the header of packets in tos2 I checked the CC2420.h
> Can someone tell me what are the fcf and destpan fields?
> Also, what is the dsn used for in the MAC level? Just for the acks or
> for anything else?
> Regards,
>
> Joao
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to