I believe the error is related to the new subclass I created, the "sensorReport" class, defined in the "message.msg" file. I read some people had the same problem but their solutions did not work for me =/
All files of the network are attached.
void dbSyncSensor::handleMessage(cMessage *msg)
instead of:
void dbSyncSensor::handleMessage(sensorReport *msg)Then you can check_and_cast<sensorReport *>(msg) to do the casting from cMessage to sensorReport.
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.