2
靜脈是否支持802.11p單播通信?靜脈中的單播通信
我在Veins框架中檢查了類「Mac1609_4」的源代碼。參考代碼的下面的代碼片斷:
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層確認的任何方法。有什麼建議嗎?
Christoph Sommer等人也有publication。單播通信在802.11p中被認爲是有害的。是否真的由於文中提到的原因,Veins框架不支持單播通信?