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.

Compiler/CC2530: Extract RSSI

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

Tool/software: TI C/C++ Compiler

I am studying zigbee with (Z-Stack Home 1.2.2a.44539)

1.I want to adjust code using RSSI value.

So. in the event loop,

if ( events & SYS_EVENT_MSG )
{
while ( (MSGpkt = (afIncomingMSGPacket_t *)osal_msg_receive( zclSampleThermostat_TaskID )) )
{
dd_rssi = MSGpkt->rssi;

But, rssi values are always 8 without distance.

How can I call real rssi value?

2. I can see average RSSI values Using Smart RF studio.

I think the value save 0x6198 in mcu register.

Can I call this value in IAR Embeded Workbench?

example) ave_rssi = 0x6198register

thanks