EasyManua.ls Logo

Maestro M1002G - Sending a TCP Socket Message

Maestro M1002G
131 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 erase saved message.
<id> identification number (id) of the message. Valid value is 1 to 3.
Example:
Command Response
AT+SCMESS=0,1 >
This is message #1<Ctrl-Z> +SCMESS: 1,18
OK
Note: enter message body with <id>=1. Note: successful stored 18 characters as message
with <id>=1.
AT+SCMESS=1,1 +SCMESS: 1
This is message body #1
OK
Note: read stored message with <id>=1.
AT+SCMESS=2,1 OK
Note: erase message body with <id>=1.
AT+SCMESS=? +SCMESS: (0-2),(1-3)
Note:
Each message can contain up to 128 characters. All characters entered after 128
ht
will be discarded.
On entering message to a same <id> old message will be over written.
9.4 Sending a TCP socket message
AT+SCSEND
To send a message to a pre-saved TCP host with or without one pre-saved message content, plus additional message
entered on command line. A minimum of 1 byte message needs to be sent otherwise it will send an error.
cellular connection (+IPCONNECT=1,1) must to be made and host parameters have to be entered properly before
sending otherwise will return +CME ERROR: 3.
When finishing a result code will be returned. Result code "0" means message transferred success, otherwise there
is error.
Syntax: AT+SCSEND= <to_id>,<mess_id>,<add_mess>
Response: +SCSEND : <result>
Defined Values:
<to_id> identification number (id) host entered using AT+SCHOST command. Valid value is 1 to 10.
<mess_id> identification number (id) of the saved message. Valid value is 1 to 3.
<add_mess> additional message to be sent. Maximum 128 characters can be sent. <add_body> will be added just
after message indicated by <mess_id> (if available).
<result> result code of the email sending process:
0 message sending successful.
-1 reserved (contact Maestro Wireless support).
-2 reserved (contact Maestro Wireless support).
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
53

Table of Contents

Related product manuals