AT Command

Description

AT+CALM AT command is used to set the alert mode. Possibl1 values are,

0          normal mode
1          silent mode (all sounds from MT are prevented)
2…      manufacturer specific

Usage
Command Possible response(s)
+CALM=[] +CME ERROR: 
+CALM? +CALM: +CME ERROR: 
+CALM=? +CALM: (list of supporteds) +CME ERROR: 

Examples

AT+CALM=1
OK

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

Test AT+CALM command with AT Command Tester





Try this script included in AT Command Tester Tool.

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

//Script-at+calm.at

//Test AT+CALM command

//AT+CALM is used to set/get alert sound mode

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

 

//Get the list of supported responses

AT+CALM=?

 

//WAIT for 1 sec

WAIT=1

 

//Get the curret alert sound mode

AT+CALM?

 

//WAIT for 1 sec

WAIT=1

 

//Set alert sound mode to normal

AT+CALM=0

 

//WAIT for 1 sec

WAIT=1

 

//Confirm by reading back

AT+CALM?

 

//WAIT for 1 sec

WAIT=1

 

//Set alert sound mode to silent

AT+CALM=1

 

//WAIT for 1 sec

WAIT=1

 

//Confirm by reading back

AT+CALM?


Output of above script in AT Command Tester Tool.

AT+CALM=?

+CALM: (0,1)

 

OK

AT+CALM?

+CALM: 0

 

OK

Alert is set to normal mode.

AT+CALM=0

OK

AT+CALM?

+CALM: 0

 

OK

Alert is set to normal mode.

AT+CALM=1

OK

AT+CALM?

+CALM: 1

 

OK

Alert is set to silent mode.