You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OMNeT++ Users
I have implemented a new type of message
class HelloMsg extends FieldsChunk { chunkLength = HEADER_LENGTH; int s = 0; string name; }
Then I get this error when sending it:
" Implicit data reinterpretation via chunk serialization/deserialization (inet::ieee80211::Ieee80211DataHeader -> inet::HelloMsg) is disabled to prevent unexpected behavior due to reinterpretation and unpredictable performance degradation due to overhead (you may consider changing the Chunk::enableImplicitChunkSerialization flag or passing the PF_ALLOW_SERIALIZATION flag"
So I set the flag: header->enableImplicitChunkSerialization = true;
But then I get another one: Cannot find serializer for inet::HelloMsg
So I guess I need a serializer/deserializer. I write both, but the deserializer is not able to extract the data properly (if I print it, it shows 2048 for an int, e.g.) . Can someone tell me what I'm doing wrong?