42 #include "contiki-net.h"
43 #include "contiki-esb.h"
45 #include "net/tcpdump.h"
49 PROCESS(radio_sniffer_process,
"Radio sniffer");
50 AUTOSTART_PROCESSES(&radio_sniffer_process);
58 len = driver->
read(packet,
sizeof(packet));
62 tcpdump_format(packet, len, buf,
sizeof(buf));
63 printf(
"radio-sniffer %d: packet length %d, %s\n", node_id, len, buf);
74 printf(
"Radio sniffer started.\n");