I am using an nRF52840 and communicating with an ESB.
Packets are sent one-way from tx to rx every 1 ms.
What is the conversion of RSSI to dBm?
In the data sheet, as 'Figure 124: Conversion between hardware value and dBm'.
'PRF[dBm] = ED_RSSIOFFS + ED_RSSISCALE x VALHARDWARE'.
For ESB, the payload structure is defined in nrf_esb_payload_t and one of the elements is rssi.
Therefore, the rssi can be read from the payload for each packet received, but does the value at this time refer to VALHARDWARE in the above formula?
Note that ED_RSSIOFFS and RSSISCALE are listed in the datasheet as -92 and 4 respectively, and we intend to use these values here.