Omnet++ 钢索闸门类型
我们知道,AdhocHost是从WirelessHost扩展而来的,WirelessHost有三种门类型:Omnet++ 钢索闸门类型,omnet++,Omnet++,我们知道,AdhocHost是从WirelessHost扩展而来的,WirelessHost有三种门类型: Name | Direction | Size -------------------------------------------------------- radioIn [ ] | input | numWlanInterfaces pppg [ ] | inout | numPppInt
Name | Direction | Size
--------------------------------------------------------
radioIn [ ] | input | numWlanInterfaces
pppg [ ] | inout | numPppInterfaces
ethg [ ] | inout | numEthInterfaces
奇怪的是,Radion门的方向是输入类型,而不是inout,或者Inet开发人员应该有一个RadioOut门来发送无线电信号。
当一个节点想要发送数据时,该节点如何通过无线电接口发送数据?
发送数据时,通过WirelessHost组件传递数据包的过程是什么?
此外,在接收数据时,通过WirelessHost组件传递数据包的过程是什么?
提前谢谢
sendDirect()
进行建模。该方法不需要发送方和接收方之间的输出门或通道。接收器必须只有一个输入门