Zitat von Elly Soo <[email protected]>:

>
> Hi,
>
> Can somebody guide me on how to obtain signal strength from a neighbor node
> in C++?
>
> Also, please teach me the way to get the RSSI value in C++.
>
> Many thanks to all of you!
>
>

You need the receiving power of the packetstamp of your received packet

recv(Packet* p, Handler* h)
{
...
p->txinfo_.RxPr
...
}

Then you have to convert this value to a RSSI.
But keep in mind, the RSSI is only a non-consistent value. It is a  
definition, e.g. at Atmel's AT86RF230 there are only RSSI values from  
0..28 for a range 84dBm by steps of 3dBm

.

Reply via email to