arun raj
Newbie level 4
Hello there...
i am trying to send some data(like "hello world!!!") to a web server from a HiLoNC v2 gsm module using POST method.
but i dont know how to...
i am totally new to GSM modules...
if any body have experience with this module, please guide me through the sequence of AT commands to be send to perform this.
i have done this with ESP8266 wifi module... but dont know how to do this with HoLoNC gsm module...
the set of AT commands i used with esp is given below...
AT+RST\r\n
AT+CWMODE=3\r\n
AT+CIPMUX=1\r\n
AT+CIFSR\r\n
AT+CIPSTART=0,"TCP","192.168.2.4",80\r\n ----------> (1)
AT+CIPSEND=0,148\r\n
POST /receiver_post.php HTTP/1.1\r\n -------> (2)
Host:192.168.2.4\r\n
Content-Type: application/x-www-form-urlencoded\r\n
Content-Length:24\r\n\r\n
data=This is a POST msg.\r\n ------------> (3)
(1) 192.168.2.4 is my web server IP address
(2) receiver_post.php is a php file in the web server that appends the data to my target file which is located in the server
(3) the code in the php file takes whatever comes after "data=" as my data to be appended to my target file in the server.
i need to perform the same operation with HiLoNC GSM module... please help...
i am trying to send some data(like "hello world!!!") to a web server from a HiLoNC v2 gsm module using POST method.
but i dont know how to...
i am totally new to GSM modules...
if any body have experience with this module, please guide me through the sequence of AT commands to be send to perform this.
i have done this with ESP8266 wifi module... but dont know how to do this with HoLoNC gsm module...
the set of AT commands i used with esp is given below...
AT+RST\r\n
AT+CWMODE=3\r\n
AT+CIPMUX=1\r\n
AT+CIFSR\r\n
AT+CIPSTART=0,"TCP","192.168.2.4",80\r\n ----------> (1)
AT+CIPSEND=0,148\r\n
POST /receiver_post.php HTTP/1.1\r\n -------> (2)
Host:192.168.2.4\r\n
Content-Type: application/x-www-form-urlencoded\r\n
Content-Length:24\r\n\r\n
data=This is a POST msg.\r\n ------------> (3)
(1) 192.168.2.4 is my web server IP address
(2) receiver_post.php is a php file in the web server that appends the data to my target file which is located in the server
(3) the code in the php file takes whatever comes after "data=" as my data to be appended to my target file in the server.
i need to perform the same operation with HiLoNC GSM module... please help...