ZBOSS: wrong RSSI reported in zb_intrp_data_ind_t (integer overflow?)

Summary: The callback of zb_af_interpan_set_data_indication() seems to be reporting wrong RSSI levels (looks like an overflow) after upgrading from NCS v2.4.2 to NCS v2.5.2.
Prior to the NCS upgrade, I saw RSSI values of -50 in my test setup. Afterwards I see values in the area of -120 (in close proximity) and in the area of 115 (a little bit further away). This looks like an integer overflow to me, as the datatype is int8_t. The LQI values look fine.
Since ZBOSS doesn't seem to be changed between these versions, I guessed the issue might be in hal_nordic.
I tried to pin down when exactly the problem occurred by traversing back the hal_nordic commits, but before "a1a8a83 nrfx: Update to version 3.0.0" I cannot build the firmware anymore due to heavy API changes. Up until this version, the error is present.
We are using the network co-processor design. However, the host application is not changed and the issue can be reproduced by simply exchanging the firmware on the nRF52840.
Parents Reply Children
No Data
Related