help me i am newbie to omnet++ simulator getting following error

1,839 views
Skip to first unread message

Manojkumar Annamraju

unread,
Feb 7, 2012, 3:18:30 AM2/7/12
to omnetpp
hi,

i am getting following error please help me ,


<!> Error in module (OLSR)
Net802_11olsrprotocol.adhocHost[0].manetrouting (id=18) during network
initialization: Model error: Manet routing protocol has found 0 wlan
interfaces.


This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
undisposed object: (ChannelControl) channelControl -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[1] -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[2] -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[3] -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[4] -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[5] -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[6] -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[7] -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[8] -- check module
destructor
undisposed object: (cCompoundModule) adhocHost[9] -- check module
destructor
terminate called after throwing an instance of 'cRuntimeError'
what(): Object Net802_11olsrprotocol is currently in
(cSimulation)simulation, it cannot be deleted. If this error occurs
inside cSimulation, it needs to be changed to call drop() before it
can delete that object. If this error occurs inside cSimulation's
destructor and Net802_11olsrprotocol is a class member, cSimulation
needs to call drop() in the destructor

Simulation terminated with exit code: 3
Working directory: C:/finalproject/omnetpp-4.2.1/samples/Net802_11OLSR
Command line: c:/finalproject/omnetpp-4.2.1/bin/opp_run.exe -r 0 -u
Cmdenv -c General -n src;simulations;../inetmanet-2.0/examples;../
inetmanet-2.0/src -l ../inetmanet-2.0/src/inet omnetpp.ini




my configuration file is :
--------------------------------------

[General]
network = net802_11olsr.simulations.Net802_11olsrprotocol
sim-time-limit = 200s
cmdenv-express-mode = true
tkenv-plugin-path = ../../../etc/plugins

**.numHosts = 10
**.adhocHost[*].routingProtocol = "OLSR"
**.manetrouting.OLSR_HELLO_INTERVAL = 2s
**.manetrouting.OLSR_TC_INTERVAL = 5s
**.manetrouting.OLSR_MID_INTERVAL = 5s
**.manetrouting.OLSR_REFRESH_INTERVAL = 2s
#**.adhocHost[*].numExtInterfaces = 0
**.adhocHost[*].numRadios = 0
**.adhocHost[*].mobilityType = "MassMobility"
**.adhocHost[*].routingFile = ""
**.adhocHost[*].IPForward = true
**.adhocHost[*].numTcpApps = 0
**.adhocHost[*].numUdpApps = 0
**.adhocHost[*].tcpType = "TCP"
**.adhocHost[*].udpType = "UDP"
#**.channelControl.coreDebug = false
**.channelControl.pMax = 20mW
**.channelControl.sat = -110dBm
**.channelControl.alpha = 2
**.channelControl.carrierFrequency = 2.4GHz
**.channelControl.numChannels = 1
**.channelControl.propagationModel = "FreeSpaceModel"
**.mobility.changeInterval =uniform(1s,2s)
**.mobility.changeAngleBy = uniform(0deg,2deg)
**.mobility.speed = normal(3mps,2mps)
**.manetrouting.excludedInterfaces = ""
**.manetrouting.interfaces ="prefix(wlan)"
**.manetrouting.usetManetLabelRouting = true
#**.manetrouting.useICMP =
#**.manetrouting.setICMPSourceAddress =
**.manetrouting.manetPurgeRoutingTables = true
**.manetrouting.autoassignAddressBase = "10.0.0.0"
**.manetrouting.Willingness = 3
**.manetrouting.Hello_ival = 2
**.manetrouting.Tc_ival = 5
**.manetrouting.Mid_ival = 5
**.manetrouting.use_mac = 0
**.manetrouting.UseIndex = false
**.manetrouting.reduceFuncionality =false
**.mac.bitrate = 54Mbps
**.radio.bitrate = 54Mbps
**.mac.promiscuous =false
#**.mac.address =
#**.mac.duplexMode =
#**.mac.mtu =
#**.ext[*].filterString =
**.mobility.debug = false
**.mobility.constraintAreaMinX = 0m
**.mobility.constraintAreaMinY = 0m
**.mobility.constraintAreaMinZ = 0m
**.mobility.constraintAreaMaxX = 1000m
**.mobility.constraintAreaMaxY = 1000m
**.mobility.constraintAreaMaxZ = 0m
**.mobility.updateInterval = 0.1s
**.mobility.initialX = uniform(0m,1000m)
**.mobility.initialY = uniform(0m,1000m)
#**.mobility.initialZ =
**.mobility.startAngle = uniform(0deg,360deg)
**.mobility.initFromDisplayString = true
**.ip.procDelay = 0s
**.ip.timeToLive = 32
**.ip.multicastTimeToLive = 32
**.ip.fragmentTimeout = 60s
**.ip.forceBroadcast = false
**.arp.retryTimeout = 1s
**.arp.retryCount = 3
**.arp.cacheTimeout = 120s
**.arp.globalARP = false
**.arp.silentDeletion = false
**.routingTable.routerId = "auto"
**.wlan[*].mgmtType = "Ieee80211MgmtSTA"
**.mgmt.frameCapacity = 100
**.mac.maxQueueSize = 14
**.mac.basicBitrate = 2000000bps
**.mac.rtsThresholdBytes = 2346B
#**.mac.retryLimit =
#**.mac.cwMinData =
#**.mac.cwMinMulticast =
**.radio.channelNumber = 1
**.radio.carrierFrequency = 2.4GHz
**.radio.transmitterPower =20 mW
**.radio.thermalNoise = -110dBm
**.radio.sensitivity = -85dBm
**.radio.NoiseGenerator = ""
**.radio.pathLossAlpha = 2
**.radio.TransmissionAntennaGainIndB = 0dB
**.radio.ReceiveAntennaGainIndB = 0dB
**.radio.SystemLossFactor = 0dB
**.radio.TransmiterAntennaHigh = 1m
**.radio.ReceiverAntennaHigh = 1m
**.radio.sigma = 1
**.radio.nak_m = 1
#**.radio.K =
**.radio.usage_radio_idle = -1mA
**.radio.usage_radio_recv = -1mA
**.radio.usage_radio_sleep = -1mA
**.radio.usage_radio_send = -1mA
**.radio.drawCoverage = true
**.radio.refreshCoverageInterval = 0s
**.radio.snirThreshold = 4dB
**.queue.frameCapacity = 100
#**.queue.classifierClass =
**.tcp.advertisedWindow = 1043
**.tcp.delayedAcksEnabled = false
**.tcp.nagleEnabled = true
**.tcp.limitedTransmitEnabled = false
**.tcp.increasedIWEnabled = false
**.tcp.sackSupport = false
**.tcp.windowScalingSupport = false
**.tcp.timestampSupport = false
**.tcp.mss = 536
**.tcp.tcpAlgorithmClass = "TCPReno"
**.tcp.recordStats = true
**.tcp.sendQueueClass = ""
**.tcp.receiveQueueClass = ""
**.pingApp.destAddr = ""
**.pingApp.srcAddr = ""
**.pingApp.packetSize = 56B
**.pingApp.sendInterval = 1s
**.pingApp.hopLimit = 32
**.pingApp.count = 0
**.pingApp.startTime = 1s
**.pingApp.stopTime = 0s
**.pingApp.printPing = false
#**.manetrouting.excludedInterfaces = ""
**.manetrouting.interfaces ="prefix(wlan)"
**.manetrouting.autoassignAddress = true
**.mac.address = "auto"
**.mac.duplexMode = true
#**.mac.mtu =
#**.ext[*].filterString =
#**.ext[*].device =
#**.adhocHost[*].numPcapRecorders =
#**.adhocHost[*].numSctpApps =
#**.adhocHost[*].sctpType =
#**.mobility.initialZ =
#**.networkLayer.proxyARP =
#**.pcapRecorder[*].verbose =
#**.pcapRecorder[*].pcapFile =
#**.pcapRecorder[*].snaplen =
#**.pcapRecorder[*].dumpBadFrames =
#**.pcapRecorder[*].moduleNamePatterns =
#**.pcapRecorder[*].sendingSignalNames =
#**.pcapRecorder[*].receivingSignalNames =
**.wlan[*].numOutputHooks = 0
**.wlan[*].numInputHooks = 0
#**.mac.mtu =
#**.ext[*].filterString =
#**.ext[*].device =
#**.adhocHost[*].numPcapRecorders =
#**.adhocHost[*].numSctpApps =
#**.adhocHost[*].sctpType =
#**.mobility.initialZ =
#**.networkLayer.proxyARP =
#**.pcapRecorder[*].verbose =
#**.agent.activeScan =
#**.agent.channelsToScan =
#**.agent.probeDelay =
#**.agent.minChannelTime =
#**.agent.maxChannelTime =
#**.agent.authenticationTimeout =
#**.agent.associationTimeout =
#**.agent.startingTime =
#**.agent.default_ssid =
#**.mac.retryLimit =
#**.mac.cwMinData =
#**.mac.cwMinMulticast =
#**.radio.K =
#**.eth[*].csmacdSupport =
#**.eth[*].useSNAP =
#**.eth[*].macType =
#**.eth[*].queueType =
#**.eth[*].numOutputHooks =
#**.eth[*].numInputHooks =
#**.queue.classifierClass =
#**.ppp[*].queueType =
#**.ppp[*].numOutputHooks =
#**.ppp[*].numInputHooks =
#**.ppp.mtu =
#**.ext[*].mtu =
#**.manetrouting.useICMP =
#**.manetrouting.setICMPSourceAddress =
#**.channelControl.coreDebug =
#**.wlan[*].numInputHooks =
#**.agent.activeScan =
#**.agent.channelsToScan =
#**.agent.probeDelay =
#**.agent.minChannelTime =
#**.agent.maxChannelTime =
#**.agent.authenticationTimeout =
#**.agent.associationTimeout =
#**.agent.startingTime =
#**.agent.default_ssid =
#**.mac.retryLimit =
#**.mac.cwMinData =
#**.mac.cwMinMulticast =
#**.radio.K =
#**.eth[*].csmacdSupport =
#**.eth[*].useSNAP =
#**.eth[*].macType =
#**.eth[*].queueType =
#**.eth[*].numOutputHooks =
#**.eth[*].numInputHooks =
#**.queue.classifierClass =
#**.ppp[*].queueType =
#**.ppp[*].numOutputHooks =
#**.ppp[*].numInputHooks =
#**.ppp.mtu =
#**.ext[*].mtu =
#**.manetrouting.useICMP =
#**.manetrouting.setICMPSourceAddress =

#**.channelControl.propagationModel =

Alfonso Ariza Quintana

unread,
Feb 7, 2012, 4:51:22 AM2/7/12
to omn...@googlegroups.com

Check if your node has a wlan interface. The name of interface must have
"wlan", any name that has wlan in the name is valid


-----Mensaje original-----
From: Manojkumar Annamraju
Sent: Tuesday, February 07, 2012 9:18 AM
To: omnetpp
Subject: [Omnetpp-l] help me i am newbie to omnet++ simulator getting
following error

hi,

#**.channelControl.propagationModel =

--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp

Manojkumar Annamraju

unread,
Feb 8, 2012, 12:41:19 AM2/8/12
to omn...@googlegroups.com
hi alfonso,
             
            
          **.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"

           **.manetrouting.interfaces = "prefix(wlan)"
 still  i getting the same problem as manet routing protocol is having 0 wlan interfaces......
please help me 

Alfonso Ariza Quintana

unread,
Feb 8, 2012, 6:27:42 AM2/8/12
to omn...@googlegroups.com
Check if the node has a wlan interface. This behaviour is strange

Manojkumar Annamraju

unread,
Feb 8, 2012, 11:56:19 PM2/8/12
to omn...@googlegroups.com
yes my node is having wlan interface.....................

Manojkumar Annamraju

unread,
Feb 9, 2012, 12:59:14 AM2/9/12
to omn...@googlegroups.com
hi,

   i am using adhoc node in that node  wlan[numRadios] module is used. but in configuration file (ie .ini)file this parameter(numRadios) is not showing.
   so may be it is the problem.please check it ........(i am using omnet++ 4.2.1 and intemanet 2.0 ) ..................

Alfonso Ariza Quintana

unread,
Feb 9, 2012, 3:56:27 AM2/9/12
to omn...@googlegroups.com
 
By default, the adhoc  node has one wlan interface

Manojkumar Annamraju

unread,
Feb 9, 2012, 5:43:12 AM2/9/12
to omn...@googlegroups.com
how can i resolve the error that is manet routing protocol is having 0 wlan interfaces...............

please help me ...............

Alfonso Ariza Quintana

unread,
Feb 9, 2012, 6:19:12 AM2/9/12
to omn...@googlegroups.com
Can you execute the examples?

Zarrar Yousaf

unread,
Feb 9, 2012, 7:00:25 AM2/9/12
to omn...@googlegroups.com
Hi,

I have multiple applications and i want to cotnrol their transmission by an external control module.

For this purpose, i want to create multiple timers (scheduleAt() type) within the cotrol module, but i want each timer to be associated with a specific application.

For example, lets say i have N apps, the control module maintains a list of these apps in vector and differentiates based on their ids ie. App[id].

Now i want to create, manage and maintain a timer for each of these N apps.

My algo will deduce a transmit time for each of the app independently, and then upon expiry of a timer, a trigger will be sent to the specific app module (i.e., App[id]) to which the timer is associated to.

I can create multiple timers using the for loop: e.g.,

for(x=0; x<=numOfApps; x++)
{
cMessage *timer = new cMessage("timerMsg", MK_APP_TRIGGER);
scheduleAt(simTime()+someValue, timer);
}

The problem in the above code is obvious, that it will create multiple timers of the same "name" and "type". 

How to handle this, and how to associate each timer that is created to a specific App[id] and then how to manage them?
Should i create and attach a contextInformation() that is unique to each App?

How to gracefully handle this problem and what should be a scalable solution?

thanks

Zarrar

Rudolf Hornig

unread,
Feb 9, 2012, 8:55:17 AM2/9/12
to omn...@googlegroups.com
Some ideas:
- just (ab)use the kind property of the message and set there your ID parameter. When receiving the timer check for the name string (that should be unique) and then use the getKind() method to get the id where that would encode which app this timer is associated with. The kind value is pretty much user defined. OMNeT++ does not use it at all.

for(int x=0; x<numOfApps; x++)
{
cMessage *timer = new cMessage("timerMsg-unique-string",  x);
scheduleAt(simTime()+someValue, timer);
}

- And othe solution would be to add a dynamic parameter to each message that would hold the id. (using addPar()), however this requires a bit more memory and CPU.

- Possible solution also to create your own timer message class with msg compiler. (overkill IMHO)

- or use the setContext() to store a pointer to your app module...

Generally I would advise the first method if you don't need anything else.
Rudolf

--

Manojkumar Annamraju

unread,
Feb 9, 2012, 11:59:22 PM2/9/12
to omn...@googlegroups.com
yes i run the net802_11aodv it works.,i am sending my ned file and configuration file given below please where is the error please help me
ned file 
................
@license(LGPL);
//
// TODO documentation
//
network Srmolsr
{
    parameters:
        int numHosts;
    submodules:
        adhocHost[numHosts]: AdhocHost {
            @display("p=181,119");
        }
        channelControl: ChannelControl {
            @display("p=125,103");
        }
        flatNetworkConfigurator: FlatNetworkConfigurator {
            @display("p=155,27");
        }
}
 

omnetpp.ini
......................
[General]
network = Srmolsr
cmdenv-config-name = Srmolsr
cmdenv-runs-to-execute = *
fname-append-host = false
record-eventlog = true
sim-time-limit = 3000s
tkenv-plugin-path = ../../../etc/plugins
**.numHosts = 5
**.mac.bitrate = 54000000bps
**.radio.bitrate = 54000000bps
**.mac.address = "auto"
**.adhocHost[*].mobilityType = "MassMobility"
**.adhocHost[*].numTcpApps = 0
**.adhocHost[*].numUdpApps = 0
**.adhocHost[*].tcpType = "TCP"
**.adhocHost[*].udpType = "UDP"
**.adhocHost[*].routingProtocol = "OLSR"
**.mobility.constraintAreaMinX = -1m
**.mobility.constraintAreaMinY = -1m
**.mobility.constraintAreaMaxX = 1m
**.mobility.constraintAreaMaxY = 1m
**.mobility.initialX = uniform(-1m, 1m)
**.mobility.initialY = uniform(-1m, 1m)
**.ip.procDelay = 0s
**.ip.timeToLive = 32
**.ip.multicastTimeToLive = 32
**.ip.fragmentTimeout = 60s
**.ip.forceBroadcast = false
**.wlan[*].mgmtType = "Ieee80211MgmtAdhoc"
**.wlan[*].numOutputHooks = 0
**.wlan[*].numInputHooks = 0
**.mac.maxQueueSize = 14
**.mac.basicBitrate = 2000000bps
**.mac.rtsThresholdBytes = 2346B
**.radio.carrierFrequency = 2.4GHz
**.radio.transmitterPower = 20mW
**.radio.thermalNoise = -110dBm
**.radio.sensitivity = -85dBm
**.queue.frameCapacity = 100
#**.queue.classifierClass = 
**.channelControl.alpha = 2
**.channelControl.carrierFrequency = 2.4GHz
**.channelControl.numChannels = 1
**.channelControl.propagationModel = "FreeSpaceModel"
**.flatNetworkConfigurator.networkAddress = "192.168.0.0"
**.flatNetworkConfigurator.netmask = "255.255.0.0"
#**.manetrouting.excludedInterfaces = ""
#**.manetrouting.interfaces = "prefix(wlan)"
#**.manetrouting.usetManetLabelRouting = true
#**.manetrouting.useICMP = true
#**.manetrouting.setICMPSourceAddress = false
**.manetrouting.manetPurgeRoutingTables = true
**.manetrouting.autoassignAddress = true
**.manetrouting.autoassignAddressBase = "10.0.0.0"
**.manetrouting.Willingness = 3
**.manetrouting.Hello_ival = 2
**.manetrouting.Tc_ival = 5
**.manetrouting.Mid_ival = 5
**.manetrouting.use_mac = 0
**.manetrouting.UseIndex = false
**.manetrouting.reduceFuncionality = false
**.manetrouting.OLSR_HELLO_INTERVAL = 2s
**.manetrouting.OLSR_TC_INTERVAL = 5s
**.manetrouting.OLSR_MID_INTERVAL = 5s
**.manetrouting.OLSR_REFRESH_INTERVAL = 2s
#**.mobility.speed = uniform
#**.mobility.waitTime = 
**.adhocHost[*].numExtInterfaces = 0
**.adhocHost[*].numRadios = 0
**.adhocHost[*].routingFile = ""
**.adhocHost[*].IPForward = true
**.radio.channelNumber = 0
**.radio.NoiseGenerator = ""
**.radio.pathLossAlpha = 2
**.tcp.mss = 536
**.tcp.tcpAlgorithmClass = "TCPReno"
**.tcp.recordStats = true
**.tcp.sendQueueClass = ""
**.tcp.receiveQueueClass = ""
**.mobility.changeInterval = uniform(1s,2s)
**.mobility.changeAngleBy = uniform(0deg,2deg)
**.mobility.speed = normal(3mps,2mps)
**.pingApp.destAddr = ""
**.pingApp.srcAddr = ""
**.pingApp.packetSize = 56B
**.pingApp.sendInterval = 1s
**.pingApp.hopLimit = 32
**.pingApp.count = 0
**.pingApp.startTime = uniform(0s, this.sendInterval)
**.pingApp.stopTime = 0s
**.pingApp.printPing = false
**.channelControl.coreDebug = false
**.channelControl.pMax = 20mW
**.channelControl.sat = -110dBm
#**.mac.promiscuous = 
**.mac.duplexMode = false
#**.mac.mtu = false
#**.ext[*].filterString = 
#**.ext[*].device = 
#**.adhocHost[*].numPcapRecorders = 
#**.adhocHost[*].numSctpApps = 
#**.adhocHost[*].sctpType = 
#**.mobility.debug = 
#**.mobility.constraintAreaMinZ = 
#**.mobility.constraintAreaMaxZ = 
#**.mobility.updateInterval = 
#**.mobility.initialZ = 
**.mobility.startAngle = uniform(0deg,360deg)
**.manetrouting.interfaces = "prefix(wlan)"
**.manetrouting.excludedInterfaces = "" 
**.manetrouting.usetManetLabelRouting = true
#**.mobility.initFromDisplayString = 
#**.networkLayer.proxyARP = 
#**.arp.retryTimeout = 
#**.arp.retryCount = 
#**.arp.cacheTimeout = 
#**.arp.globalARP = 
#**.arp.silentDeletion = 
#**.routingTable.routerId = 
#**.pcapRecorder[*].verbose = 
#**.pcapRecorder[*].pcapFile = 
#**.pcapRecorder[*].snaplen = 
#**.pcapRecorder[*].dumpBadFrames = 
#**.pcapRecorder[*].moduleNamePatterns = 
#**.pcapRecorder[*].sendingSignalNames = 
#**.pcapRecorder[*].receivingSignalNames = 
#**.agent.activeScan = 
#**.agent.channelsToScan = 
#**.agent.probeDelay = 
#**.agent.minChannelTime = 
#**.agent.maxChannelTime = 
#**.agent.authenticationTimeout = 
#**.agent.associationTimeout = 
#**.agent.startingTime = 
#**.agent.default_ssid = 
#**.mgmt.frameCapacity = 
#**.mac.retryLimit = 
#**.mac.cwMinData = 
#**.mac.cwMinMulticast = 
#**.radio.TransmissionAntennaGainIndB = 
#**.radio.ReceiveAntennaGainIndB = 
#**.radio.SystemLossFactor = 
#**.radio.TransmiterAntennaHigh = 
#**.radio.ReceiverAntennaHigh = 
#**.radio.sigma = 
#**.radio.nak_m = 
#**.radio.K = 
#**.radio.usage_radio_idle = 
#**.radio.usage_radio_recv = 
#**.radio.usage_radio_sleep = 
#**.radio.usage_radio_send = 
#**.radio.drawCoverage = 
#**.radio.refreshCoverageInterval = 
#**.radio.snirThreshold = 
#**.eth[*].csmacdSupport = 
#**.eth[*].useSNAP = 
#**.eth[*].macType = 
#**.eth[*].queueType = 
#**.eth[*].numOutputHooks = 
#**.eth[*].numInputHooks = 
#**.queue.classifierClass = 
#**.ppp[*].queueType = 
#**.ppp[*].numOutputHooks = 
#**.ppp[*].numInputHooks = 
#**.ppp.mtu = 
#**.ext[*].mtu = 
#**.tcp.advertisedWindow = 14*this*mss
#**.tcp.delayedAcksEnabled = false
#**.tcp.nagleEnabled = true
#**.tcp.limitedTransmitEnabled = false
#**.tcp.increasedIWEnabled = false
#**.tcp.sackSupport = false
#**.tcp.windowScalingSupport = false
#**.tcp.timestampSupport = false

Alfonso Ariza Quintana

unread,
Feb 10, 2012, 5:46:36 AM2/10/12
to omn...@googlegroups.com
Sorry but this is ilogical
 
**.mobility.constraintAreaMinX = -1m
**.mobility.constraintAreaMinY = -1m
**.mobility.constraintAreaMaxX = 1m
**.mobility.constraintAreaMaxY = 1m
**.mobility.initialX = uniform(-1m, 1m)
**.mobility.initialY = uniform(-1m, 1m)
 
 
You don’t need routing protocols because all nodes are in range

Manojkumar Annamraju

unread,
Feb 14, 2012, 3:56:58 AM2/14/12
to omn...@googlegroups.com
thanks alfonso for ur replies,
        
       alfonso give suggestion,

   that is , my project is loadbalcing in MANET by using OLSR routing protocol,

my questions are 
1) how to calculate the battery power of the adhoc node in inetmanet 2.0.
      
        in inetmanet 2.0 Battery module is there, if i add to the adhoc node how can i claculate the energy of the node .

2)my  second question,after calculating energy of the node how to broadcast the current energy to the neighbouring  nodes.
     
     
3)how to find the nearest neighbour of the node in the network

Alfonso Ariza Quintana

unread,
Feb 14, 2012, 7:06:01 AM2/14/12
to omn...@googlegroups.com
1) You need to use the battery.
 
2) you need to develop a module that broadcast this information. This module can access to the battery information using BatteryAccess()

Manojkumar Annamraju

unread,
Feb 27, 2012, 12:07:36 AM2/27/12
to omn...@googlegroups.com
hi alfonso ,

        i use the battery module ,my doubt is how to broacast the message to the neighbour nodes in a network.

Alfonso Ariza Quintana

unread,
Feb 27, 2012, 6:35:14 AM2/27/12
to omn...@googlegroups.com

see the DHCP module, this module sends a limited broadcast to a particular interface.


Date: Mon, 27 Feb 2012 10:37:36 +0530

Subject: Re: [Omnetpp-l] help me i am newbie to omnet++ simulator getting following error
Reply all
Reply to author
Forward
0 new messages