Dear all NS2 user,
I'm little bit confused about this code :
mode = UanTxModeFactory::CreateMode (UanTxMode::FSK, exp.m_dataRate,
exp.m_dataRate, 12000,
exp.m_dataRate, 2,
"Default mode");
It's from uan-cw-example.cc.
At doxygen documentation :
Parameters
type : Modulation type.
dataRateBps : Data rate in BPS.
phyRateSps : Symbol rate in symbols per second.
cfHz : Center frequency in Hz.
bwHz : Bandwidth in Hz.
constSize : Modulation constellation size (2 for BPSK, 4 for QPSK).
name : Unique string name for this transmission mode.
What is the BPS mean? is it Byte per second or bit per second? If BPS = Byte per second. Why phyRateSps is set with same value with dataRateBps?
If we use binary FSK and exp.m_dataRateBps=80, the phyRateSps is supposed to be 80*8=640 symbols/sec right? Or I misunderstood something?
Thanks in advance.