Skip to content

Commit b800fbb

Browse files
committed
catM1: connect or die retrying
1 parent ab364ac commit b800fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CatM1ConnectionHandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ NetworkConnectionState CatM1ConnectionHandler::update_handleConnecting()
6767
if(!GSM.begin(_pin, _apn, _login, _pass, _rat, _band))
6868
{
6969
Debug.print(DBG_ERROR, F("The board was not able to register to the network..."));
70-
return NetworkConnectionState::ERROR;
70+
return NetworkConnectionState::DISCONNECTED;
7171
}
7272
Debug.print(DBG_INFO, F("Connected to Network"));
7373
return NetworkConnectionState::CONNECTED;

0 commit comments

Comments
 (0)