there are many ways to do this.
one way to do this is to just add a field to the WaveShortMessage
"double RSSI" and then set this field in the decider/Phy when the RSSI
is calculated. (you probably have to decapsulate the macpacket and cast
it to WaveShortMessage to do that)
In the Applayer simply cast the cMessage back to WaveShortMessage and
you can access your RSSI field then.
Note, that you can add as many auxiliary fields to the WaveShortMessage
as you wish, it does not change the network behavior, as packet size is
set separately and independent from the actual fields of the message
-david
> --
> 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
> <mailto:
omnetpp+u...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/omnetpp.
> For more options, visit
https://groups.google.com/d/optout.
--
Dr. David Eckhoff
Computer Networks and Communication Systems
University of Erlangen, Germany
http://www7.cs.fau.de/en/people/eckhoff/