The following software packages are required to run the sniffer:
Download the package uracoli-sniffer-<version>.zip from http://uracoli.nongnu.org/download.html and unzip it into a local directory. In the package the following files and folders are contained:
uracoli-sniffer-<version>/
|-- LICENSE
|-- README.html
|-- doc ....................... doxygen html documentation
| |-- index.html
| `-- ...
|-- firmware .................. sniffer firmware binaries
| |-- sniffer_any2400st.hex
| |-- sniffer_psk212.hex
| `-- ...
`-- script
|-- sniffer.py ............ Python interface script
|-- p2p.lua ............... example LUA dissector for Wireshark
`-- ...
In order to flash the sniffer firmware in the transceiver board, you need either a preinstalled bootloader in the MCU or a hardware programmer, e.g. like AVR-Dragon, JTAG-ICE, AVR ISP, USB-ASP, .... The preferred programming tool under Linux is avrdude. On Windows mostly Atmel AVR Studio is used.
avrdude with the package manager of your distribution.dpkg -i avrdudesudo apt-get install avrdudeavrdude on Windows, it comes either with WinAVR or it can be downloaded also as a seperate package.avrdude for Windows: http://tomeko.net/other/avrdude/building_avrdude.php avrdude.zip.The Python interpreter with version 2.6. or 2.7 (but version must be below 3.0) is required to execute the script sniffer.py. Additionaly the module pyserial is required for access to the serial port.
dpkg -i python python-serialsudo apt-get install python python-serialpython and python-serial.Wireshark is powerful tool for network traffic monitoring. It is used to display, inspect and analyze the IEEE-802.15.4 frames captured from the transceiver board. Beside the main application wireshark, the package comes with some other handy command line tools like tshark or dumpcap. If you are a new wireshark user, you should not miss a look into the Wireshark User Manual.
sniffer.py saves the monitored data in PCAP format (see http://en.wikipedia.org/wiki/Pcap), wireshark needs not mandatory to be installed on the PC running the sniffer application. The captured PCAP files can be analyzed also offline on a seperate PC. However for a data life display, a wireshark installation is required.dpkg -i wiresharksudo apt-get install wireshark
1.7.1