The Stanford Information Networks Group (SING) researches wireless data-centric networks. Currently, much of its work deals with low-power sensor networks, including measuring the behavior of low-power wireless, network protocols and architecture, and operating systems.
SWAT (Stanford Wireless Analysis Tool) is a software tool that automates gathering and analysis of network measurements. SWAT provides an interface for configuring experimental parameters in a network. It collects raw packet statistics such as the received signal strength and chip error, and provides modules for calculating and visualizing various metrics derived from these statistics.
SWAT is an open-source, platform-independent tool. The user interface portions and the communication interface between SWAT and the wireless sensor network uses Python. Platform-specific code that runs on the sensor motes is written in nesC, an extension to the C programming language for TinyOS. We use SQL to create the database, making it easy to execute custom queries. The computation intensive component of SWAT is the metric calculation. It consists of a number of python programs, each responsible for computing one metric. SWAT is extensible so users can write their own python modules.
Install SWAT for 802.15.4
Install SWAT for 802.11
Install SWAT for both 802.15.4 and 802.11
To install the MySQL packages on Linux, open a terminal and type the following:
To create the SWAT database on Linux, open a terminal and type the following:
Instructions to install the other required packages: