This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

About CC2541 to get central device RSSI value (BLE 1.4.0 stack)

Other Parts Discussed in Thread: CC2541

Hi,

In my current project HIDEmuKbd (using CC2541), I need to get central device RSSI value.

If using BLE 1.4.0 stack, I can read an RSSI value with a callback, but the RSSI value is not immediately (after pairing), the central device need to send some data (and it must be a central device).

If central device does not data packet transmission, the RSSI value will not change.

However, the use of old BLE 1.3.2 stack, without this situation.

How can i fix it ? in the BLE 1.4.0 version firmware.

Firmware like below:

uint16 rssi_read_rate = 500;

GAPRole_SetParameter( GAPROLE_RSSI_READ_RATE, sizeof( uint16 ), &rssi_read_rate );

static gapRolesCBs_t PeripheralCBs =
{
     peripheralStateNotificationCB,           
     peripheralRSSINotificationCB,
};

static void peripheralRSSINotificationCB( int8 newRSSI ) {

   // Get RSSI value

}