contiki/examples/sensinode/sniffer
2014-12-01 20:13:09 +01:00
..
Makefile Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
netstack.c Code style fixes: sensinode examples 2012-12-16 19:28:56 +00:00
project-conf.h Reincarnate the sensinode/cc2430 port 2012-03-23 14:41:07 +00:00
README.md Rename to md 2013-03-26 23:15:37 +01:00
sniffer.c Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
stub-rdc.c Code style fixes: sensinode examples 2012-12-16 19:28:56 +00:00

A very simple sniffer for sensinode devices.

The cc2430 RF driver supports outputting all captured packets in hexdump format. We turn this on, and turn everything else off. We use a stub RDC driver to make sure no incoming packet ever goes up the stack and no packet is ever sent out.

We only initialise the radio driver instead of the entire stack by over-riding the default netstack.c with the one in this directory.

You can then pipe the sniffer's output to the n601-cap util, which will convert the hexdumps to pcap format, which can in turn be piped to wireshark. This is handy if we want live capture of the lowpan traffic from wireshark. See the README in n601-cap for more details