Home/Support/Support Forum/Reading RSSI values in MicroPython on Xbee 3

Reading RSSI values in MicroPython on Xbee 3

0 votes
I am currently trying to save the rssi value between two Xbee 3s at a certain instance using the xbee.discover() function. My issue is that this returns an iterator yielding a dictionary for each discovered node that I do not know how to take a single key/value from.

Is there something to change with my code to handle the iterator or is there a better way to read rssi values in micropython.
asked Nov 13, 2019 in MicroPython by rossmow100 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
The XBee.discovery is running the ND command on the radio. If you simply want to read the RSSI level after a packet is received, try using the xbee.atcmd function to query the DB command.

answered Nov 13, 2019 by mvut Veteran of the Digi Community (15,111 points)