001-0003-829 Revision 1
Page 28 of 65
Send the data (if size > 128 bytes) by typing AT^SISW=0,<size>
Enter the data to be sent, you will get OK when all the bytes are transmitted. A response will be sent
something like:
^SIS: 0, 0, 2201, "HTTP/1.1 200 OK"
^SISR: 0, 1
Read the HTTP Answer by typing the command, AT^SISR=0,1500. This closes the connection and
give a response somewhat like the following;
^SISR: 0, 102
<the answer from the server>
OK
TCP Client Socket Setup
This example describes commands to setup the modem as a TCP Socket Client. To check that data is
received by the server, you can launch a TCP socket server on a computer with a public IP address.
Configure the modem using the following AT commands:
AT^SISS=0,srvtype,socket
AT^SISS=0,address,socktcp://'host':'remote tcpPort'[;disnagle='0|1']
For example:
AT^SISS=0,srvtype,socket
AT^SISS=0,address,socktcp://66.94.234.13:80
AT^SISS=0,conid,0
Check the configuration settings by typing, AT^SISS?.
Open the connection by typing, AT^SISO=0.
A response of “^SISW: 0,1” will indicate that you can write (or send) data on this socket. Write
some data using the AT^SISW=0,x command, where x is the number of bytes, up to 1500.
A response of "^SISR: 0,1" will indicate that you have some data to be read. The
AT^SISR=0,1500 command will read up to 1500 bytes of data.
Close the upstream data with <EodFlag> at the end of the AT^SISW command by typing,
AT^SISW=0,0,1. The upload data direction needs to be closed for the latest firmware revision
when the GSM module is done sending data.
Close connection by typing, AT^SISC=0.