On Sat, Feb 11, 2012 at 8:18 PM, <[email protected]> wrote: > Hello Everyone, > > I am new to nesc programming and TinyOS. I am trying to print the complete > packet received by CC2420 chip. Can anyone tell me how to print a CC2420 > Received packet. Currently I am looking in tos/chips/cc2420/. > I would be really grateful for your help. >
I assume you are on a telosb. It would be helpful if you helped us understand which mote you are working on. I would suggest hooking the mote to a serial line and then to a host such as a Linux box. You should make sure that basic low level serial comm works first. Then check out printf: tos/lib/printf using printf you can print out the packet contents. Alternatively, you can run a BaseStation which acts as a bridge between the wireless net and the serial line. But you won't get the exact packet contents. > > Regards, > Karan Sapra > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
