Arduino + XBee - RSSI Problem

Hi again. I am using an XBee Pro Series 2 radio with an Arduino UNO connected via an ArduinoXBeeShield. My problem is the following:

Since with series 2 ZigBee frames don't contain the RSSI, I would have to figure it out using the ATDB command. However, when I try to use it on my sketch, the sketch just crashes. I use the same function to send other commands (such as SH and SL) and that does work, so I am guessing it has something to do with the DB command itself.

Does anyone know what I am doing wrong?

Thank you.

Does anyone know what I am doing wrong?

Without seeing your code, no. I am curious, though, what you expect to do with the RSSI value. It is not at all a good measure of distance.