Download S-MAC Source Code


Introduction   Download   Papers   FAQ   Mailing List   People   Links

S-MAC Source Code in NS-2

To run S-MAC in ns-2, you need to get the latest version ns-2. For details of ns-2 download, go to this web page. Make sure that you use a daily snapshot after June 14, 2005 to include the latest energy model. For details, please check the new energy model.

S-MAC Source Code in TinyOS

Current S-MAC implementations works on Mica and Mica2 motes. We strongly suggest you to get the latest S-MAC code from the official TinyOS CVS repository. If you are using it, just do 'cvs update -d' to get it from there. S-MAC is located at tinyos-1.x/contrib/s-mac/.

If you are not using the TinyOS CVS, you can get the following S-MAC snapshot from TinyOS CVS, which is reasonably up to date.

Formal Releases

Among other new features, this version implemented link quality measurement. Please look at the change log for detailed changes since last release. This page will help you Getting started with S-MAC stack (v1.2).
This version is the same as that comes with TinyOS 1.1.0 official release in the contrib/ directory. Please look at Getting started with ISI communication stack (v1.1).
This version runs over both Mica and Mica2 motes. It also provides compatibility support to the standard radio stack developed by UC Berkeley. Please look at Getting started with ISI communication stack (v1.1).
This version works in the nesC environment. It implemented some new features in S-MAC protocol design. Among others, we implemented adaptive listen that tries to reduce multi-hop latency due to the periodic sleep of each node. For details of the new features in S-MAC and measurement results, please look at our technical report. Please also look at Getting started with ISI communication stack (v1.0).

This version is the final version we have developed in pre-nesC environment. The above new nesC version (1.0) is ported based on this version (0.6). Please also check with Getting started with ISI communication stack (v 0.6).
This is the initial release of our radio communication stack. Here is the companion Getting started help.

Introduction   Download   Papers   FAQ   Mailing List   People   Links

Please send comments to Wei Ye.
Last modified on Sept. 27, 2005.