LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 232 of 273
#SMTPCL – Send Mail with Attachment
…data received on the serial port are sent as attachment….
Send escape sequence to close the SMTP connection
+++
NO CARRIER
at#smtpcl="[email protected]","test2",2,"image.jpg",1
>message body...this is the text of the mail message…
Send CTRL-Z
CONNECT
…data received on the serial port are base64-encoded and sent as attachment….
Send escape sequence to close the SMTP connection
+++
NO CARRIER
#HTTPCFG – configure HTTP parameters
AT#HTTPCFG=<pr
of_id>[,<server_addr
ess>[,<server_port>[,
<auth_type>[,<usern
ame>[,<password>[,<
ssl_enabled>[,<timeo
ut> [,<cid>]]]]]]]]
This command sets the parameters needed to the HTTP connection
Parameters:
<prof_id>
- Numeric parameter indicating the profile identifier.
Range: 0-2
<server_address> -
String parameter indicating the IP address of the HTTP server.
This parameter can be either:
-
any valid IP address in the format: “xxx.xxx.xxx.xxx”
-
any host name to be solved with a DNS query
Default: “” for first and second profile; "m2mlocate.telit.com" for third profile.
<server_port> -
Numeric parameter indicating the TCP remote port of the HTTP
server to connect to.
Default: 80 for first and second profile; 9978 for third profile. Range 1...65535.
<auth_type> -
Numeric parameter indicating the HTTP authentication type.
0 – no authentication (default)
1 – basic authentication
<username>
- String parameter indicating authentication user identification string
for HTTP.
<password>
- String parameter indicating authentication password for HTTP.
Содержание LE910-SKG
Страница 1: ......