Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Installation

cmorty edited this page Feb 5, 2013 · 3 revisions

The testbed-runtime assembly package contains the three implementations of the three WISEBED APIs iWSN, RS and SNAA.

Download the Assembly Package

Please download one of the assembly packages from Downloads. Then unpack the tar.gz file. In the target directory you'll find the following files:

bin/
conf/
lib/
logs/

The directory bin contains startup scripts for various platforms (see below for more information on how to run Testbed Runtime). The conf directory contains all configuration files (both of the wrapper scripts as well as the Testbed Runtime services). lib contains native libraries and the actual Testbed Runtime implementation as .jar files. If using the startup scripts in bin all log output is written to the logs subdirectory.

Configuration

Please see the Configuration Wiki page for an extensive documentation on how to configure Testbed Runtime for your testbed.

Running

The directory bin contains "native" start scripts for various platforms that wrap the actual Testbed Runtime (Java-based) implementations. Thereby they allow to run iWSN, RS and SNAA as OS services, by executing e.g.,

bin/tr.iwsn-linux-x86-32 start
bin/tr.rs-linux-x86-32 start
bin/tr.snaa-linux-x86-32 start

to start iWSN, RS and SNAA services. If you want you can furthermore install the scripts into your system startup by running e.g.,

bin/tr.iwsn-linux-x86-32 install
bin/tr.rs-linux-x86-32 install
bin/tr.snaa-linux-x86-32 install

which will (in this example) create a symbolic link inside the /etc/init.d/ directory for your current runlevel. The wrapper scripts are based on the Java Service Wrapper by Tanuki Software and provide extensive configuration possibilites such as automatic restart, email notifications, logging customization and more. Please see their documentation for more information on how to configure the wrapper scripts.

Hints

  • Installing the distribution's librxtx is likely to solve issues with the motes