据我所知,信噪比是信噪比或噪声和信号强度的差异,所以我想要的是移动节点从接入点检测到的信号的信噪比值,因此噪声将如何计算或估计出信噪比?
当我探索INET的源代码时,我发现了getSNR()和setSNR(),但是我不知道它们在OMNeT++中是如何工作的?
发布于 2015-09-02 09:26:51
通常,SNR的计算发生在较低层,并且与应用程序中使用的传播模型密切相关。
这个答案可能会有帮助:https://stackoverflow.com/a/31728592/4786271
getSNR()和setSNR()听起来像函数,用于将信息放入OMNeT++数据包。
我建议你看看Radio.h和Radio.cc。以下功能可能是有用的:
/** @brief Buffer the frame and update noise levels and snr information */
virtual void handleLowerMsgStart(AirFrame *airframe);
/** @brief Unbuffer the frame and update noise levels and snr information */
virtual void handleLowerMsgEnd(AirFrame *airframe);
/** Sends a message to the upper layer */
virtual void sendUp(AirFrame *airframe);https://stackoverflow.com/questions/32339197
复制相似问题