RSSI value for XBee PRO S2

Hi guys! Is there any arduino codes to get RSSI value for Xbee PRO S2 in API mode? If no, then is it need to use any formula to get the RSSI value?

After a 5 sec google search...

link