Technical information
Chapter 2: AT+i Commands Reference
May 31, 2008 AT+i Commands Reference Manual 2-17
HTTP Client Interface
+iRLNK - Retrieve Link
Syntax: AT+i[!]RLNK[:URL]
Retrieves a file from a URL.
Parameters: URL = Optional URL address, which specifies the host, path, and source file
to be retrieved.
URL address syntax:
"<protocol>://<host>[[:<port>]/[<abs_link>]/]"
Command Options:
<protocol> http or https.
<host> Host name or IP address.
<port> 0..65535
If not specified, defaults to 80 for http and 443 for https.
<abs_link> Path, filename, and file extension of the file to retrieve on the designated
host.
! Stay online after completing the command.
Default: Uses the URL address stored in the URL parameter.
Result Code:
I/OK When command is received and about to be processed.
I/ERROR Otherwise.
Returns: I/<sz><CR><LF>
Followed by: <binary data stream>
where,
<sz> is the exact size of the <binary data stream> to follow.
If <sz> is unknown, W24 returns I/0 followed by the data stream. When
this is the case, the host must monitor for a timeout condition of at least 5
seconds without any data being transmitted before seeing one of the
terminator lines described under 'Followed by'.
Followed by:
I/DONE After successfully retrieving the file. Allow a 2.5 seconds delay for W24
re-initialization following an Internet mode session.
-or-
I/ONLINE After successfully retrieving the file, if the stay online flag (!) is specified.
-or-
I/ERROR Otherwise. (Always preceded by a 5 seconds silence period.)










