omnet++

How to create own header structure in OMNET++

一笑奈何 提交于 2020-07-08 03:46:17
问题 I am using OMNET++ 5.5.1 with INET 4 framework. In INET MAC protocols, each protocol has a fixed header structure. For example in XMAcHeader.msg, the MAC header defined as below: class XMacHeaderBase extends FieldsChunk { MacAddress srcAddr; MacAddress destAddr; XMacTypes type; } I want to extend this header structure where the MAC header will contain an additional bit along with the source address, destination address and type. I have to set/reset that bit before transmitting the packet to

Replace RSU with a node based router in Veins

梦想的初衷 提交于 2020-04-17 22:56:04
问题 I want to replace RSU with a node based router. Any direction or procedure that how can i replace the RSU with a router to perform my test-bed. Thank you very much for your help, really I'm stuck here. Note: I'm doing the project referencing of which project I want to use node based rputer by using omnet++. 回答1: Veins_INET makes it possible to use Veins as a mobility model in INET. If your implementation of a wireless router is based on the network stack of INET, node mobility of moving

Replace RSU with a node based router in Veins

痞子三分冷 提交于 2020-04-17 22:53:42
问题 I want to replace RSU with a node based router. Any direction or procedure that how can i replace the RSU with a router to perform my test-bed. Thank you very much for your help, really I'm stuck here. Note: I'm doing the project referencing of which project I want to use node based rputer by using omnet++. 回答1: Veins_INET makes it possible to use Veins as a mobility model in INET. If your implementation of a wireless router is based on the network stack of INET, node mobility of moving

Separate data received from various senders in Veins/OMNET++

与世无争的帅哥 提交于 2020-03-03 17:01:15
问题 In my scenario, a receiving vehicle gets BSMs from multiple senders. I need the BSM data recorded separately according to their respective senders. Currently, I am achieving this using a custom logging system. However, since OMNET++ has a sophisticated logging system built-in, Is it possible to achieve what I need using OMNET's built-in tools? 回答1: OMNeT++ vectors log 2-tuples (TV: time+value) or 3-tuples (ETV: event+time+value) for each piece of data. You can use this additional information