Inet Ideal channel

245 views
Skip to first unread message

quentin vey

unread,
Jun 19, 2013, 10:12:31 AM6/19/13
to omn...@googlegroups.com
Hello,

I am modelling a routing protocol for WSN with INET / MiXiM, and I need an "ideal" MAC and PHY layer. I mean a channel without delay and without losses.
Is there a such thing for Inet and/or MiXiM ? Or anything close ?

Alfonso Ariza Quintana

unread,
Jun 19, 2013, 10:40:09 AM6/19/13
to omn...@googlegroups.com

No,

But it easy to implement, You only need to modify the channelControl and change the speed of propagation to simulate a delay close to 0 and change the computation bit error and collision, in the Radio.cc code

--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rudolf Hornig

unread,
Jun 20, 2013, 5:38:05 PM6/20/13
to omn...@googlegroups.com, aari...@hotmail.com
Actually, there is. Recently Zoltan Bojthe has implemented such an ideal wireless radio exactly for this purpose (adhoc routing testing). It is available in the master branch in the main inet repository (will be part of the next INET release). Look in the linklayer/idealwireless and examples/adhoc/idealwireless directory.

From the NED file:

//
// Highly abstracted wireless NIC that consists of a unit disk radio and a dummy
// MAC protocol. It offers simplicity for scenarios where Layer 1 and 2 effects
// can be completely ignored, for example testing the basic functionality
// of a wireless ad-hoc routing protocol.
//
// The most important parameter this model accepts is the transmission range.
// When a radio transmits a frame, all other radios within transmission range
// will receive the frame correctly, and radios out of range will not be
// affected at all. There are no collisions -- a radio can simultaneously
// receive any number of frames, and also transmit a single frame at the same time.
//
// This module requires an ~IdealChannelModel instance in the network
// as channel control module.
//

Enjoy and spread the information :)
Rudolf

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

quentin vey

unread,
Jun 24, 2013, 4:23:33 AM6/24/13
to omn...@googlegroups.com, aari...@hotmail.com
Thanks you very much.

In fact I am suing MiXiM's mobility model and nodes, therefore I can't use directly the Inet ideal channel you gave me. Do you know if there is an idealchannel on MiXiM?

Mohamed Mbida

unread,
Jun 11, 2014, 12:37:05 PM6/11/14
to omn...@googlegroups.com, aari...@hotmail.com
hello , i still use omnetpp and inet framework , can i have exemples of S-mac( ini and ned files ) protocol and how to compile the .ini and ned file , best regards 

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages