Home/Support/Support Forum/API Frame Modem Status -- Is it Possible to Request?

API Frame Modem Status -- Is it Possible to Request?

0 votes
Hello:

I have been successfully using the XBEE3 LTe module to connection to my backend infrastructure. the XBEE3 will asynchronously send me an API from 0x8A with a modem status as the connection state changes. I use this to determining when the device is registered with the cellular tower and has a good IP connection before I start my other processes.

Is possible to send an API frame to request status? I would like to poll once a second as sometimes I miss the frame when I am debugging/break pointing my host CPU.
asked Apr 19 in XBee3 Cellular by ehughes New to the Community (3 points)

Please log in or register to answer this question.

2 Answers

0 votes
Instead of waiting for the 0x8A modem status frame with a status code of 0x02 (associated) to be generated, you could instead use the AT Command API frame (0x08) to query ATAI periodically and wait for that to return 0x00. The 0x8A modem status frame with a value of 2 directly corresponds to ATAI reading as 0.
answered Apr 20 by tckr Seasoned Professional (227 points)
0 votes
Thanks. I missed that AT command in the manual I verified that it works!
answered Apr 22 by ehughes New to the Community (3 points)
...