Generic syntax |
Set | AT+UHTTP=<profile_id>,<op_code>,<param_val>[,<param_val1>] | OK | AT+UHTTP=2,0,"125.24.51.133" OK |
Read | AT+UHTTP=<profile_id>,<op_code> | +UHTTP: <profile_id>,<op_code>,<param_val>[,<param_val1>] OK | AT+UHTTP=2,0 +UHTTP: 2,0,"125.24.51.133" OK |
HTTP server IP address |
Set | AT+UHTTP=<profile_id>,0,<HTTP_server_IP_address> | OK | AT+UHTTP=2,0,"125.24.51.133" OK |
Read | AT+UHTTP=<profile_id>,0 | +UHTTP: <profile_id>,0,<HTTP_server_IP_address> OK | AT+UHTTP=2,0 +UHTTP: 2,0,"125.24.51.133" OK |
HTTP server name |
Set | AT+UHTTP=<profile_id>,1,<HTTP_server_name> | OK | AT+UHTTP=2,1,"www.u-blox.com" OK |
Read | AT+UHTTP=<profile_id>,1 | +UHTTP: <profile_id>,1,<HTTP_server_name> OK | AT+UHTTP=2,1 +UHTTP: 2,1,"www.u-blox.com" OK |
Username |
Set | AT+UHTTP=<profile_id>,2,<username> | OK | AT+UHTTP=2,2,"my_user" OK |
Read | AT+UHTTP=<profile_id>,2 | +UHTTP: <profile_id>,2,<username> OK | AT+UHTTP=2,2 +UHTTP: 2,2,"my_user" OK |
Password |
Set | AT+UHTTP=<profile_id>,3,<password> | OK | AT+UHTTP=2,3,"pwd" OK |
Read | AT+UHTTP=<profile_id>,3 | +UHTTP: <profile_id>,3,<password> OK | AT+UHTTP=2,3 +UHTTP: 2,3,"pwd" OK |
Authentication type |
Set | AT+UHTTP=<profile_id>,4,<HTTP_authentication> | OK | AT+UHTTP=2,4,1 OK |
Read | AT+UHTTP=<profile_id>,4 | +UHTTP: <profile_id>,4,<HTTP_authentication> OK | AT+UHTTP=2,4 +UHTTP: 2,4,1 OK |
HTTP server port |
Set | AT+UHTTP=<profile_id>,5,<HTTP_port> | OK | AT+UHTTP=2,5,30 OK |
Read | AT+UHTTP=<profile_id>,5 | +UHTTP: <profile_id>,5,<HTTP_port> OK | AT+UHTTP=2,5 +UHTTP: 2,5,30 OK |
HTTP secure option |
Set | AT+UHTTP=<profile_id>,6,<HTTP_secure>[,<usecprf_profile_id>] | OK | AT+UHTTP=2,6,1 OK |
Read | AT+UHTTP=<profile_id>,6 | +UHTTP: <profile_id>,6,<HTTP_secure>[,<usecprf_profile_id>] OK | AT+UHTTP=2,6 +UHTTP: 2,6,1 OK |
HTTP request timeout and TCP socket linger timer |
Set | AT+UHTTP=<profile_id>,7,<HTTP_timeout>[,<linger_timer>] | OK | AT+UHTTP=2,7,150,5 OK |
Read | AT+UHTTP=<profile_id>,7 | +UHTTP: <profile_id>,7,<HTTP_timeout>,<linger_timer> OK | AT+UHTTP=2,7 +UHTTP: 2,7,150,5 OK |
HTTP add custom request headers |
Set | AT+UHTTP=<profile_id>,9,<custom_request_header> | OK | AT+UHTTP=2,9,"0:hdr0:val0" OK |
Read | AT+UHTTP=<profile_id>,9 | +UHTTP: <profile_id>,9,<custom_request_header> OK | AT+UHTTP=2,9 +UHTTP: 2,9,"0:hdr0:val0" OK |
HTTP output mode option |
Set | AT+UHTTP=<profile_id>,10,<output_mode> | OK | AT+UHTTP=0,10,1 OK |
Read | AT+UHTTP=<profile_id>,10 | +UHTTP: <profile_id>,10,<output_mode> OK | AT+UHTTP=0,10 +UHTTP: 0,10,1 OK |
HTTP split mode option |
Set | AT+UHTTP=<profile_id>,11,<split_mode> | OK | AT+UHTTP=0,11,1 OK |
Read | AT+UHTTP=<profile_id>,11 | +UHTTP: <profile_id>,11,<split_mode> OK | AT+UHTTP=0,11 +UHTTP: 0,11,1 OK |
HTTP context id |
Set | AT+UHTTP=<profile_id>,20,<cid>[,<preferred_protocol_type>] | OK | AT+UHTTP=2,20,2 OK |
Read | AT+UHTTP=<profile_id>,20 | +UHTTP: <profile_id>,20,<cid>,<preferred_protocol_type> OK | AT+UHTTP=2,20 +UHTTP: 2,20,2,0 OK |
Read | AT+UHTTP=<profile_id> | OK | AT+UHTTP=2 OK |
Test | AT+UHTTP=? | +UHTTP: (list of supported <profile_id>s),(list of supported <op_code>s) OK | +UHTTP: (0-3),(0-11,20) OK |