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.

ZigBee Sniffer on ZNP

Other Parts Discussed in Thread: CC2531, Z-STACK, CC2530

Hi,

I am using the ZNP Source Code download from TI Z-Stack, swrc126g.zip. I have a CC2531 dongle and I would like to use it as a sniffer. I download it and realise that there are many options there to select before I can start sniffing the data.

Can anyone please tell me what setting shall be chosen.

IEEE 802.15.4/ZigBee

- ZigBee 2003

- ZigBee 2006

- ZigBee 2007/PRO

ZigBee RF4CE

Then what is the channel shall I be selected?

0x0B (2405MHz) - 0x1A (2480MHz)

Please advice.

  • By the way, I want to use this ZNP on CC2530 with BBB and using the TI provided ZAP.

    I try to execute the gw_soc_fw_version_query.bin to get the version of the ZNP image I flashed into the CC2530. Here are the messages:

    n /dev/ttyO1stack_linux_gateway_arm_binaries/tools# ./gw_soc_fw_version_query.bin
    Using serial port: /dev/ttyO1
    Received System version.
    Transport Protocol Version: 2
    Product ID: 0
    Software Release: 2.5.1
    Software Revision: 0
    (Revision not specified)

    Its looks like it is responding but I am not sure can I use this ZNP just like ZAP?

    But before that, I would like to know what happen after the CC2530 initialise (after receiving the 0x07 and then jump to the valid image in CC2530)?

    Will it stop there and stuck at the receiving mode? or will it transmit out randomly? and which Channel it is using?

    Another finding:

    I did try to use CC2531 ZNP and its version is shown below:

    Received System version.

      Transport Protocol Version: 2

      Product ID: 0

      Software Release: 2.6.1

      Software Revision: 38724

    done

    Where can I get 2.6.1 version by the way?

    Thank you!

  • For packet sniffer,

    1. You should choose 

    - ZigBee 2007/PRO

    2. You need to figure out which zigbee channel you are on. If you don't know it, you can start from  0x0A and scan all of them one by one to find out.

  • Hi YiKai,

    Yes. I think I got all the setting right then but I receive zero packets.

    One thing I must say is, there is no ZAP in Linux controlling the CC2530. I guess it must be nothing after receiving 0x07 from UART. Or does it keep sending its data out continuously? or it just only receiving data instead of sending?