CXX=clang++ CXXFLAGS=-std=c++17to makefile, however it still not compile. I try
make V=1, it seems that the CXXFLAGS not working. Any ideas?
I am trying to implement a clock synchronisation mechanism in Wireless networks. But I am not able to find a Clock module which I can use in a wireless sensor node!! Can anyone please direct me to some examples of clock models in wireless nodes to get started with??
Thanks in Advance
Hi, I am using OMNET++ INET for Ad hoc networks.
I want to broadcast my message to all my neighbours in UDP. I have tried all the possible solutions in UDPBasicApp. It broadcasts a message to one node at a time which it chooses randomly if the destination is not fixed (sink) . UDPBasicBurstApp also does not send message to all connected nodes.
Kindly help me in this regard.
userpp@a176646f65eb (omnetpp-dev):~/omnetpp-6.0pre10$ omnetpp Starting the OMNeT++ IDE... The OMNeT++ IDE is not installed!
Hi Everyone, I am working on a TDMA based wireless network in Omnet++ using INET library and facing below problem.
I am using ‘WirelessHost' as my wireless nodes’ type and configured the internal clocks of these nodes to run at different speeds using ‘SettableClockModule’.
I have modified the ‘LMac’ MAC protocol to use the internal clocks of their respective nodes by adding clockModule parameter. All I am trying to do is, access the medium according to the internal clock of the node, instead of simulator clock!
The PROBLEM I am facing is as below,
Below are the steps I tried,
Copied the message before scheduling in scheduleClockEvent method to deal with the ownership. Then, the message could be scheduled, but the Radio module will ry to pick it up and throw Unknown self message error,
Unknown self message -- in module (inet::physicallayer::ApskRadio) wireless_network2.TestNodeB.wlan.radio
Modified the ‘ApskRadio' Module as well with parameter clockModule and updating scheduling functions. But the network behaved the same way!
Please let me know if anyone can help me to fix this.
Any suggestions or documents related to message ownership problems OR any example projects to which I can refer will also be very helpful.
Thanks & Regards,
Suheel S N
I am building a network topology with 12 nodes (all AodvRouter): 1 x Source, 9 x intermediate nodes and two destinations: Sink1 and Sink2. Please see the image for details: Network Topology.
At the moment all nodes are stationary (no mobility implemented yet). I am using UdpBasicApp at Source and UdpSink at destinations and trying to send UDP datagrams from source in multicast fashion to Sink1 and Sink2 nodes.
I have configured the Source and Sink1, Sink2 app in the ini file as follows:
# Source app configuration *.Source.numApps = 1 *.Source.app.typename = "UdpBasicApp" *.Source.app.destAddresses = "126.96.36.199" *.Source.app.destPort = 1000 *.Source.app.messageLength = 1000Byte *.Source.app.sendInterval = 100us *.Source.app.startTime = intuniform(0ms,1ms) # Sink1 app configuration *.Sink1.numApps = 1 *.Sink1.app.typename = "UdpSink" *.Sink1.app.localPort = 1000 *.Sink1.app.joinLocalMulticastGroups = true # Sink2 app configuration *.Sink2.numApps = 1 *.Sink2.app.typename = "UdpSink" *.Sink2.app.localPort = 1000 *.Sink2.app.joinLocalMulticastGroups = true
But I am not sure whether configuring Source app with
*.Source.app.destAddresses = "188.8.131.52" and Sink with
*.Sink1.app.joinLocalMulticastGroups = true is the correct approach.
Could you please advise? Thank you very much in advance.
in the "Getting started" section there's an error, there's a code box that is supposed to show some code but instead shows "Loading..." which kinda breaks the tutorial.
Just for reference or in case anyone has an opinion on this:
omnetpp simulations might have issues with disabled memory overcommitment (
vm.overcommit_memory = 2 on Linux) and are likely to allocate far more virtual memory than they actually use.
I don't have the time right now to investigate whether actually my own simulation code is the culprit here, or whether it's the omnet framework code, but thought to leave it here in case folks have ideas or comments on that.
At least quite often the SQlitefilewriter from onetpp is the thing throwing a
recordAsonly takes numerical values though.