I want to be able to report the RSSI from my REED
I have tried using otPlatRadioGetRssi to return "most recent RSSI measurement".
I am testing with only my OTBR RCP and one REED.
otPlatRadioGetRssi is returning values around between -81 - 85 which I think is too low considering the distance of approx 20 meters and 17dBm transmit level.
int8_t rssi;
rssi = otPlatRadioGetRssi(otrGetInstance());
otCliOutputFormat("RSSI: %d\r\n", rssi);
If I run "neighbor table" from ot-ctl, it reports a much more believable figure of -62
| Role | RLOC16 | Age | Avg RSSI | Last RSSI |R|D|N| Extended MAC |
+------+--------+-----+----------+-----------+-+-+-+------------------+
| R | 0xe000 | 10 | -62 | -63 |1|1|1| a26bb2c2f6248961 |
When I move the REED right next to to the RCP, "neighbor table" reports -26
| Role | RLOC16 | Age | Avg RSSI | Last RSSI |R|D|N| Extended MAC |
+------+--------+-----+----------+-----------+-+-+-+------------------+
| R | 0xe000 | 15 | -39 | -26 |1|1|1| a26bb2c2f6248961 |
but otPlatRadioGetRssi continues to report between -81 - 85
Can someone please advise what I might be doing wrong?