File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,8 @@ static void connectionStatus(char *buffer) {
6161
6262 is_connected = true ;
6363
64- // Guard for the first time the LTE modem is connected and we check the
65- // time synchronization. We don't want to fire the callback to the user
66- // before we have made sure that the time is synchronized
67- if (!got_ntp_sync) {
68- return ;
69- }
70-
7164 LedCtrl.on (Led::CELL, true );
65+
7266 } else {
7367
7468 if (is_connected) {
@@ -281,7 +275,9 @@ String LteClass::getOperator(void) {
281275
282276 SequansController.clearReceiveBuffer ();
283277 SequansController.retryCommand (AT_COMMAND_QUERY_OPERATOR_SET_FORMAT);
284- SequansController.retryCommand (AT_COMMAND_QUERY_OPERATOR);
278+
279+ SequansController.clearReceiveBuffer ();
280+ SequansController.writeCommand (AT_COMMAND_QUERY_OPERATOR);
285281
286282 ResponseResult response_result =
287283 SequansController.readResponse (response, sizeof (response));
You can’t perform that action at this time.
0 commit comments