Regarding RSSI reading

I would like to get RSSI value from the incoming packet since I should avoid sending DB command to XBees for that purpose. I found it’s possible with Series 1. I tried to change Arduino-XBee library and wrote a function to get RSSI as follows:

uint8_t ZBRxResponse::getRSSI(){
return (getFrameData() [6]);
}

But it results in 248. I’m not sure whether I’m doing right or wrong. Would you mind to please point out for this matter. I highly appreciate your kind help.

nyeinayemm,

I have not worked with Arduino Library, but what does exactly your function?

To read the RSSI of the last received message, you have to read DB parameter.