What kind of delay? There are many different latencies, so you might
wish to specify which. If you want time from packet generation to end of
transmission, just stop the time in the MAC Layer from handleUpperMsg
until the PHY notifies the MAC that the packet is transmitted. If you
want delay from sender to receiver, simply transfer any desired
generation time along with the message (as a field in the message for
example) and read it on the application layer of the receiving car.
- david
On 24/4/2018 6:03 PM,
legj...@gmail.com wrote:
> Hello everyone,
>
> I have been having trouble on calculating Delay for 802.11p on Veins
> when i am doing communication between vehicles.
>
> Basically, i am not sure where delay should be calculated on the Veins
> framework. I have found some code for calculation of the Propagation
> Delay in ChannelAccess.cc but I am not sure if this is what i need.
>
> Have checked previous question like this one
> If someone can clarify where in the framework i would need to calculate
> the delay for 802.11p would be really helpful.
>
> Thanks!
>
> --
> 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.