The tutorial goes through basic necessities of creating a MAC.
Interfaces required to provide essential MAC functions.
Five interfaces are provided by the protocol.
- Init - First initialization.
- PowerControl - Start/stop control of MAC.
- Send - For sending packets via the MAC.
- Receive - For receiving packets via the MAC.
- FrameConfiguration - Setup of slot length and frame length for every round.
All sources: Download as zip
A component graph diagram of the MAC protocol is provided below.
An article based on the tinyos implementation can be found here:
- K. Somappa, A. A., Ovsthus, K., & Kristensen, L., "Implementation and Deployment Evaluation of the DMAMAC Protocol for Wireless Sensor Actuator Networks ", in Proceedings of the 7th International Conference on Ambient Systems, Networks and Technologies, 83, pp. 329-336, 2016.(pdf)(Publication)
TinyOS Ubuntu 14.04 installation
For installation instruction for TinyOS 2.1.2 on Ubuntu 14.04 LTS check here.(Last Updated May-13-2016)