TKN15.4 uses it's own message_t definition which supports all possible 15.4 frame headers (data/beacon/control frames, but also extended addresses and PAN ID Compression, etc.). The default CC2420 driver supports only data frames with short addresses (for details see cc2420_header_t in tos/chips/cc2420/CC2420.h). So, when you use a sniffer based on the default CC2420 radio driver, such as BaseStation15.4 on e.g. telosb, you will not capture all 15.4 frames. Instead you may want to use apps/tests/tkn154/packetsniffer or apps/tests/tkn154/nonbeacon-enabled/TestPromiscuous.
Jan On Wed, Oct 3, 2012 at 7:36 AM, mamta_b <[email protected]> wrote: > > hi, > > 1) I have tested tkn apps, but i am having difficulty in analyzing the Raw > data i have received through Listen command. I want to know how to recognize > which are IEEE 802.15.4 frames. > > 2) Second thing is I capture & save the data in a .txt file but when i try > to save the data in .xlsx file, it executes but file remains empty. So, > another problem is where to save data for hours so that i can analyse them > further in graphs. > > 3) third thing is I have used TKN MAC layer in MViz application but my root > node doesn't capture any data. And if i don't use tkn mac layer, Mviz works > properly. Even i have used BaseStation folder to capture whatever data in > air, but it doesn't listen. however there is no error when compiled the > application using tkn mac layer. > > thanks and please help. > > > Jan Hauer-2 wrote: >> >> You find the default MAC for CC2420 in tos/chips/cc2420 (take a look >> at the README.txt), but this is not the IEEE 802.15.4 MAC. If you want >> to use the IEEE 802.15.4 MAC take a look at: >> tos/lib/mac/tkn154/README.txt >> >> Jan >> >> On Wed, Sep 19, 2012 at 1:21 PM, mamta_b <[email protected]> >> wrote: >>> >>> hi, >>> please help me in finding the default MAC protocol in tinyos. i am using >>> iris and micaz motes. i read somewhere that if no specific MAC is used >>> then >>> default CSMA/CA method is used.. i don't know how to sort this. >>> and if we are using IEEE 802.15.4 standard MAC protocol then how can we >>> choose between the two methods i.e csma/ca or gts(guaranteed time slot)? >>> I >>> want to use IEEE 802.15.4 MAC and PHY layers therefore i need to know >>> which >>> MAC i am using. >>> thanks. >>> -- >>> View this message in context: >>> http://old.nabble.com/please-help-me-in-finding-the-default-MAC-protocol-in-tinyos-for-cc2420-and-rf230-transceivers.-tp34451980p34451980.html >>> Sent from the TinyOS - Help mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> 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 >> >> > > -- > View this message in context: > http://old.nabble.com/please-help-me-in-finding-the-default-MAC-protocol-in-tinyos-for-cc2420-and-rf230-transceivers.-tp34451980p34507203.html > Sent from the TinyOS - Help mailing list archive at Nabble.com. > > _______________________________________________ > 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
