riebl / artery

OMNeT++ V2X simulation framework for ETSI ITS-G5
GNU General Public License v2.0
203 stars 129 forks source link

Wiresahark pcap files and artery extern sources usage #254

Closed ansb5 closed 2 years ago

ansb5 commented 2 years ago

Hello.

I am trying to capture packets (creating pcap files) in the artery project to analyze the traffic in wireshark using the example PcapRecorder from inet. I am using Visual Studio Code IDE (because with OMNET++ I had problems to run artery).

Artery uses Cmake to declare the sources, and the thing is that in order to capture packets I need the code that is located in extern/inet... because in artery/src/inet/... there are not all the codes that I need.

So, is there any way to call the codes from extern/inet/src/... or is it necessary to copy the codes to the sources directory of artery and then declare them in the Cmake of that sources by hand.

I don't know if there is any other easier way to capture packets.

Thanks in advance.

riebl commented 2 years ago

For the record: There is no need to copy any source files from extern/inet/src because those are compiled by Artery's CMake build configuration.