Closed andreyferriyan closed 6 years ago
Thank you for providing the files. sim3.zip
(sim3.pcap
) is a text file not a pcap file.
$ file sim3.pcap
sim3.pcap: ASCII text
$ head -n 5 sim3.pcap
22866 1 - 27: 15.4 D 00:12:74:01:00:01:01:01 0xFFFF|IPHC|IPv6|ICMPv6 RPL DIS|0000
24188 3 2 27: 15.4 D 00:12:74:03:00:03:03:03 0xFFFF|IPHC|IPv6|ICMPv6 RPL DIS|0000
38251 2 3 27: 15.4 D 00:12:74:02:00:02:02:02 0xFFFF|IPHC|IPv6|ICMPv6 RPL DIS|0000
39166 4 1,2 27: 15.4 D 00:12:74:04:00:04:04:04 0xFFFF|IPHC|IPv6|ICMPv6 RPL DIS|0000
42007 1 - 27: 15.4 D 00:12:74:01:00:01:01:01 0xFFFF|IPHC|IPv6|ICMPv6 RPL DIS|0000
Did you use "Save to file" menu on the radio logger tool in order to make a pcap file for your simulation? I got a similar file by that operation.
In fact, you don't have to do that. A pcap file is automatically generated with a file name starting "radiolog". You'll find some pcap files by the following command on the root directory of your contiki-ng
repository.
$ find . -name radiolog\*.pcap
Could you try this command to see if you have pcap files?
Yeah, you right. I'm sorry. Yes, I got the pcap files on build folder.
Thank you.
Hi, I try to make simulation using cooja. This is my specification:
I try to running 6LoWPAN Analyzer with PCAP. Everything is working fine and I can see the information from the radio messages. But after I save the file to pcap, wireshark or tshark cannot read it.
I try to fix it with pcapfix but I don't know if it is the right fix or not.
sim3.zip fixed_sim3.zip