22.03.2013 Views

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8 HTTP Client Interface<br />

8.1 +iRLNK — Retrieve Link<br />

Syntax: <strong>AT+i</strong>[!]RLNK[:URL]<br />

Retrieves a file from a URL.<br />

HTTP Client Interface<br />

Parameters: URL = Optional URL address, which specifies the host, path, and<br />

source file to be retrieved.<br />

Command Options:<br />

URL address syntax:<br />

http or https<br />

―://[[:]/[]/]‖<br />

Host name or IP address<br />

0..65535<br />

If not specified, defaults to 80 for http and 443 for https.<br />

Path, filename, and file extension of the file to retrieve on the<br />

designated host.<br />

! Stay online after completing the command.<br />

Default: Uses the URL address stored in the URL parameter.<br />

Result Code:<br />

I/OK When command is received and about to be processed.<br />

I/ERROR Otherwise<br />

Returns: I/<br />

Followed by: <br />

Followed by:<br />

where,<br />

is the exact size of the to follow.<br />

If is unknown, iChip returns I/0 followed by the data stream.<br />

When this is the case, the host must monitor for a timeout<br />

condition of at least 5 seconds without any data being transmitted<br />

before seeing one of the terminator lines described under<br />

‗Followed by‘.<br />

I/DONE After successfully retrieving the file. Allow a 2.5 seconds delay<br />

for iChip re-initialization following an Internet mode session.<br />

-or-<br />

I/ONLINE After successfully retrieving the file, if the stay online flag (!) is<br />

<strong>AT+i</strong> Programmer‘s <strong>Manual</strong> Version 8.21 8-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!