[ns] Need Simulation for WSNs (802.15)
mshrehmani at gmail.com
Mon Nov 10 03:05:22 PST 2008
Hi AMathiew Moussa
Basically SMAC is a MAC Protocol specifically designed for WSNs to conserve
the energy by integrating Active/Sleep Regime. I think you should do this:
1. Include SMAC as your MAC Protocol in your simulation.
2. You can create nodes and assign the status of sink to some nodes and
assign the status of simple sensor nodes to remaining nodes.
3. To enable Hello Messages from sensor to sinks, i suggest you to use AODV
Protocol or create your own function sendHello() in your customized
4. To send messages between various sinks, i think you can do this in your
customized protocol (in c++ implementation of ns2).
5. This can also be in done in c++.
This basic thing that i would suggest you it to first decide which framework
you are going to use. For instance you can use directed diffusion or your
own customized routing protocol that is responsible for communication
between sinks to sinks or sensors to sinks.
Hope my answer will help you :-)
2008/11/10 Mathiew Moussa <mmm59 at aub.edu.lb>
> Yes Davide, The protocol is implemented under the name SMAC in ns2 ..
> but my exact question is if anybody has used SMAC in their own
> simulation and have their implementation online for reusability.
> So i want an implementation that uses SMAC and that facilitates
> creating sinks, sensors, then sending and receiving easily.
> To give you an idea of what i need. My simulation will have roughly this
> -Creating a wireless sensor network with multiple sensors and sinks
> -Sending Hello Messages from sensors to sinks
> -Sending Messages between various sinks
> -Sending Messages back to the sensors.
> Any Idea guys ?
> Quoting Davide <jimiend at gmail.com>:
> > i'm working on different network (wired) but i know that the mac
> > protocol 8021.15.4 is implemented in ns2
> > Davide
> > 2008/11/10 Mathiew Moussa <mmm59 at aub.edu.lb>:
> >> Hi All,
> >> I've seen some implementations for WSNs in NS2 such as gpsr but it
> >> uses 802.11 as a MAC. I was wondering if anyone has any idea of the
> >> best package to use for simulating WSNs (its better if it functions
> >> over 802.15 which i know is implemented in the SMAC accompanying ns2).
> >> You're help is appreciated.
> >> Thanks :)
> >> Mathiew
Mubashir Husain Rehmani
Mobile : 00 33 (0)6 32 00 89 35
More information about the Ns-users