XBee api at cmd response loss

Hi,

I have a situation that i loss some responses of at command in api mode. Every time, when XBee chip receives a packet from its peer (another XBee transceiver), it will send an at cmd (DB) to retrieve RSSI. All these work in API mode.

Both these two XBee transceivers will broadcast a packet every 3 seconds, and retrieve received packet’ RSSI.

It looks like every 6 to 7 packets, it will loss a response for DB at cmd, i.e., XBee does not give response back for sent DB cmd.

What could be the problem?

the baudrate i’m using between MCU and XBee is 38400. I also tried baudrate 9600, it’s same, the problem is still there.

I changed boradcast to unicast, the problem is gone (not 100% gone, sometimes, it still happens, but it’s much better than braodcast mode). It seems relate to broadcast.

What could be the root cause?

simcbr:
Hi,

I have a situation that i loss some responses of at command in api mode. Every time, when XBee chip receives a packet from its peer (another XBee transceiver), it will send an at cmd (DB) to retrieve RSSI.

In my code (series 1), in the API mode, every received frame includes, in the header, the RSSI. I don’t have to issue a command to get the RSSI.