AT Command

Description

AT+CMEE AT command enable or disable the use of result code
+CME ERROR:  as an indication of an error relating to the functionality of the MT.


Examples

AT+CMEE=1
OK

KeywordsAT+CMEE syntax, examples, parameters, error, input, response.

Test AT+CMEE command with AT Command Tester





Try this script included in AT Command Tester Tool.

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//Script-at_cmee.at

//Test AT+CMEE AT command

//AT+CMEE Request Mobile Equipment Error

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

//List of supported write values for AT+CMEE

AT+CMEE=?

 

//WAIT for 1 sec

WAIT=1

 

//Get current setting for error reporting

//If there is any error, CME error code is returned

AT+CMEE?

 

//WAIT for 1 sec

WAIT=1

 

//Disable +CME ERROR: result code and use ERROR instead

//is disabled

AT+CMEE=0

 

//WAIT for 1 sec

WAIT=1

 

//Try an AT command that will result in error condition

AT+CREG=5

 

//WAIT for 1 sec

WAIT=1

 

//Enable +CME ERROR: result code and use numeric is enabled

AT+CMEE=1

 

//WAIT for 1 sec

WAIT=1

 

//Try an AT command that will result in error condition

AT+CREG=5

 

//WAIT for 1 sec

WAIT=1

 

//Enable +CME ERROR: result code and use verbose values

AT+CMEE=2

 

//WAIT for 1 sec

WAIT=1

 

//Try an AT command that will result in error condition

AT+CREG=5


Output of above script in AT Command Tester Tool.

AT+CMEE=?

+CMEE: (0-2)

 

OK

AT+CMEE?

+CMEE: 2

 

OK

 

AT+CMEE=0

OK

 

AT+CREG=5

ERROR

 

AT+CMEE=1

OK

 

AT+CREG=5

+CME ERROR: 604

 

AT+CMEE=2

OK

 

AT+CREG=5

+CME ERROR: Unspecified Error