[riot-notifications] [RIOT-OS/RIOT] nrf802154: Add rssi/lqi to received frames (#11133)
notifications at github.com
Tue Mar 12 13:42:51 CET 2019
First off, the PR does what it should.
I measured similar RSSI values like you did:
- -30 to -10 dbm when boards are close
- first seldom packet drops at -65 dbm
- rssi scales according to the sending power set on samr21 (tested with 0 and -9, receiving -20 and -29 dbm)
- rssi values are way bigger with the formula from the specs.
So I digged around nordics own 802.15.4 driver and found, they calculate the lqi with the formula from the datasheet. It seems like there really is a mistake in the datasheet.
The value of the lqi is supposed to be between 0 and 255 and obviously the rssi can't be bigger than sending power. So the formula states correct calculation of the LQI instead of the RSSI.
All in all, this PR is reasonable, works as expected and the code looks good.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications