Skip to content

Commit 218feb2

Browse files
committed
Remove CREG call, which is now obsolete
1 parent b444c76 commit 218feb2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lte.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
#define AT_COMMAND_CONNECT "AT+CFUN=1"
1010
#define AT_COMMAND_DISCONNECT "AT+CFUN=0"
1111
#define AT_COMMAND_CONNECTION_STATUS "AT+CEREG?"
12-
#define AT_COMMAND_DISABLE_CEREG_URC "AT+CEREG=0"
1312
#define AT_COMMAND_ENABLE_CEREG_URC "AT+CEREG=5"
14-
#define AT_COMMAND_DISABLE_CREG_URC "AT+CREG=0"
1513

1614
#define CEREG_CALLBACK "CEREG"
1715

@@ -82,7 +80,6 @@ void LteClass::begin(void) {
8280

8381
// This might fail the first times after initializing the sequans
8482
// controller, so we just retry until they succeed
85-
SequansController.retryCommand(AT_COMMAND_DISABLE_CREG_URC);
8683
SequansController.retryCommand(AT_COMMAND_ENABLE_CEREG_URC);
8784
SequansController.retryCommand(AT_COMMAND_CONNECT);
8885

0 commit comments

Comments
 (0)