EasyManuals Logo
Home>Ublox>Control Unit>SARA-R4 Series

Ublox SARA-R4 Series User Manual

Ublox SARA-R4 Series
307 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #223 background imageLoading...
Page #223 background image
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

21HTTP
Page 223 of 307
Parameter Type Description
<http_status_code> Number HTTP status code reported in the server response header after a GET FOTA update
file request. This parameter is issued only for AT+UHTTPC=<profile_id>,100,<path>
AT command.
<md5_sum> String MD5 checksum of the FOTA update file. This parameter is issued only for AT
+UHTTPC=<profile_id>,100,<path> AT command.
21.3.4î™–î™–î™–î™–Notes
• The +UHTTPC command has a default timeout setting set to 180 s. The timeout is counted from the last
successful network read or send operation performed by the HTTP application, so in a real timeout case
the application might be executing a command more than 180 s.
• The data string must not exceed the maximum length of 128 bytes.
• If <http_command>=4 (POST a file) and the <param2>=3 (multipart/form-data), then the module
automatically encapsulates the file content in the following multipart/form-data HTTP request:
--U1Blox2Http3Unique4Boundary5\r\n
Content-Disposition: form-data; name="file_post"; filename="<param3>"\r\n
Content-Length: <length of file specified with param3>\r\n
Content-Type: application/octet-stream\r\n
\r\n
<content of file specified with param3>\r\n
--U1Blox2Http3Unique4Boundary5--\r\n
\r\n
SARA-R4 / SARA-N4
• <http_command> = 100 is not supported.
21.4î™–î™–î™–î™–HTTP protocol error +UHTTPER
+UHTTPER
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No No No - Appendix A.6
21.4.1î™–î™–î™–î™–Description
Retrieves the error class and code of the latest HTTP operation on the specified HTTP profile.
21.4.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+UHTTPER=<profile_id> +UHTTPER: <profile_id>,<error_
class>,<error_code>
OK
AT+UHTTPER=1
+UHTTPER: 1,0,0
OK
21.4.3î™–î™–î™–î™–Defined values
Parameter Type Description
<profile_id> Number HTTP profile identifier, in range 0-3
<error_class> Number List of the allowed values is available in Appendix A.6
<error_code> Number Value of class-specific error codes (reply code if class is 0). When <error_class>=10
(wrong HTTP API usage), the allowed <error_code>; values are listed in Appendix A.6.2

Table of Contents

Other manuals for Ublox SARA-R4 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ublox SARA-R4 Series and is the answer not in the manual?

Ublox SARA-R4 Series Specifications

General IconGeneral
BrandUblox
ModelSARA-R4 Series
CategoryControl Unit
LanguageEnglish

Related product manuals