# API command for reading RSSI

**URL:** <https://forums.digi.com/t/api-command-for-reading-rssi/1066>\
**Category:** XBee - DigiMesh\
**Created:** [December 3, 2008, 5:37am UTC](https://forums.digi.com/t/api-command-for-reading-rssi/1066 "2008-12-03T05:37:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![keergeht](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@keergeht](https://forums.digi.com/u/keergeht)\
**Post date:** [December 3, 2008, 5:37am UTC](https://forums.digi.com/t/api-command-for-reading-rssi/1066/1 "2008-12-03T05:37:41Z")

</div>

Hey,  
I have to read the RSSI from the XBee connected through an RS232 micro controller to my PC. It works with the AT commands:  
+++ -\> OK  
ATDB -\> RSSI in dBm

But I don’t want to wait so long. I read in the manual that one can communicate with the XBee through API frame commands. But I can’t manage it to get the RSSI. If I read the serial port there is no data. But the XBee receives packets from an other module(indicated by the flashing LED)

Did anyone implement somthing like this before?

---

<div class="post-metadata">

**Author:** ![Admin1](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Admin1](https://forums.digi.com/u/Admin1)\
**Post date:** [December 3, 2008, 3:46pm UTC](https://forums.digi.com/t/api-command-for-reading-rssi/1066/2 "2008-12-03T15:46:56Z")

</div>

I’ve moved this topic to a more-proper forum, since Device/Terminal Servers are our “Connect” and “Portserver” productlines. Do you have 802.15.4 or ZNet 2.5 XBee modules?

---

<div class="post-metadata">

**Author:** ![keergeht](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@keergeht](https://forums.digi.com/u/keergeht)\
**Post date:** [December 4, 2008, 5:12pm UTC](https://forums.digi.com/t/api-command-for-reading-rssi/1066/3 "2008-12-04T17:12:45Z")

</div>

I have XBee DigiMesh 2.4 and XBee PRO DigiMesh 2.4 modules.  
They came with the XBee DigiMesh 2.4 Development Kit

---

<div class="post-metadata">

**Author:** ![wa6smn](https://avatars.discourse-cdn.com/v4/letter/w/e9a140/32.png) [@wa6smn](https://forums.digi.com/u/wa6smn)\
**Post date:** [January 21, 2009, 7:10am UTC](https://forums.digi.com/t/api-command-for-reading-rssi/1066/4 "2009-01-21T07:10:14Z")

</div>

The DigiMesh 2.4 documentation cites ATRC with a channel parameter to read RSSI. It returns ERROR in AT mode and bad parameter in API mode. The ATDB isn’t documented as a DigiMesh 2.4 command, but does appear in 9Xtend docs. I get a return of 00 from ATDB on firmware 8003.

---

<div class="post-metadata">

**Author:** ![Truls](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@Truls](https://forums.digi.com/u/Truls)\
**Post date:** [March 16, 2009, 7:44am UTC](https://forums.digi.com/t/api-command-for-reading-rssi/1066/5 "2009-03-16T07:44:37Z")

</div>

I have contacted the support team for an answer about the ATDB command in API mode. And the response i got is that there is an bug in firmware version 8003 and there will be an new firmware relase in a few weeks where this problem is corrected.  
then ATDB command will work in API modes 1/2

enjoy!  
Truls Are
