-
Notifications
You must be signed in to change notification settings - Fork 36
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIM not present or wrong PIN routine stuck #9
Comments
Hello, similar situation right after transmission SIM card is not present. After board reset communication continues...is it this infinity loop correct way to handle the situation ?
|
I took out the PIN to eliminate other possibility but same behavior, time to time I am getting The workaround I have implemented is watchdog so everytime processor is stuck in the routine Arduino gets restarted which usually helps after 1st or 2nd restart... Any comment on that, does anybody have same issue ? |
Adding more data on AT command level, anybody knows why there is time to time SIM not present ? AT Command level on error
After restart and connected OK
|
After several tests I am assuming there is a potential issue when changing baud rate... There are 2 fixes:
|
Just to update, I am running on baud rate 921600 (original one) and 200ms as mentioned on point 2 and no issue for several days... |
Got the same error on a different test performed, but I believe I end up in the same routine as @salvq (https://github.com/arduino-libraries/Arduino_ConnectionHandler/blob/master/src/Arduino_GSMConnectionHandler.cpp#L66-L67). My test consists in 'removing' the external antenna, having the board disconnecting from the network, then re-attaching it again and see if it reconnects. It doesn't exit from that status until a reset. |
I tried and working just fine, no more stuck in SIM not present or wrong PIN routine |
I am using Connection Handler to get connected to GSM network via MKR GSM 1400. From time to time when I restart or reupload the sketch and I am getting error "SIM not present or wrong PIN" attaching screenshot.
When I restart the unit (reset button) or re-upload the sketch connection is successful. Looks to me that function just finish and never continue "void GSMConnectionHandler::init()" Arduino_GSMConnectionHandler.cpp
Thanks a lot
The text was updated successfully, but these errors were encountered: