Groups
Sign in
Groups
ns-3-users
Conversations
Labels
About
Send feedback
Help
how to get RSS (Received Signal Strength) ???
238 views
rss
trace
Skip to first unread message
MacLovin
unread,
Apr 8, 2014, 11:04:42 AM
4/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com
hello,
i have wifi AdHoc topology with 2 nodes and i wanna get the RSS (Received Signal Strength) value for the Wireless Ad Hoc network node !
Do you have any idea of a small example of code?
Thanks
Konstantinos
unread,
Apr 8, 2014, 12:16:31 PM
4/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com
You can use the promiscuous trace source from the YansWifiPhy and log the value
MonitorSnifferRx
: Trace source simulating a wifi device in monitor mode sniffing all received frames
http://www.nsnam.org/doxygen/classns3_1_1_wifi_phy.html#a1d9675772e6dc29f2031b99e08682f12
489
WifiPhy::NotifyMonitorSniffRx
(
Ptr<const Packet>
packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate,
bool
isShortPreamble,
double
signalDbm,
double
noiseDbm)
490
{
491
m_phyMonitorSniffRxTrace
(packet, channelFreqMhz, channelNumber, rate, isShortPreamble, signalDbm, noiseDbm);
492
}
493
Examples for using trace sources are throughout the ns-3 code and also in the documentation
Reply all
Reply to author
Forward
0 new messages