Does setting length of WSM via setWsmLength
or adding a large payload via setWsmData
makes any difference during simulation? I am trying to simulate a heavily used network, but changing any of those two values doesn't seem to make any difference. I found this, but wanted to confirm this. And If I wanted to change the size of the WSM do I have to implement it?
相关问题
- Is it possible to use RInside in omnet++/Veins pro
- How to create own header structure in OMNET++
- How to get Coordinates of each vehicle in VEINS?
- Omnet++ , veins , the number of neighbors nodes fo
- How to collect traffic data and macroscopic statis
相关文章
- Wave Service Advertisement (WSA) implementation
- Omnet++ : Ad Hoc Network
- How can I get a traffic light that exists in sumo
- How can I combine my customize module with Omnet++
- Using a subset of a SUMO scenario for OMNeT++ netw
- Transmission of vehicular status in Veins
- Calculating distance between cars nodes VEINS
- How to change configuration of network during simu
You can implement a packet for your application in a
.msg
file as follows:Then in your code you can use the built-in
setByteLength()
. Use cPacket subclass for your messages because:Related Q&A which shows the casting from
cMessage
tocPacket
.I know it is decades later, but maybe it can help some new vanets lovers like me.
In omnet++5.4.1 and Veins 4.7.1, in the function
defined in BaseWaveApplLayer.cc (veins/modules/application/ieee80211p), you can set the bit length with the
method and it changes the size of the wsm packet. By default, it has the length of the header
I have played with this and could obtain different packet sizes.
Hope this is useful.