KanseiGenie The Ohio State University Dependable Distributed and Networked Systems Group at The Ohio State University
Tutorial - Publications - B.A.K. - Source Cloning - Subsystems - Related Links - Help - Buglist - Contributors - Original Site

Go Back to Documentation Index



User Tools instructions



1.0 Overview

A usertool in KanseiGenie is a process or service, which is seen as not part of the core of kanseigenie service, but something provided to make the life of the user easy. Examples of these services are, logging service, injection service, stitching service, health monitoring service etc. These services are likely to be platform specific, that is, there could be a loging service for tinyos based platform and a different one for centila based ones. The usertools are to be placed inside the kansei_kernel/Usertools/ directory in the StargateDirector or the LinuxPCDirector Currently we support the following user tools:
  • Serial Forwarder for TinyOS 1:
  • The SFT1 directory contains the files for this tool. To compile for a native platform use the command 'make sf'; to compile for a stargate/arm platform use 'make asf' (you have to specify the path to the arm-gcc compiler)
  • Serial Forwarder for TinyOS 2:
  • The SFT2 director contains the files for this tool.
  • Injector Service for TinyOS 1/2:

2.0 Compile instructions for Serial Forwarder for TinyOS 1

% cd src/SFT1
To compile for linux pc just type 'make sf'
To compile for stargates type 'make asf'; Make sure the directory containing the 'arm-gcc-linux' compiler is part of you PATH variable before compiling.

Finally move the executable 'sf' (or 'asf' for stargates) to 'asf_t1'

% mv sf asf1d_telos

3.0 Compile instructions for Serial Forwarder for TinyOS 2

To compile for linux pc;
% cd src/SFT2
% ./configure
% make

To compile for stargates;
% mv Makefile.simple Makefile
% make asf
Make sure the directory containing the 'arm-gcc-linux' compiler is part of you PATH variable before compiling for stargates.

Finally move the executable 'sf' (or 'asf' for stargates) to 'asf_t2'

% mv sf asf2d_telos