The following steps show you how to use CC2650DK, CC2650 LaunchPad, or CC2650STK as Contiki 6LowPAN Sniffer.
1. git clone --recursive https://github.com/contiki-os/contiki
2. Change directory to /contiki/examples/sensniff
3. Use the following three make command to build sensniff.bin for CC2650DK, CC2650 LaunchPad, or CC2650ST.
a. make TARGET=srf06-cc26xx BOARD=srf06/cc26xx sensniff.bin -->CC2650DK
b. make TARGET=srf06-cc26xx BOARD=launchpad/cc2650 sensniff.bin --> CC2650LP
c. make TARGET=srf06-cc26xx BOARD=sensortag/cc2650 sensniff.bin --> CC2650STK
4. Use Flash Programmer 2 to download sensniff.bin to CC2650DK, CC2650 LaunchPad, or CC2650ST.
5. Download latest sensniff.py from https://github.com/g-oikonomou/sensniff and refer to here for running Wireshark to sniff packets.
No comments:
Post a Comment