I need to get the RSSI of received packets. For a network with few devices, where all of them transmit once in a while I could use AT command 'DB' (page 146 of https://www.digi.com/resources/documentation/digidocs/PDFs/90002273.pdf) to show the RSSI of the latest packet received. But when the network has more devices and they could be transmitting at the same time, I think that I can't use that 'DB' command. Also "The XBee device has a MicroPython receive queue that stores up to four incoming packets" (Receive(), page 123 of https://www.digi.com/resources/documentation/digidocs/PDFs/90002219.pdf).
I'm using something like this:
....packet_recvd = xbee.receive()
....if packet_recvd is not None:
........rssi = xbee.atcmd("DB")
1.- In the code above, can I be sure that rssi has the RSSI of the packet received in packet_recvd during high XBee3 communication traffic?
2.- Is 'DB' updated as soon as a packet arrive at the device?
3.- Or, is 'DB' updated as soon as I use XBee.receive()?