静脉中的单播通信 [英] Unicast Communication in Veins

查看:56
本文介绍了静脉中的单播通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Veins 是否支持 802.11p 单播通信?

Does Veins support 802.11p unicast communication?

我查看了 Veins 框架中Mac1609_4"类的源代码.参考以下代码片段:

I checked the source code of the class "Mac1609_4" in Veins framework. Referring to the following snippet of the code:

WaveShortMessage*  wsm =  dynamic_cast<WaveShortMessage*>(macPkt-> decapsulate());

long dest = macPkt->getDestAddr();

DBG_MAC << "Received frame name= " << macPkt->getName()
        << ", myState=" << " src=" << macPkt->getSrcAddr()
        << " dst=" << macPkt->getDestAddr() << " myAddr="
        << myMacAddress << std::endl;

if (macPkt->getDestAddr() == myMacAddress) {
    DBG_MAC << "Received a data packet addressed to me." << std::endl;
    statsReceivedPackets++;
    sendUp(wsm);
}

似乎实现的 MAC 层可以接收单播数据包,但我找不到任何方法来发送单播通信所需的 MAC 层确认.请问有什么建议吗?

It seems that the implemented MAC layer can receive unicast packet but I couldn't find any method for sending MAC layer acknowledgements that are required in unicast communication. Any suggestions please?

还有 Christoph Sommer 等人的出版物.在 802.11p 中,单播通信被认为是有害的.是不是因为论文中提到的原因,Veins 框架不支持单播通信?

There is also a publication by Christoph Sommer et al. that unicast communication is considered harmful in 802.11p. Is it true that because of the reasons mentioned in the paper, Veins framework doesn't support unicast communication?

推荐答案

Veins 框架不支持单播传输.在出版物 here 的第 IIIC 节中,据报道,MAC 层的Veins 被扩展为支持单播传输,这意味着正式版本不包含此功能.

Veins framework does not support unicast transmissions. In Section IIIC of the publication here it has been reported that MAC layer of Veins was extended to support unicast transmissions, this means the official release does not include this functionality.

该论文发表于 2015 年,而最新版本的 Veins 4.3 于上个月发布.由于最新版本的更新日志"中没有提到单播传输,这意味着仍然不支持单播传输.

The paper was published in 2015 while the latest release of Veins 4.3 came last month. Since there is nothing mentioned about unicast transmissions in the "Changelog" of the latest release, it implies that unicast transmissions are still not supported.

这篇关于静脉中的单播通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆