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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MIME Encapsulated E-Mail Messages<br />

<strong>AT+i</strong> commands may be interlaced within a sequence of <strong>AT+i</strong>EMB commands, except<br />

for the following <strong>AT+i</strong> commands: <strong>AT+i</strong>EMA, <strong>AT+i</strong>RML, <strong>AT+i</strong>RMH, <strong>AT+i</strong>RMM,<br />

<strong>AT+i</strong>RFU, <strong>AT+i</strong>RLNK, <strong>AT+i</strong>BDRA, and <strong>AT+i</strong>SNMD.<br />

iChip does not limit the size of the binary attachment. However, ISPs do have limitations.<br />

An Internet connection is initiated immediately after the first <strong>AT+i</strong>EMB command, while<br />

the rest of the command is received. Once the connection to the SMTP server has been<br />

established, iChip acts as a pipeline, receiving binary info from the host, encoding it, and<br />

transmitting it to the Internet on-the-fly. Following the <strong>AT+i</strong>E* command, the e-mail is<br />

terminated and the Internet connection closed.<br />

The escape sequence command (+++) is allowed within an <strong>AT+i</strong>EMB command,<br />

provided there is a half-second silence period before the (+++) is sent. Upon receiving the<br />

escape sequence, iChip aborts and orderly closes the Internet session. The partial mail<br />

message is not sent to the destination.<br />

22.2.1 Binary Attachment Parameters<br />

Parameter Default Description<br />

MT 4 (application) Media Type:<br />

0 – Text; 1 – Image ; 2 – Audio ; 3 – Video ;<br />

4 – Application<br />

MST octet-stream Media Subtype String. For a list, see Appendix A.<br />

FN None Attachment File Name (inc. extension). If a file name is<br />

not defined, iChip generates a unique filename without an<br />

extension.<br />

BDY None ASCII text to be included in the e-mail‘s body in addition<br />

to the attachment. (Multiple lines allowed).<br />

Table 22-1 Binary Attachment Parameters<br />

22.2.2 Defining A Textual Body for Binary Messages<br />

1. Permanent textual body contents:<br />

<strong>AT+i</strong>BDY: … .<br />

The maximum fixed body size allowed is 96 characters (including embedded<br />

). The text body is included in all future binary messages. In addition, the<br />

textual contents are committed to non-volatile memory on board the iChip.<br />

2. Single session textual body contents:<br />

<strong>AT+i</strong>BDY~ … .<br />

The maximum temporary body size allowed is 1K characters (including embedded<br />

). The text body is included in the next session binary message and then<br />

purged.

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

Saved successfully!

Ooh no, something went wrong!