User manual
Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
64
19.3 Entering and executing Command String
You can use the following AT commands to store and execute Command String
19.3.1 AT+CSTR command
Description:
This command is used to execute a Command String directly.
Command Syntax:
AT+CSTR= <string>
Response Syntax:
OK
+CME ERROR : 3
Command
Possible responses:
AT+ CSTR=”TM 1 ST 3”
OK
Note: entire Command String
executed successfully
AT+ CSTR=”TM 1 ST 3 TM 30 ST 4”
+CME ERROR: 3
Note: one Command String cannot be
executed
Defined Values:
<string>
Command String
Note: When there is error in between concatenated Command String +CME ERROR: 3 will be returned. See 19.2
19.3.2 AT+CSTRSET command
Description:
This command is used to store, read and delete Command String. It can also used to execute stored Command String.
Command Syntax:
AT+CSTRSET= <oper>,<id>[,<string>]
Response Syntax:
OK
+CME ERROR: 3
Command
Possible responses:
AT+ CSTRSET=0,1,”TM 1 ST 3”
OK
Note: store Command String with String id = 1
AT+ CSTRSET=0,99,”TM 1 ST 3”
+CME ERROR: 3
Note: id out of range
AT+CSTRSET=1,1
+CSTRSET : 1, “TM1 ST 3”
Note: read stored Command String id 1
AT+CSTRSET=3,1
OK
Note: execute stored Command String id 1
AT+CSTRSET=2,1
OK
Note: erase Command String id 1 from flash
memory
AT+CSTRSET=3,1
+CME ERROR: 3
Note: id 1 is empty