From 303048e96dc5fb27e22e5e31955b818c0561419a Mon Sep 17 00:00:00 2001 From: Chris Trowbridge Date: Wed, 12 Jun 2019 09:36:22 -0400 Subject: [PATCH] Remove unnecessary init AT commands --- .../targets/TELIT/ME910/TELIT_ME910.cpp | 44 ------------------- 1 file changed, 44 deletions(-) diff --git a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp index 62039b4332..9cd4935e9c 100644 --- a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp +++ b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp @@ -115,15 +115,6 @@ nsapi_error_t TELIT_ME910::init() _at->cmd_start("AT#PSNT=1"); _at->cmd_stop_read_resp(); - // AT+CGEREP=2 - // Set command enables sending of unsolicited result codes in case of certain events - // occurring in the module or in the network. - // Current setting: buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. - // in on-line data mode) and flush them to the TE when TA-TE link becomes - // available; otherwise forward them directly to the TE. - _at->cmd_start("AT+CGEREP=2"); - _at->cmd_stop_read_resp(); - // AT+CMER=2 // Set command enables sending of unsolicited result codes from TA to TE in the case of // indicator state changes. @@ -133,41 +124,6 @@ nsapi_error_t TELIT_ME910::init() _at->cmd_start("AT+CMER=2"); _at->cmd_stop_read_resp(); - // AT+CREG=1 - // Set command enables the network registration unsolicited result code and selects one of - // the two available formats: - // short format: +CREG: - // long format: +CREG: [,,[,]] - // Current setting: enable the network registration unsolicited result code, and selects the - // short format - _at->cmd_start("AT+CREG=1"); - _at->cmd_stop_read_resp(); - - // AT+CGREG=1 - // Set command enables/disables the +CGREG: unsolicited result code, and selects one of the - // available formats: - // short format: - // +CGREG: - // long format: - // +CGREG:[,,[,,]] - // extra long format: - // +CGREG:[,[],[],[],[][,,[,[],[],[]]]] - // Current setting: enable the network registration unsolicited result code, and selects the - // short format - _at->cmd_start("AT+CGREG=1"); - _at->cmd_stop_read_resp(); - - // AT+CEREG=1 - // Set command enables the EPS network registration unsolicited result code (URC) in LTE, - // and selects one of the available formats: - // short format: +CEREG: - // long format: +CEREG: [,[],[],[]] - // , , and are reported by the command only if available. - // Current setting: enable the network registration unsolicited result code, and select the short - // format - _at->cmd_start("AT+CEREG=1"); - _at->cmd_stop_read_resp(); - // AT+CMEE=2 // Set command disables the use of result code +CME ERROR: as an indication of an // error relating to the +Cxxx command issued. When enabled, device related errors cause the +CME