802.15.4 radio

87 views
Skip to first unread message

remo mein

unread,
Jun 3, 2018, 11:30:14 AM6/3/18
to OMNeT++ Users
Hi all,

Good day.

I am currently trying to simulate Framed Slotted Aloha (FSA) protocol in omnet++. I had coded the protocol in C++ but getting way higher throughput than theoretically possible. While i tried to debug the code, i found that if there are more than one transmissions during a slot time, the node nearest to the sink always transmit its data successfully. 

For FSA, i need the sink node to drop the reception whenever it detects more than one node is sending data in a transmission slot.

Can anyone give me some ideas on how can i achieve this? Is there any other way i can make this possible?

This is my network setting:-

**.wlan[*].typename =   "Ieee802154NarrowbandNic" 
**.wlan[*].mac.backoffMethod = "exponential"
**.wlan[*].mac.useMACAcks = true
**.wlan[*].mac.rxSetupTime = 0s
**.radioMediumType = "Ieee802154NarrowbandScalarRadioMedium"

**.radioMedium.backgroundNoise.power = -100dBm 
**.wlan[*].radioType = "Ieee802154NarrowbandScalarRadio"
**.wlan[*].radio.transmitter.bitrate = 250 kbps 
**.wlan[*].radio.transmitter.power = 0.001 W 
**.wlan[*].radio.receiver.sensitivity = -92 dBm 
**.wlan[*].radio.displayCommunicationRange = true 

Thank you for your time.

Regards,
Murukesan

Levente Mészáros

unread,
Jun 4, 2018, 9:55:34 AM6/4/18
to omn...@googlegroups.com
A node may receive a transmission successfully even if there are other interfering signals, because they may be too weak to cause errors.

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

remo mein

unread,
Jun 6, 2018, 6:51:49 AM6/6/18
to omn...@googlegroups.com
Hi Levy,

Good day.

Yes, i am aware of that. However, is there any way i can make the receiving node to drop all reception if there are more than one node transmitting at a  time?

Levente Mészáros

unread,
Jun 7, 2018, 9:44:00 AM6/7/18
to omn...@googlegroups.com
You could use the IdealRadio/IdealRadioMedium for this purpose (it has been renamed to UnitDiskRadio/UnitDiskRadioMedium in the prereleases of INET-4.0).

Regards,
levy

On Wed, Jun 6, 2018 at 12:51 PM remo mein <murukesan.l...@gmail.com> wrote:
Hi Levy,

Good day.

Yes, i am aware of that. However, is there any way i can make the receiving node to drop all reception if there are more than one node transmitting a  time?


Thank you for your time.

Regards,
Murukesan

--

Murukesan

unread,
Jul 9, 2018, 5:30:05 AM7/9/18
to OMNeT++ Users
Hi Levy,

Thank you for the suggestion. IdealRadio/IdealRadioMedium combination is what i am looking for. It drops the frame if there is collision during the reception regardless of the signal strength.

Thank you.

For beginners like me:-

**.wlan[*].typename                     = "Ieee802154NarrowbandNic"

**.wlan[*].radioType                                     = "IdealRadio"
**.radioMediumType                                    = "IdealRadioMedium"
**.radioMedium.backgroundNoise.power    = -100dBm 
**.wlan[*].radio.transmitter.bitrate                = 250000 bps
**.wlan[*].radio.transmitter.communicationRange = 50m
**.radio.transmitterType                              = "IdealTransmitter"
**.radio.receiverType                                  = "IdealReceiver"

Regards,
Murukesan


Reply all
Reply to author
Forward
0 new messages