Search code examples
sqliteomnet++veins

Saving veins data in a SQLite database


Good morning everybody. I'm using Veins 4.4 and Omnet++ v4.6.

Is it possible to save data collected through a Veins simulation (i.e. WaveShortMessage fields) in my SQLite DB?

thanks in advance BR


Solution

  • SQLite support for OMNeT++ 5.1 is a work in progress. There will be a preview release before the holidays so if you can port your code OMNeT++ 5.1 (PRE2) you will be able to configure an SQLite vector manager (instead of the current text based one) which will write out the vector data to a SQLite database. A preliminary version was presented at the 2016 OMNeT++ Summit: https://summit.omnetpp.org/archive/2016/assets/pdf/OMNET-2016-Session_3-03-Presentation.pdf