Remember
Register
Home
/
Support
/
Support Forum
/
Cellular Connection Process
Digi Forum
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.
All categories
Digi Remote Manager
(387)
Python
(1,017)
3rd Party Python and API development in other Languages
(265)
RF Solutions and XBee
(8,439)
Digi TransPort
(789)
Digi Connect Cellular
(448)
DAL
(5)
Embedded Devices
(4,171)
Google Coral
(2)
Rabbit
(3,199)
Console Servers
(354)
Modbus and Industrial Automation
(246)
Realport
(603)
Serial Servers
(837)
Satellite Modules
(25)
USB
(1,273)
Serial Cards
(715)
ConnectPort Display
(58)
Feedback/Wish List
(93)
Other/Legacy
(377)
Cellular Connection Process
0
votes
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.
xbee-cellular
micropython
sample-code
asked
Jun 29, 2020
in
Python
by
soterboat
New to the Community
(
15
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
+1
vote
Best answer
Soter,
Yes, it is simply that the first channel you selected that there was a tower on, did not allow the connection to occur. It could simply be that it was not a CAT M/NBiOT tower or that it did not support your carrier.
answered
Jun 29, 2020
by
mvut
Veteran of the Digi Community
(
15,225
points)
selected
Jun 30, 2020
by
soterboat
Ah that makes sense, so a follow up question. If it iterates through channels and hangs on REGISTERING_TO_NETWORK does this mean there are no supported towers in range? Thank you for your help mvut.
Yes, I would suspect that would be the case. Either that or wrong APN depending on what the last I value was before it started over.
Please
log in
or
register
to add a comment.
...