The tutorials on this page should enable users new to CometOS to use existing and create new modules, connect them to complete network stacks and to perform experiments within the OMNeT++ simulation environment and a real testbed. While some tutorials focus more on how to execute within the simulator (marked “sim) and others on how to build for a real hardware platform (marked “hw”), new users should probably go through both to get a general understanding of the CometOS.
Using CometOS with OMNeT++ is not very different from using OMNeT++ alone. Network description with NED, setup and configuration with the OMNeT++ ini language are basically the same. For a description of general OMNeT++ features, please consult the OMNeT++ documentation. However, due to the idea to run the module implementations within the simulator and on real hardware platforms, there are restrictions which have to be kept in mind for the resulting modules to be portable. Those are dealt with in a dedicated tutorial on this page.
These tutorials explain the basic mechanisms of CometOS, such as message passing, object aggregation and node-to-node communication. Additionally, some more sophisticated examples, which demonstrate how to achieve (milli second) time synchronization and how to create a node structure which can be used as stand-in for a real testbed, which can also connect to a real network and which can be remotely controlled using python scripting.