Recording messages received by each node

53 views
Skip to first unread message

Mohit Kumar

unread,
Mar 13, 2021, 12:00:51 PM3/13/21
to OMNeT++ Users
Hello,
I am simulating a VANET scenario where some accident is taking place with some nodes and they are sending messages to other nodes to inform about the event. I want to record all the messages received by each of the nodes. I need help with this.

I looked up for the same and I found some method in OMNeT++ simulation module. It says the following has to be added to omnetpp.ini file in order to do so:

eventlog-message-detail-pattern = *Frame:encapsulatedMsg,*Address 

It is not very clear to me from the documentation how it is working. Also, I want to store only the fields inside the packet received, which is itself another packet (sub-packet, if that makes sense). Please tell me how to do the same.

Thanks & Regards,
Mohit Kumar
Reply all
Reply to author
Forward
0 new messages