This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Need help to understand the header and payload of IEEE 802.15.4 based thingsquare firmware raw data

Other Parts Discussed in Thread: CC2531

Hi,

Iam using thingsquare firmware on cc2538dk and iam running udp-multicast example on it and iam getting the below data on the CC2531 USB dongle(packet sniffer) and serial sniffer program of thingsquare. Please help me understand the RAW HEX DATA.Need details on thingsquare header formats and payloads etc.
Packet index: 31
Length: 63
Raw data (hex): 40 41 C8 01 CD AB FF FF 87 AF F4 02 00 4B 12 00 41 60 00 00 00 00 06 3A 40 FE 80 00 00 00 00 00 00 02 12 4B 00 02 F4 AF 87 FF 02 00 00 00 00 00 00 00 00 00 00 00 00 00 1A 9B 00 67 93 00 00
RSSI [dBm]: -58
Correlation value: 107
CRC OK: 1
Below are the snapshots of the data received on the uart and sniffer.
Thanx in advance

 

  •     When you open TI packet sniffer select ZigBee/802.15.4 Protocol instead of Generic. This should give you more details about the 802.15.4 header.

    Regards, TC

  • Hi,

    The output from the Thingsquare sniffer firmware is supposed to be fed into Wireshark, hence the PCAP format. Wireshark expects a binary format, please try;

    download and install wireshark from www.wireshark.com then

    "make sniff TARGET=thsq-cc2538dk COMPORT=/dev/ttySxx" from within cygwin.

    You can also try this (the setup is the same a firmware running on the device send data over serial port to a PC, a small PC application converts to binary in a format that wireshark can read, and the data is fed into wireshark.

    https://github.com/g-oikonomou/sensniff

    A third option is to use TI SmartRFSniffer in generic mode as suggested in previous posts, the limit with this apporach is that you do not get the alyers above PHY/MAC dissected, which is really ehat you like for a IP based network. There are also other sniffers that can handle more layers, such as ubiqua from ubilogix.

    -Jonas

  • please send me this program(source code) to my mail naresh.ceeri@gmail.com

  • Hi KenfreeM,

    TI doesn't provide source code of packet sniffer. You might get it if you signed SLA with TI. I suggest you contact your TI local representative to see if it works.

  • hi

    May I Know the procedure how u have captured the packets i.e the figure relating to the data reception in sniffer