[riot-notifications] [RIOT-OS/RIOT] ieee802154: add helpers for RSSI and dBm conversion (#15629)
notifications at github.com
Wed Jan 13 08:52:09 CET 2021
> well... the original nrf802154 driver (`nrf802154.c`) has a different implementation of RSSI that's not compliant with the datasheet:
> /* Calculate RSSI by subtracting the offset from the datasheet.
> * Intentionally using a different calculation than the one from
> * figure 122 of the v1.1 product specification. This appears to
> * match real world performance better */
> radio_info->rssi = (int16_t)hwlqi + ED_RSSIOFFS;
> The datasheet says:
> PRF[dBm] = ED_RSSIOFFS + ED_RSSISCALE x VALHARDWARE
> I really think we should use the one from the datasheet
But isn't it weird that in @benpicco test results we get rssi's of `40dbm` and then `-52dbm`, that seems weird.
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