Skip to content

Fix SIM not present bug #20

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

Merged
merged 1 commit into from
Jan 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Arduino_GSMConnectionHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ void GSMConnectionHandler::init() {
changeConnectionState(NetworkConnectionState::CONNECTING);
} else {
Debug.print(DBG_ERROR, "SIM not present or wrong PIN");
while (1);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Arduino_GSMConnectionHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class GSMConnectionHandler : public TcpIpConnectionHandler {
const int CHECK_INTERVAL_INIT = 100;
const int CHECK_INTERVAL_CONNECTING = 500;
const int CHECK_INTERVAL_CONNECTED = 10000;
const int CHECK_INTERVAL_RETRYING = 5000;
const int CHECK_INTERVAL_RETRYING = 30000;
const int CHECK_INTERVAL_DISCONNECTED = 1000;
const int CHECK_INTERVAL_ERROR = 500;

Expand Down
2 changes: 1 addition & 1 deletion src/Arduino_LoRaConnectionHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class LoRaConnectionHandler : public LPWANConnectionHandler {
const int CHECK_INTERVAL_INIT = 100;
const int CHECK_INTERVAL_CONNECTING = 500;
const int CHECK_INTERVAL_CONNECTED = 10000;
const int CHECK_INTERVAL_RETRYING = 5000;
const int CHECK_INTERVAL_RETRYING = 30000;
const int CHECK_INTERVAL_DISCONNECTING = 500;
const int CHECK_INTERVAL_DISCONNECTED = 1000;
const int CHECK_INTERVAL_ERROR = 500;
Expand Down
1 change: 0 additions & 1 deletion src/Arduino_NBConnectionHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ void NBConnectionHandler::init() {
changeConnectionState(NetworkConnectionState::CONNECTING);
} else {
Debug.print(DBG_ERROR, "SIM not present or wrong PIN");
while (1);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Arduino_NBConnectionHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class NBConnectionHandler : public TcpIpConnectionHandler {
const int CHECK_INTERVAL_INIT = 100;
const int CHECK_INTERVAL_CONNECTING = 500;
const int CHECK_INTERVAL_CONNECTED = 10000;
const int CHECK_INTERVAL_RETRYING = 5000;
const int CHECK_INTERVAL_RETRYING = 30000;
const int CHECK_INTERVAL_DISCONNECTED = 1000;
const int CHECK_INTERVAL_ERROR = 500;

Expand Down