Help with data capture

11 years ago
  •  Norman Brown

Hi There,

 

I am evaluating your stack for a new development we are engaged in.

 

I have recently downloaded the source and binaries for the V1.0 stack, simulator and Wireshark.

 

The problem I have is the pcap files produced by both the sample apps as well as the dump_converter

 

produce errors in the Wireshark analysis. All packets are either mis-formed or have FCS errors.

 

I am using ZBOSS_v1.0_ns_bin/tests/zdo_startup to produce pcap files then transporting them to

 

a WIN32 pc running Wireshark.

 

I have tested Wireshark using sample captures downloaded from the internet and that works fine.

 

What could I be doing wrong ?

 

Regards

 

Norman Brown.

 

Replies (1)

RE: Help with data capture

Hello,

 

Sorry for the late reply.

 

There is no problem in pcaps you produce and there is no mistake in your actions.

 

You can see the reason of the package corruption by yourself: it's four bytes in the beginning of every packet.

 

These four bytes are ZBOSS Network Simulator signature and they can not be parsed by Wireshark provided by wireshark.org.

 

So you can use DSR's version of Wireshark - Wireshark ZBOSS ZigBee Support, pcaps will be parsed fine.

 

But make sure, that you've completely deleted the previously installed one:

 

- in Windows just delete application in a common way

 

in Ubuntu use "dpkg l | grep wireshark" and purge all the packets found.

 

Hope this helps. If you face the same problem, please, attach an example pcap.