USR-G760c User Manual
h.usriot.com
Jinan USR IOT Technology Limited
/ 37
www.usriot.com
34
4.4.45. AT+HTPSV
Function: Query/Set server parameters of HTTP request
Format:
Query current parameter values:
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
4.4.46. AT+HTPHD
Function: Query/Set head information of HTTP request
Format:
Query current parameter values:
AT+HTPHD{CR} or AT+HTPHD?{CR}
{CR}{LF}+HTPHD:head{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+HTPHD=head{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
head: head information of HTTP request
Example:
Connection: Keep-Alive[0D][0A], must end with [0D][0A], escape regulation pls refer to chapter 4.2.4
4.4.47. AT+HTPTO
Function: Query/Set timeout time of HTTP request
Format:
Query current parameter values:
AT+HTPTO{CR} or AT+HTPTO?{CR}
{CR}{LF}+HTPTO:time{CR}{LF}{CR}{LF}OK{CR}{LF}
Set:
AT+HTPTO=time{CR}
{CR}{LF}OK{CR}{LF}
Parameters:
time: timeout time of HTTP request, range from 1~600s
All manuals and user guides at all-guides.com