USR-DR502-E User Manual
Technical Support:
Jinan USR IOT Technology Limited
www.pusr.com
16
Set by AT command:
Command
Operation
1
+++a
Enter serial AT command mode
2
AT+WKMOD=HTTPD
Set the work mode to HTTPD Client
3
AT+HTPTP=GET
Set the HTTP request type to GET
4
AT+HTPURL=/1.php?
Set the HTTP URL
5
AT+HTPSV=test.usr.cn,80
Set the HTTP server address and port
6
AT+HTPHD=Accept:text/html[0D][0A]
Set the HTTP request header
7
AT+HTPTO=10
Set the time of transitory link
8
AT+HTPPK=ON
Set whether to filter HTTP header
9
AT+S
Save parameters and restart the modem
Test
After the NET light is on, send the data in the format of "data =". After the data is sent successfully, server will
return the data.