USR-G761w Guide Line
h.usriot.com
Jinan USR IOT Technology Limited
www.usriot.com
29
/
35
Query current parameters:
AT+HTPTP{CR} or AT+HTPTP?{CR}
{CR}{LF}+HTPTP: type{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+HTPTP=type{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
Type: method of HTTP request, including:
GET
POST
Example: AT+ HTPTP = POST
8.1.2.43.
AT+HTPURL
Function: Query/Set URL of HTTP request
Format:
Query current parameters:
AT+HTPURL{CR} or AT+HTPURL?{CR}
{CR}{LF}+HTPURL:URL{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+HTPURL=URL{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
URL: URL of HTTP request, example /1.php[3F]
Example: AT+ HTPURL = /1.php[3F]
8.1.2.44.
AT+HTPSV
Function: Query/Set server address and port of HTTP request
Format:
Query current parameters:
AT+HTPSV{CR} or AT+HTPSV?{CR}
{CR}{LF}+HTPSV: address, port{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+HTPSV=address, port{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
Address: server address, can be domain name or IP address
Port: server port, range from 1~65535
Example: AT+ HTPSV = test.usr.cn,80