omnet++ - 如何通过 Omnet++ 模拟多接口无线节点和改变信道
问题描述
如何在 IEEE802.11b/g 的 Omnet++ 中模拟具有以下条件的 adhoc 网络?(需要 omnetpp.ini 和 NED 文件)
1-Two wireless nodes (e.g. n1 and n2) having two interfaces with each other(e.g i1 and i2)
2-n1.i1 makes a link to communicate with n2.i1 and also n1.i2 makes a link with n2.i2, n1.i1 means interface i1 of node n1
3-channel 1 are allocated to link n1.i1 and n2.i1 in all simulation runtime
4-channel 2 are allocated to link n1.i2 and n2.i2 in the first second of simulation runtime, then channel 3 in the 2nd second, and so on until 10nd seconds, then repeat this circle.
提前致谢
解决方案
examples\adhoc\ieee80211
在 INET 中查看。它包含用于在 ad-hoc 模式下测试 IEEE 802.11 的简单网络。
推荐阅读
- python - 如何在使用 matplotlib 绘图时在 x 轴上绘制均匀间隔的值
- c# - 是否可以使用 ASP.NET 从相应的 .cs 文件中定位 .aspx 文件中的 html 元素?
- javascript - 我在 Windows 终端上执行 JavaScript 文件时遇到问题
- php - 如何在 MySQL 查询中包含 PHP 变量
- docker - 如何从 BitBucket Pipeline 启动声纳扫描仪 docker 映像?
- php - 如何在 CI 中检查数据库中的匹配结果?
- opencv - 为什么 cv_bridge 在 ROS Melodic 中使用 OpenCV 3.2?
- arrays - 过滤/跳过缺失的 API 数组结果在 React (Hooks) 中不起作用
- c# - 即使有限制,我的播放器仍然会旋转
- keras - 如何获得在keras中没有的batch_size的真实形状