Encoding of RSSI value

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

From my CY5677 with CySmart firmware i got reported rssi values as one byte.

   

I receive values from 0 to 255. How to interpret this? In the firmware code (BLE_StackGap.h) it says:

   

/** Rssi of the responding device.
* Range: -85 <= N <= 0
* Units: dBm */
int8 rssi;
 

0 Likes
3 Replies
Anonymous
Not applicable

Hi,

   

The RSSI Values have some issues in the current stack and need to be fixed.

   

We will launch our new stack soon.

   

Regards,

   

- Madhu Sudhan

0 Likes
Anonymous
Not applicable

Please send more information on stack version number and how I could fix it by myself: Link to sourcecode/compile/programm instructions.... Thanks.

0 Likes
Anonymous
Not applicable

Just testing my own understanding, but is this RSSI value not usually 2's complement which you receive as a HEX value (0 to 255). You subtract 256 from this value to get the negative dBm result.

   

What is the update on the new firmware stack.

0 Likes