How can I obtain the received signal strength value of a message in ns2? I am using the AODV protocol. If anybody knows this, please provide me the code.
I am working on an energy aware routing protocol for wireless sensor networks. In my work, I need the RSSI value of receiving message for initializing some values. Since I am using ns2 for simulating my protocol, I need simulated RSSI value. Do you know how to find it in ns2 cc files?
RSSI is the receiving power and you can recorded from receiving function in the file mac802_11.cc. You can read it from any where in the upper layer the command is