如何从RSU(Omnet ++ VEINS)发送消息?

问题描述 投票:0回答:1

我正在尝试实现从汽车收到消息后将RSU消息转发到相邻RSU的功能。

查看RSU节点时,只有一个veinsradioIn门可以转发到NIC radioIn门。在RSU应用程序类型实现方面(DemoBaseApplLayer),我看到handleLowerMsg函数将在消息选项类型(bsm,wsa,wsm)之间强制转换消息。我看不到发送消息的内容。另外,我在RSU模块中看不到veinsradioOut门。

我如何从RSU发送消息?更进一步,我如何区分从RSU发送的消息与节点(汽车)相比?

simulation omnet++ veins transport vehicle-routing
1个回答
0
投票

DemoBaseApplLayer扩展了另一个类。在该类中,有一些声音可以延迟发送并延迟发送。

© www.soinside.com 2019 - 2024. All rights reserved.