Hi,
I am trying to read RSSI value on the keyfob of CC2541 mini-dk which is connected by my iOS app. RSSI reading works, but the value returned seems inaccurate (lag behind) to me. Can anyone shed some light on this problem?
Here is the related code:
in void KeyFobApp_Init( uint8 task_id )
uint16 rssi_read_rate = 1000;
GAPRole_SetParameter( GAPROLE_RSSI_READ_RATE, sizeof( uint16 ), &rssi_read_rate );
callback function:
static void peripheralRSSINotificationCB( int8 newRSSI ) {
// notify iOS app new RSSI
}
Thanks,
John