User's Manual

Table Of Contents
E-mail Send Commands
AT+i Programmer‘s Manual Version 8.32 6-2
6.2 +iEMB Accept Binary Data for Immediate E-Mail Send
Syntax:
AT+i[!]EMB[#]:<sz>,<data>
Defines and sends a MIME-encoded binary e-mail.
Parameters:
<sz>
size of <data> in bytes
<data>
<sz> bytes of binary data
Command Options:
<sz>
0..4GB
<data>
8 bit binary data. Must be exactly <sz> bytes long.
The binary data is encapsulated in a MIME-encoded e-mail
message. The receiving end views the binary data as a standard
e-mail attachment.
Several consecutive +iEMB commands can be issued in
sequence to create a larger aggregate of data to be sent.
The e-mail contents are completed by issuing an
AT+iE*
(terminate binary e-mail) command. Following the first +iEMB
command, iChip establishes an Internet connection while the
data stream is being transmitted from the host. Once an SMTP
session is established, iChip maintains a data transmit pipeline
between the host and the SMTP server. iChip converts the
binary data using BASE64 encoding on-the-fly. Following this
command, the Internet session remains active to service
additional +iEMB commands, until the +iE* terminating
command.
EMB uses the specified
SMTP server to send the e-mail
message. When iChip acquires TOD from a network
timeserver, outgoing e-mail messages are time and date
stamped.
!
Stay online after completing the command. This flag is
redundant, as the iChip defaults to staying online until the
AT+iE* command is issued.
#
Modem baud rate limit flag. When this character is included in
the command, the iChip baud rate to the modem is limited by
the baud rate from the host. This flag is relevant for serial
modems only and is especially useful in GSM modem
configurations. When this character is not present, the iChip
attempts to lift the baud rate to the modem to its maximal
value.
Result Code: