g-oikonomou / sensniff

Live Traffic Capture and Sniffer for IEEE 802.15.4 networks
BSD 3-Clause "New" or "Revised" License
89 stars 58 forks source link

sensniff contiki-ng is not working #20

Closed th3g3ntl3mann closed 4 years ago

th3g3ntl3mann commented 4 years ago

Hi, I tried to run the sensniff application on the cooja simulator on contiki 3.0 and it is working very good, however when i use the application on the contiki-ng i get no mote output nor radio messages from the sensniff mote. any recommendations on how to se the sensniff application on a z1 mote on cooja and analyze the output on wireshark for example? thanks

g-oikonomou commented 4 years ago

I think I can suspect why it worked with Contiki 3.0, but you do not need to run sensniff inside Cooja anyway. Cooja will give you the entire pcap for post analysis with wireshark. Go to tools->Radio messages. Select Analyzer -> 6LoWPAN Analyzer with PCAP. At the end of the simulation, find a pcap file with all traffic under tools/cooja/build