Skip to content

Commit ea5d8cf

Browse files
author
Chris Trowbridge
committed
Remove unnecessary init AT commands
1 parent 9a1309f commit ea5d8cf

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,6 @@ nsapi_error_t TELIT_ME910::init()
115115
_at->cmd_start("AT#PSNT=1");
116116
_at->cmd_stop_read_resp();
117117

118-
// AT+CGEREP=2
119-
// Set command enables sending of unsolicited result codes in case of certain events
120-
// occurring in the module or in the network.
121-
// Current setting: buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g.
122-
// in on-line data mode) and flush them to the TE when TA-TE link becomes
123-
// available; otherwise forward them directly to the TE.
124-
_at->cmd_start("AT+CGEREP=2");
125-
_at->cmd_stop_read_resp();
126-
127118
// AT+CMER=2
128119
// Set command enables sending of unsolicited result codes from TA to TE in the case of
129120
// indicator state changes.
@@ -133,41 +124,6 @@ nsapi_error_t TELIT_ME910::init()
133124
_at->cmd_start("AT+CMER=2");
134125
_at->cmd_stop_read_resp();
135126

136-
// AT+CREG=1
137-
// Set command enables the network registration unsolicited result code and selects one of
138-
// the two available formats:
139-
// short format: +CREG: <stat>
140-
// long format: +CREG: <stat>[,<lac>,<ci>[,<AcT>]]
141-
// Current setting: enable the network registration unsolicited result code, and selects the
142-
// short format
143-
_at->cmd_start("AT+CREG=1");
144-
_at->cmd_stop_read_resp();
145-
146-
// AT+CGREG=1
147-
// Set command enables/disables the +CGREG: unsolicited result code, and selects one of the
148-
// available formats:
149-
// short format:
150-
// +CGREG:<stat>
151-
// long format:
152-
// +CGREG:<stat>[,<lac>,<ci>[,<AcT>,<rac>]]
153-
// extra long format:
154-
// +CGREG:<stat>[,[<lac>],[<ci>],[<AcT>],[<rac>][,,[,[<ActiveTime>],[<PeriodicRAU>],[<GPRSREADYtimer>]]]]
155-
// Current setting: enable the network registration unsolicited result code, and selects the
156-
// short format
157-
_at->cmd_start("AT+CGREG=1");
158-
_at->cmd_stop_read_resp();
159-
160-
// AT+CEREG=1
161-
// Set command enables the EPS network registration unsolicited result code (URC) in LTE,
162-
// and selects one of the available formats:
163-
// short format: +CEREG: <stat>
164-
// long format: +CEREG: <stat>[,[<tac>],[<ci>],[<AcT>]]
165-
// <tac>, <ci>, and <AcT> are reported by the command only if available.
166-
// Current setting: enable the network registration unsolicited result code, and select the short
167-
// format
168-
_at->cmd_start("AT+CEREG=1");
169-
_at->cmd_stop_read_resp();
170-
171127
// AT+CMEE=2
172128
// Set command disables the use of result code +CME ERROR: <err> as an indication of an
173129
// error relating to the +Cxxx command issued. When enabled, device related errors cause the +CME

0 commit comments

Comments
 (0)