Home · Support · Download · Hardware Designs · Projects · Pubs

TinyOS FAQ
Join/Search Mailing Lists
Documentation

TinyOS Site

WWW

 I want to search the TinyOS Mail Archives

Beginning Programming in TinyOS

If you have not installed TinyOS, please see the download page.

To perform a quick sanity check on your installation, run the ‘toscheck’ script. toscheck is a perl script distributed with the TinyOS source and is found in tools.  After a successful installation, toscheck should complete with no errors or warnings. In a cygwin shell, run toscheck like this (note that the as of 1.1.0 the tinyos-1.x tree is in /opt):

    $ cd /opt/tinyos-1.x/tools/scripts; ./toscheck

You should see no errors or warnings.

Once you have TinyOS installed, you can start learning about it and writing your own programs. Introductory lessons about TinyOS are in the doc/tutorial directory. There are also some documents in doc, such as tinydb.pdf, that provides additional useful information about TinyOS functionality.

In addition to the tutorial, TinyOS 1.1 includes extensive documentation within the code that generates html pages. To generate that documentation requires the Graphviz application. Graphviz is an option in the Windows Installation Wizard install, and the Linux and Windows manual installation instructions list a link to Graphviz at AT&T (please see the download page for links to these instructions). To generate the documentation, cd to apps and type make mica docs. The documentation will be generated in the doc/nesdoc directory.

Key to TinyOS’s functionality is the NesC compiler which is used to compile TinyOS programs. You can read documentation on NesC in doc/nesc.

Lastly, please take a glance at the TinyOS support page to see what services are available there.


Home | Download | Support | Publications | Hardware Designs | Related Work | Internal

This project is part of Berkeley WEBS: Wireless Embedded Systems