User manual
Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
40
<server>
IP address of host (in xxx.xxx.xxx.xxx format) or an alpha numeric string format (e.g. myhost.com)
Maximum 120 characters
Note: if alpha numeric string format is used, make sure the GPRS network has proper DNS service available.
<port>
Port number of the host server. Valid range is 1 to 65535..
<retry>
Number of retry after the first connection unsuccessful. Each retry will be delayed according to <delay> parameter.
Default value is 0 (no retry). Valid range is 0 to 10.
<delay>
Time of delay before the next connection retry. Unit is in minute. Default value is 1. Valid range is 1 to 60.
<type>
Type of server connection:
0 TCP
1 UDP
10.2.2. AT+SCMESS command
This command is to save, read and delete socket communication message (content). Up to 3 messages with 1024
characters max can be stored.
The
<id>
field is the id number of the message to be stored. To save message body, first enter AT+SCMESS=0,
<id>
then <ENTER> and wait for "
>
" prompt.
Then simply type content, <ctrl-Z> (ASCII 26) to finish.
This command can be aborted using the <ESC> (ASCII 27) character when entering text.
Command Syntax:
AT+SCMESS= <oper>,<id>,<mess>
text is entered <ctrl-z / ESC>
Response syntax:
+SCMESS: <id>
message entered
OK
Command
Possible responses:
AT+ SCMESS=0,1
>
This is message #1<ctrl-Z>
Note: enter message body with <id>=1
+SCMESS: 1,18
OK
Note: successful stored 18 characters as message with
<id>=1
AT+ SCMESS=0,1
>
This is email <ESC>
Note: press <ESC> to abort entry body
entry
OK
Note: abort to store message body with <id>=1