|
Try this script included in AT Command Tester Tool.
//Script: at+cnmp
//This AT command is applicable for SIMCOM modules only
//Check SIMCOM Module AT Command documentaiton
//Preferred mode selection
//Get the list of supported modes
AT+CNMP=?
//Read the current mode
AT+CNMP?
//Set mode to automatic
AT+CNMP=2
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to GSM Only
AT+CNMP=13
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to WCDMA Only
AT+CNMP=14
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
?
//Wait
WAIT=2
//Set mode to LTE Only
AT+CNMP=8
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to CDMA Only
AT+CNMP=9
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to EVDO Only
AT+CNMP=10
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to GSM+WCDMA Only
AT+CNMP=19
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to CDMA+EVDO Only
AT+CNMP=22
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to any modes but LTE
AT+CNMP=48
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//WAIT=2
//Set mode to GSM+TSDCDMA Only
AT+CNMP=60
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//WAIT
WAIT=2
//Set mode to GSM+WCDMA+TSSCDMA Only
AT+CNMP=63
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to CDMA+EVDO+GSM+ECDMA+TDSCDMA Only
AT+CNMP=67
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
//Wait
WAIT=2
//Set mode to GSM+WCDMA+LTE Only
AT+CNMP=39
//Wait
WAIT=2
//Read back the mode
AT+CNMP?
?
Output of above script in AT Command Tester Tool.
AT+CNMP=?
+CNMP: (2,14,38)
OK
AT+CNMP?
+CNMP: 67
OK
AT+CNMP=2
OK
AT+CNMP?
+CNMP: 2
OK
AT+CNMP=13
ERROR
AT+CNMP?
+CNMP: 2
OK
AT+CNMP=14
OK
AT+CNMP?
+CNMP: 14
OK
AT+CNMP=8
ERROR
AT+CNMP?
+CNMP: 14
OK
AT+CNMP=9
ERROR
AT+CNMP?
+CNMP: 14
OK
AT+CNMP=10
ERROR
AT+CNMP?
+CNMP: 14
OK
AT+CNMP=19
OK
AT+CNMP?
+CNMP: 19
OK
AT+CNMP=22
ERROR
AT+CNMP?
+CNMP: 19
OK
AT+CNMP=48
OK
AT+CNMP?
+CNMP: 48
OK
AT+CNMP=60
ERROR
AT+CNMP?
+CNMP: 48
OK
AT+CNMP=63
OK
AT+CNMP?
+CNMP: 63
OK
AT+CNMP=67
OK
AT+CNMP?
+CNMP: 67
OK
AT+CNMP=39
ERROR
AT+CNMP?
+CNMP: 67
OK