chumanhcuong
Newbie level 2
i send request to my server following, but can not receive response from server and wait then module return CLOSED
i can't fix it, plz help!
request to google.com:
i can't fix it, plz help!
PHP:
AT+CIPSTART="TCP","www.hlab.com.vn","80"
OK
CONNECT OK
AT+CIPSTATUS
OK
STATE: CONNECT OK
AT+CIFSR
10.119.63.161
AT+CIPSEND
> GET http://hlab.com.vn/HGPS/insert_dat.php?pk=FFFFFFFFFFF1984F1234123456123456789ABCDEF0198409110839001111120.051267.2401234.5671234.5671234.567 HTTP/1.1
Connection: Keep-Alive
Cache-Control: private, no-cache, max-ag=0
Pragma: no-cache
Content-Type: text/html
SEND OK
CLOSED
request to google.com:
PHP:
AT+CIPSTART="TCP","www.google.com","80"
OK
CONNECT OK
AT+CIPSTATUS
OK
STATE: CONNECT OK
AT+CIFSR
10.119.63.161
AT+CIPSEND
> GET / HTTP/1.1
Host: www.google.com
Connection: Keep-Alive
SEND OK
CLOSED
Last edited: