Ptolemy II PtinyOS Domain

Viptos is an integration of a collection of Ptolemy II domains and TinyOS. The main domain behind Viptos is the PtinyOS domain, which supports the construction and simulation of programs in nesC. The nesC web page at http://nescc.sourceforge.net describes nesC as

"an extension to the C programming language designed to embody the structuring concepts and execution model of TinyOS. TinyOS is an event-driven operating system designed for sensor network nodes that have very limited resources (e.g., 8K bytes of program memory, 512 bytes of RAM)."

The PtinyOS domain leverages existing nesC libraries, using a tool called nc2moml to create the Ptolemy II libraries of components that are used to assemble models. Models are converted into nesC code by the PtinyOSDirector. TinyOS provides a rich library of nesC components. If you install TinyOS 1.x in $PTII/vendors/ptinyos, then the Ptolemy II configure script will find it and automatically make the TinyOS libraries available.

In order to leverage another existing library of nesC components, you have to run nc2moml on that library.

Below are the detailed instructions for: