user41188: I am using GPRS GSM A6 with arduino uno to post data to web server. After sending AT commands to module I get OK response after every command,
AT+CIPMUX=0

OK
AT+CGATT=1

OK
AT+CSTT="internet","",""

OK
AT+CIICR

OK
AT+CIFSR

10.65.87.210

OK
AT+CIPSTART="TCP","xxx.xxx.xxx.xxx", 80

CONNECT OK

OK
AT+CIPSEND

> POST http://xxx.xxx.xxx.xxx/Code/ HTTP/1.1
Host: xxx.xxx.xxx.xxx
Content-Type: application/x-www-form-urlencoded
Content-Length: 18

Data=GPS Data Sent
AT+CIPCLOSE

> 

To terminate AT+CIPSEND you have to send CTRL-Z. I am sending CTRL-Z using this statement in code,
Serial.write(0x1A)

But the module doesnot respond to this, and treats the next command (AT+CIPCLOSE) as data.
Please Help... Thanks in Advance!!!

user38949: RTFM: https://github.com/espressif/esp8266_at/wiki/CIPSEND
You need to close the input steam with "+++" to return to command mode.

41188: <p>I am using GPRS GSM A6 with arduino uno to post data to web server. After sending AT commands to module I get OK response after every command,</p>

<pre><code>AT+CIPMUX=0

OK
AT+CGATT=1

OK
AT+CSTT="internet","",""

OK
AT+CIICR

OK
AT+CIFSR

10.65.87.210

OK
AT+CIPSTART="TCP","xxx.xxx.xxx.xxx", 80

CONNECT OK

OK
AT+CIPSEND

&gt; POST http://xxx.xxx.xxx.xxx/Code/ HTTP/1.1
Host: xxx.xxx.xxx.xxx
Content-Type: application/x-www-form-urlencoded
Content-Length: 18

Data=GPS Data Sent
AT+CIPCLOSE

&gt; 
</code></pre>

<p>To terminate AT+CIPSEND you have to send CTRL-Z. I am sending CTRL-Z using this statement in code,</p>

<pre><code>Serial.write(0x1A)
</code></pre>

<p>But the module doesnot respond to this, and treats the next command (AT+CIPCLOSE) as data.</p>

<p>Please Help... Thanks in Advance!!!</p>
 38949: <p>RTFM: <a href="https://github.com/espressif/esp8266_at/wiki/CIPSEND" rel="nofollow noreferrer">https://github.com/espressif/esp8266_at/wiki/CIPSEND</a></p>

<p>You need to close the input steam with "+++" to return to command mode.</p>
