How to Capture CoAP Traffic using Wireshark in Cooja Simulator
Share
Steps to Capture CoAP Traffic using Wireshark in Cooja Simulator
Description:
Wireshark is a network packet analyzer. A network packet analyzer will try to capture network packets and tries to display that packet data details. It’s a measuring device used to examine inside a network cable.
Step-1
we need to capture the radio message packets.
In cooja menu bar tools option is there and click enable radio messages : terminal and follow these steps.
Tools >> Radio messages New terminal will appear,Open menu and enable : Analyzer>> 6lowpan Analyzer with PCAP
Step-2
After completion of simulation the file will be created with extensions of ex.(radio log.pcap).
File will be created in this location
Home / contiki / tools / cooja / build
Step-3
Browse and open file pcap file.
It will display more details and option to traceout the data packets.
we can see time, source, destination, protocol, length, info,...etc. In details.