I’m going through the XBee Cat-M connection status example on github (https://github.com/digidotcom/xbee-micropython/tree/master/samples/cellular/connection_status) and noticed the modem will initialize and register to the network twice.
Is this a race condition, a timeout, or can someone explain what is going on under the hood and why it goes through this process twice?
- AI Changed!
- New AI: 0xFF (MODEM_INITIALIZING)
- AI Changed!
- New AI: 0x22 (REGISTERING_TO_NETWORK)
- AI Changed!
- New AI: 0xFF (MODEM_INITIALIZING)
- AI Changed!
- New AI: 0x22 (REGISTERING_TO_NETWORK)
- AI Changed!
- New AI: 0x23 (CONNECTING_TO_INTERNET)
- AI Changed!
- New AI: 0x00 (CONNECTED)
Much Appreciated.