at command set for internet service -...

64
AT AT AT AT Command Command Command Command Set Set Set Set For For For For Internet Internet Internet Internet Service Service Service Service

Upload: buihanh

Post on 04-May-2018

228 views

Category:

Documents


4 download

TRANSCRIPT

ATATATAT CommandCommandCommandCommand SetSetSetSetForForForFor InternetInternetInternetInternet ServiceServiceServiceService

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 1111 6/22/20116/22/20116/22/20116/22/20112011-06-22

DocumentDocumentDocumentDocument TitleTitleTitleTitle:::: AT Command Set for Internet Service

VersionVersionVersionVersion:::: 1.04

DateDateDateDate:::: 2011-06-22

StatusStatusStatusStatus:::: Release

DocumentDocumentDocumentDocument IDIDIDID:::: SIMCOM_WCDMA_Internet_Service_ATC_V1.04

GeneralGeneralGeneralGeneral NotesNotesNotesNotes

SIMCom offers this information as a service to its customers, to support application and engineering effortsthat use the products designed by SIMCom. The information provided is based upon requirementsspecifically provided to SIMCom by the customers. SIMCom has not undertaken any independent searchfor additional relevant information, including any information that may be in the customer’s possession.Furthermore, system validation of this product designed by SIMCom within a larger electronic systemremains the responsibility of the customer or the customer’s system integrator. All specifications suppliedherein are subject to change.

CopyrightCopyrightCopyrightCopyrightThis document contains proprietary technical information which is the property of SIMCom Limited.,copying of this document and giving it to others and the using or communication of the contents thereof,are forbidden without express authority. Offenders are liable to the payment of damages. All rights reservedin the event of grant of a patent or the registration of a utility model or design. All specification suppliedherein are subject to change without notice at any time.

CopyrightCopyrightCopyrightCopyright ©©©© ShanghaiShanghaiShanghaiShanghai SIMComSIMComSIMComSIMComWirelessWirelessWirelessWireless SolutionsSolutionsSolutionsSolutions Ltd.Ltd.Ltd.Ltd. 2020202010101010

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 2222 6/22/20116/22/20116/22/20116/22/20112011-06-22

Vers ionVers ionVers ionVers ion HistoryHistoryHistoryHistory

VersionVersionVersionVersion ChapterChapterChapterChapter CommentsCommentsCommentsComments

V1.00 New Version

V1.01 7 Add HTTPS

V1.02 8 Add FTPS

V1.03 7 & 8 Modify HTTPS and FTPS description error

V1.04 3.14.24.68.78.128.138.148.15

Modify AT+SMTPSRVModify AT+POP3INModify AT+POP3GETAdd AT+CFTPSDELModify AT+CFTPSGETFILEModify AT+CFTPSPUTFILEModify AT+CFTPSGETModify AT+CFTPSPUT

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 3333 6/22/20116/22/20116/22/20116/22/20112011-06-22

ContentsContentsContentsContents

Ve r s i o nV e r s i o nV e r s i o nV e r s i o n H i s t o r yH i s t o r yH i s t o r yH i s t o r y ...................................................................................................................................2Co n t e n t sC o n t e n t sC o n t e n t sC o n t e n t s ....................................................................................................................................................31111 IntroductionIntroductionIntroductionIntroduction............................................................................................................................................51.11.11.11.1 ScopeScopeScopeScope.......................................................................................................................................................51.21.21.21.2 ReferencesReferencesReferencesReferences.............................................................................................................................................. 51.31.31.31.3 TermsTermsTermsTerms andandandandAbbreviationsAbbreviationsAbbreviationsAbbreviations......................................................................................................................51.41.41.41.4 DefinitionsDefinitionsDefinitionsDefinitions andandandand conventionsconventionsconventionsconventions..................................................................................................................6

2222 ATATATAT InterfaceInterfaceInterfaceInterface SynopsisSynopsisSynopsisSynopsis............................................................................................................................72.12.12.12.1 InterfaceInterfaceInterfaceInterface settingssettingssettingssettings................................................................................................................................... 72.22.22.22.2 ATATATAT commandcommandcommandcommand syntaxsyntaxsyntaxsyntax..............................................................................................................................72.32.32.32.3 InformationInformationInformationInformation responsesresponsesresponsesresponses...........................................................................................................................8

3333 SimpleSimpleSimpleSimple MailMailMailMail TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService................................................................................................ 93.13.13.13.1 AT+SMTPSRVAT+SMTPSRVAT+SMTPSRVAT+SMTPSRV SMTPSMTPSMTPSMTP serverserverserverserver addressaddressaddressaddress andandandand portportportport numbernumbernumbernumber................................................................ 93.23.23.23.2 AT+SMTPAUTHAT+SMTPAUTHAT+SMTPAUTHAT+SMTPAUTH SMTPSMTPSMTPSMTP serverserverserverserver authenticationauthenticationauthenticationauthentication............................................................................. 103.33.33.33.3 AT+SMTPFROMAT+SMTPFROMAT+SMTPFROMAT+SMTPFROM SenderSenderSenderSender addressaddressaddressaddress andandandand namenamenamename.................................................................................113.43.43.43.4 AT+SMTPRCPTAT+SMTPRCPTAT+SMTPRCPTAT+SMTPRCPT RecipientRecipientRecipientRecipient addressaddressaddressaddress andandandand namenamenamename (TO/CC/BCC)(TO/CC/BCC)(TO/CC/BCC)(TO/CC/BCC).................................................... 133.53.53.53.5 AT+SMTPSUBAT+SMTPSUBAT+SMTPSUBAT+SMTPSUB E-mailE-mailE-mailE-mail subjectsubjectsubjectsubject........................................................................................................143.63.63.63.6 AT+SMTPBODYAT+SMTPBODYAT+SMTPBODYAT+SMTPBODY E-mailE-mailE-mailE-mail bodybodybodybody........................................................................................................ 153.73.73.73.7 AT+SMTPFILEAT+SMTPFILEAT+SMTPFILEAT+SMTPFILE SelectSelectSelectSelect attachmentattachmentattachmentattachment.................................................................................................163.83.83.83.8 AT+SMTPSENDAT+SMTPSENDAT+SMTPSENDAT+SMTPSEND InitiateInitiateInitiateInitiate sessionsessionsessionsession andandandand sendsendsendsend e-maile-maile-maile-mail.........................................................................173.93.93.93.9 AT+SMTPSTOPAT+SMTPSTOPAT+SMTPSTOPAT+SMTPSTOP ForceForceForceForce totototo stopstopstopstop sendingsendingsendingsending e-maile-maile-maile-mail...............................................................................19

4444 PostPostPostPost OfficeOfficeOfficeOffice ProtocolProtocolProtocolProtocol 3333 ServiceServiceServiceService.............................................................................................................204.14.14.14.1 AT+POP3SRVAT+POP3SRVAT+POP3SRVAT+POP3SRV POP3POP3POP3POP3 serverserverserverserver andandandand accountaccountaccountaccount.......................................................................................204.24.24.24.2 AT+POP3INAT+POP3INAT+POP3INAT+POP3IN LogLogLogLog inininin POP3POP3POP3POP3 serverserverserverserver................................................................................................... 214.34.34.34.3 AT+POP3NUMAT+POP3NUMAT+POP3NUMAT+POP3NUM GetGetGetGet e-maile-maile-maile-mail numbernumbernumbernumber andandandand totaltotaltotaltotal sizesizesizesize........................................................................ 224.44.44.44.4 AT+POP3LISTAT+POP3LISTAT+POP3LISTAT+POP3LIST ListListListList e-maile-maile-maile-mail IDIDIDID andandandand sizesizesizesize.......................................................................................... 234.54.54.54.5 AT+POP3HDRAT+POP3HDRAT+POP3HDRAT+POP3HDR GetGetGetGet e-maile-maile-maile-mail headerheaderheaderheader.................................................................................................. 254.64.64.64.6 AT+POP3GETAT+POP3GETAT+POP3GETAT+POP3GET GetGetGetGet anananan e-maile-maile-maile-mail fromfromfromfrom POP3POP3POP3POP3 serverserverserverserver.......................................................................... 264.74.74.74.7 AT+POP3DELAT+POP3DELAT+POP3DELAT+POP3DEL MarkMarkMarkMark anananan e-maile-maile-maile-mail totototo deletedeletedeletedelete fromfromfromfrom POP3POP3POP3POP3 serverserverserverserver........................................................274.84.84.84.8 AT+POP3OUTAT+POP3OUTAT+POP3OUTAT+POP3OUT LogLogLogLog outoutoutout POP3POP3POP3POP3 serverserverserverserver............................................................................................. 284.94.94.94.9 AT+POP3STOPAT+POP3STOPAT+POP3STOPAT+POP3STOP ForceForceForceForce totototo stopstopstopstop receivingreceivingreceivingreceiving e-mail/closee-mail/closee-mail/closee-mail/close thethethethe sessionsessionsessionsession................................................. 294.104.104.104.10 AT+POP3READAT+POP3READAT+POP3READAT+POP3READ ReadReadReadRead anananan e-maile-maile-maile-mail fromfromfromfrom filefilefilefile systemsystemsystemsystem........................................................................ 29

5555 FileFileFileFile TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService.............................................................................................................315.15.15.15.1 AT+CFTPPORTAT+CFTPPORTAT+CFTPPORTAT+CFTPPORT SetSetSetSet FTPFTPFTPFTP serverserverserverserver portportportport.............................................................................................315.25.25.25.2 AT+CFTPMODEAT+CFTPMODEAT+CFTPMODEAT+CFTPMODE SetSetSetSet FTPFTPFTPFTPmodemodemodemode.....................................................................................................315.35.35.35.3 AT+CFTPTYPEAT+CFTPTYPEAT+CFTPTYPEAT+CFTPTYPE SetSetSetSet FTPFTPFTPFTP typetypetypetype........................................................................................................ 325.45.45.45.4 AT+CFTPSERVAT+CFTPSERVAT+CFTPSERVAT+CFTPSERV SetSetSetSet FTPFTPFTPFTP serverserverserverserver domaindomaindomaindomain namenamenamename orororor IPIPIPIP addressaddressaddressaddress...................................................... 335.55.55.55.5 AT+CFTPUNAT+CFTPUNAT+CFTPUNAT+CFTPUN SetSetSetSet useruseruseruser namenamenamename forforforfor FTPFTPFTPFTP accessaccessaccessaccess..................................................................................345.65.65.65.6 AT+CFTPPWAT+CFTPPWAT+CFTPPWAT+CFTPPW SetSetSetSet useruseruseruser passwordpasswordpasswordpassword forforforfor FTPFTPFTPFTP accessaccessaccessaccess.......................................................................... 355.75.75.75.7 AT+CFTPGETFILEAT+CFTPGETFILEAT+CFTPGETFILEAT+CFTPGETFILE GetGetGetGet aaaa filefilefilefile fromfromfromfrom FTPFTPFTPFTP serverserverserverserver totototo EFSEFSEFSEFS.............................................................. 365.85.85.85.8 AT+CFTPPUTFILEAT+CFTPPUTFILEAT+CFTPPUTFILEAT+CFTPPUTFILE PutPutPutPut aaaa filefilefilefile inininin modulemodulemodulemodule EFSEFSEFSEFS totototo FTPFTPFTPFTP serverserverserverserver...................................................... 37

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 4444 6/22/20116/22/20116/22/20116/22/20112011-06-22

5.95.95.95.9 AT+CFTPGETAT+CFTPGETAT+CFTPGETAT+CFTPGET GetGetGetGet aaaa filefilefilefile fromfromfromfrom FTPFTPFTPFTP serverserverserverserver andandandand outputoutputoutputoutput itititit fromfromfromfrom SIOSIOSIOSIO............................................385.105.105.105.10 AT+CFTPPUTAT+CFTPPUTAT+CFTPPUTAT+CFTPPUT PutPutPutPut aaaa filefilefilefile totototo FTPFTPFTPFTP serverserverserverserver..........................................................................................405.115.115.115.11 UnsolicitedUnsolicitedUnsolicitedUnsolicited FTPFTPFTPFTPCodesCodesCodesCodes (Summary(Summary(Summary(Summary ofofofof CMECMECMECME ERRORERRORERRORERROR Codes)Codes)Codes)Codes).......................................................... 41

6666 HyperHyperHyperHyper TextTextTextText TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService................................................................................................426.16.16.16.1 AT+CHTTPACTAT+CHTTPACTAT+CHTTPACTAT+CHTTPACT ---- LaunchLaunchLaunchLaunch aaaa HTTPHTTPHTTPHTTP operationoperationoperationoperation................................................................................. 426.26.26.26.2 UnsolicitedUnsolicitedUnsolicitedUnsolicited HTTPHTTPHTTPHTTPCodesCodesCodesCodes (Summary(Summary(Summary(Summary ofofofof CMECMECMECME ERRORERRORERRORERROR Codes)Codes)Codes)Codes)....................................................... 44

7777 SecureSecureSecureSecure HyperHyperHyperHyper TextTextTextText TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService................................................................................... 457.17.17.17.1 AT+CHTTPSSTARTAT+CHTTPSSTARTAT+CHTTPSSTARTAT+CHTTPSSTART ---- AcquireAcquireAcquireAcquire HTTPSHTTPSHTTPSHTTPS protocolprotocolprotocolprotocol stackstackstackstack................................................................... 457.27.27.27.2 AT+CHTTPSSTOPAT+CHTTPSSTOPAT+CHTTPSSTOPAT+CHTTPSSTOP ---- ReleaseReleaseReleaseRelease HTTPSHTTPSHTTPSHTTPS protocolprotocolprotocolprotocol stackstackstackstack...................................................................... 457.37.37.37.3 AT+CHTTPSOPSEAT+CHTTPSOPSEAT+CHTTPSOPSEAT+CHTTPSOPSE –––– OpenOpenOpenOpen HTTPSHTTPSHTTPSHTTPS sessionsessionsessionsession..................................................................................... 457.47.47.47.4 AT+CHTTPSCLSEAT+CHTTPSCLSEAT+CHTTPSCLSEAT+CHTTPSCLSE –––– CloseCloseCloseClose HTTPSHTTPSHTTPSHTTPS sessionsessionsessionsession....................................................................................... 17.57.57.57.5 AT+CHTTPSSENDAT+CHTTPSSENDAT+CHTTPSSENDAT+CHTTPSSEND –––– SendSendSendSend HTTPSHTTPSHTTPSHTTPS RequestRequestRequestRequest......................................................................................27.67.67.67.6 AT+CHTTPSRECVAT+CHTTPSRECVAT+CHTTPSRECVAT+CHTTPSRECV –––– ReceiveReceiveReceiveReceive HTTPSHTTPSHTTPSHTTPS ResponseResponseResponseResponse.............................................................................. 37.77.77.77.7 UnsolicitedUnsolicitedUnsolicitedUnsolicited HTTPSHTTPSHTTPSHTTPS CodesCodesCodesCodes.................................................................................................................... 4

8888 SecureSecureSecureSecure FileFileFileFile TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService.................................................................................................. 58.18.18.18.1 AT+CFTPSSTARTAT+CFTPSSTARTAT+CFTPSSTARTAT+CFTPSSTART AcquireAcquireAcquireAcquire FTPSFTPSFTPSFTPS protocolprotocolprotocolprotocol stackstackstackstack........................................................................... 58.28.28.28.2 AT+CFTPSSTOPAT+CFTPSSTOPAT+CFTPSSTOPAT+CFTPSSTOP StopStopStopStop FTPSFTPSFTPSFTPS protocolprotocolprotocolprotocol stackstackstackstack................................................................................... 58.38.38.38.3 AT+CFTPSLOGINAT+CFTPSLOGINAT+CFTPSLOGINAT+CFTPSLOGIN LoginLoginLoginLogin thethethethe FTPSFTPSFTPSFTPS serverserverserverserver.....................................................................................58.48.48.48.4 AT+CFTPSLOGOUTAT+CFTPSLOGOUTAT+CFTPSLOGOUTAT+CFTPSLOGOUT LogoutLogoutLogoutLogout thethethethe FTPSFTPSFTPSFTPS serverserverserverserver...............................................................................68.58.58.58.5 AT+CFTPSMKDAT+CFTPSMKDAT+CFTPSMKDAT+CFTPSMKD CreateCreateCreateCreate aaaa newnewnewnew directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver.............................................................68.68.68.68.6 AT+CFTPSRMDAT+CFTPSRMDAT+CFTPSRMDAT+CFTPSRMD DeleteDeleteDeleteDelete aaaa directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver......................................................................78.78.78.78.7 AT+CFTPSDELAT+CFTPSDELAT+CFTPSDELAT+CFTPSDEL DeleteDeleteDeleteDelete aaaa filefilefilefile onononon FTPSFTPSFTPSFTPS serverserverserverserver................................................................................. 88.88.88.88.8 AT+CFTPSCWDAT+CFTPSCWDAT+CFTPSCWDAT+CFTPSCWD ChangeChangeChangeChange thethethethe currentcurrentcurrentcurrent directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver..................................................88.98.98.98.9 AT+CFTPSPWDAT+CFTPSPWDAT+CFTPSPWDAT+CFTPSPWD GetGetGetGet thethethethe currentcurrentcurrentcurrent directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver......................................................... 98.108.108.108.10 AT+CFTPSTYPEAT+CFTPSTYPEAT+CFTPSTYPEAT+CFTPSTYPE SetSetSetSet thethethethe transfertransfertransfertransfer typetypetypetype onononon FTPSFTPSFTPSFTPS serverserverserverserver.............................................................. 108.118.118.118.11 AT+CFTPSLISTAT+CFTPSLISTAT+CFTPSLISTAT+CFTPSLIST ListListListList thethethethe itemsitemsitemsitems inininin thethethethe directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver................................................ 108.128.128.128.12 AT+CFTPSGETFILEAT+CFTPSGETFILEAT+CFTPSGETFILEAT+CFTPSGETFILE GetGetGetGet aaaa filefilefilefile fromfromfromfrom FTPSFTPSFTPSFTPS serverserverserverserver totototo EFSEFSEFSEFS..........................................................118.138.138.138.13 AT+CFTPSPUTFILEAT+CFTPSPUTFILEAT+CFTPSPUTFILEAT+CFTPSPUTFILE PutPutPutPut aaaa filefilefilefile inininin modulemodulemodulemodule EFSEFSEFSEFS totototo FTPSFTPSFTPSFTPS serverserverserverserver..................................................138.148.148.148.14 AT+CFTPSGETAT+CFTPSGETAT+CFTPSGETAT+CFTPSGET GetGetGetGet aaaa filefilefilefile fromfromfromfrom FTPSFTPSFTPSFTPS serverserverserverserver totototo serialserialserialserial portportportport.........................................................148.158.158.158.15 AT+CFTPSPUTAT+CFTPSPUTAT+CFTPSPUTAT+CFTPSPUT PutPutPutPut aaaa filefilefilefile totototo FTPSFTPSFTPSFTPS serverserverserverserver..................................................................................... 158.168.168.168.16 AT+CFTPSSINGLEIPAT+CFTPSSINGLEIPAT+CFTPSSINGLEIPAT+CFTPSSINGLEIP SetSetSetSet FTPSFTPSFTPSFTPS datadatadatadata socketsocketsocketsocket addressaddressaddressaddress typetypetypetype..........................................................16

ContactContactContactContact usususus.....................................................................................................................................................18

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 5555 6/22/20116/22/20116/22/20116/22/20112011-06-22

1111 IntroductionIntroductionIntroductionIntroduction

1.11.11.11.1 ScopeScopeScopeScope

The present document describes the AT Command Set about Internet Service on the SIMCom Module.

More information about the SIMCom Module which includes the Software Version information can beretrieved by the command ATI. In this document, a short description, the syntax, the possible setting valuesand responses, and some examples of AT commands are presented.

Prior to using the Module, please read this document and the Version History to know the differencefrom the previous document.

In order to implement communication successfully between Customer Application and the Module, itis recommended to use the AT commands in this document, but not to use some commands which are notincluded in this document.

1.21.21.21.2 ReferencesReferencesReferencesReferences

The present document is based on the following standards:

[1] ETSI GSM 01.04: Abbreviations and acronyms.[2] 3GPP TS 27.007: AT command set for User Equipment (UE).

1.31.31.31.3 TermsTermsTermsTerms andandandandAbbreviationsAbbreviationsAbbreviationsAbbreviations

For the purposes of the present document, the following abbreviations apply:

� AT ATtention; the two-character abbreviation is used to start a command line to be sentfrom TE/DTE to TA/DCE� EDGE Enhanced Data GSM Environment� EGPRS Enhanced General Packet Radio Service� FTP File Transfer Protocol� GPRS General Packet Radio Service� GSM Global System for Mobile communications� HTTP Hyper Text Transfer Protocol� HSDPA High Speed Downlink Packet Access� HSUPA High Speed Uplink Packet Access� PIN Personal Identification Number� POP3 Post Office Protocol Version 3� POP3 client An client that can receive e-mail from POP3 server over TCP session� RTC Real Time Clock� SIM Subscriber Identity Module� SMTP Simple Mail Transfer Protocol

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 6666 6/22/20116/22/20116/22/20116/22/20112011-06-22

� SMTP client An client that can transfer text-based e-mail to SMTP server over TCP session� TA Terminal Adaptor; e.g. a data card (equal to DCE)� TE Terminal Equipment; e.g. a computer (equal to DTE)� UMTS Universal Mobile Telecommunications System� URC Unsolicited Result Code� USIM Universal Subscriber Identity Module� WCDMA Wideband Code Division Multiple Access

1.41.41.41.4 DefinitionsDefinitionsDefinitionsDefinitions andandandand conventionsconventionsconventionsconventions

1. For the purposes of the present document, the following syntactical definitions apply:

<CR><CR><CR><CR> Carriage return character.

<LF><LF><LF><LF> Linefeed character.

<<<<…………>>>> Name enclosed in angle brackets is a syntactical element. Brackets themselves do notappear in the command line.

[[[[…………]]]] Optional subparameter of AT command or an optional part of TA information responseis enclosed in square brackets. Brackets themselves do not appear in the command line.If subparameter is not given, its value equals to its previous value or the recommendeddefault value.

underlineunderlineunderlineunderline Underlined defined subparameter value is the recommended default setting or factorysetting.

2. Document conventions:

♦ Display the examples of AT commands with Italic format.♦ Not display blank-line between command line and responses or inside the responses.♦ Generally, the characters <CR> and <LF> are intentionally omitted throughout this document.♦ If command response is ERROR, not list the ERROR response inside command syntax.

NOTENOTENOTENOTE AT commands and responses in figures may be not following above conventions.

3. Special marks for commands or parameters:

SIM PIN – Is the command PIN protected?YES – AT command can be used only when SIM PIN is READY.NO – AT command can be used when SIM card is absent or SIM PIN validation is

pending.References – Where is the derivation of command?

3GPP TS 27.007 – 3GPP Technical Specification 127 007.V.25ter – ITU–T Recommendation V.25ter.Vendor – The command is supported by SIMCom.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 7777 6/22/20116/22/20116/22/20116/22/20112011-06-22

2222 ATATATAT InInInInterfaceterfaceterfaceterface SSSSynopsisynopsisynopsisynopsis

2.12.12.12.1 InterfaceInterfaceInterfaceInterface settingssettingssettingssettings

Between Customer Application and the Module, standardized RS–232 interface is used for thecommunication, and default values for the interface settings as following:

115200bps, 8 bit data, no parity, 1 bit stop, no data stream control.

2.22.22.22.2 ATATATAT commandcommandcommandcommand syntaxsyntaxsyntaxsyntax

The prefix “AT” or “at” (no case sensitive) must be included at the beginning of each command line(except A/ and +++), and the character <CR> is used to finish a command line so as to issue the commandline to the Module. It is recommended that a command line only includes a command.

When Customer Application issues a series of AT commands on separate command lines, leave a pausebetween the preceding and the following command until information responses or result codes are retrievedby Customer Application, for example, “OK” is appeared. This advice avoids too many AT commands areissued at a time without waiting for a response for each command.

In the present document, AT commands are divided into three categories: Basic Command, S ParameterCommand, and Extended Command.

1.1.1.1. BasicBasicBasicBasic CommandCommandCommandCommand

The format of Basic Command is “AT<x><n>” or “AT&<x><n>”, “<x>” is the command name, and“<n>” is/are the parameter(s) for the basic command, and optional. An example of Basic Command is“ATE<n>”, which informs the TA/DCE whether received characters should be echoed back to the TE/DTEaccording to the value of “<n>”; “<n>” is optional and a default value will be used if omitted.

2.2.2.2. SSSS ParameterParameterParameterParameter CommandCommandCommandCommand

The format of S Parameter Command is “ATS<n>=<m>”, “<n>” is the index of the S–register to set, and“<m>” is the value to assign to it. “<m>” is optional; in this case, the format is “ATS<n>”, and then a defaultvalue is assigned.

3.3.3.3. ExtendedExtendedExtendedExtended CommandCommandCommandCommand

The Extended Command has several formats, as following table list:

TableTableTableTable 2-1:2-1:2-1:2-1: TypesTypesTypesTypes ofofofof ExtendedExtendedExtendedExtended CommandCommandCommandCommand

CommandCommandCommandCommand TypeTypeTypeType SyntaxSyntaxSyntaxSyntax CommentsCommentsCommentsComments

Test Command AT+<NAME>=? Test the existence of the command; give someinformation about the command subparameters.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 8888 6/22/20116/22/20116/22/20116/22/20112011-06-22

Read Command AT+<NAME>? Check the current values of subparameters.

Write Command AT+<NAME>=<…> Set user-definable subparameter values.

Execution Command AT+<NAME> Read non-variable subparameters determined byinternal processes.

NOTENOTENOTENOTE The character “+” between the prefix “AT” and command name may be replaced by othercharacter. For example, using “#” or “$”instead of “+”.

2.32.32.32.3 InformationInformationInformationInformation responsesresponsesresponsesresponses

If the commands included in the command line are supported by the Module and the subparameters arecorrect if presented, some information responses will be retrieved by from the Module. Otherwise, theModule will report “ERROR” or “+CME ERROR” or “+CMS ERROR” to Customer Application.

Information responses start and end with <CR><LF>, i.e. the format of information responses is“<CR><LF><response><CR><LF>”. Inside information responses, there may be one or more <CR><LF>.Throughout this document, only the responses are presented, and <CR><LF> are intentionally omitted.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 9999 6/22/20116/22/20116/22/20116/22/20112011-06-22

3333 SimpleSimpleSimpleSimple MailMailMailMail TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService

Simple Mail Transfer Protocol (SMTP) is an internet standard for electronic mail (e-mail) transmissionacross Internet Protocol (IP) networks, and it is a text-based protocol.

To sending an e-mail successfully, TE must set some mandatory parameters for the SMTP clientcorrectly, such as SMTP server address, sender and recipient address. After the process of sending ane-mail is started, SMTP Client will initiates a Transmission Control Protocol (TCP) session with the SMTPserver to send e-mail header and body. In addition, attachments selected from file system can be sent alongwith an e-mail message, total size up to 10MB or maximal number up to 10.

Unsolicited Result Code (URC) “+SMTP: SUCCESS” is present from SMTP client to indicate thatsending an e-mail is successful, and the TCP session for SMTP service is closed. If sending an e-mail isunsuccessful, other URCs will be returned to TE.

Sender/recipient address and e-mail subject are used to construct the e-mail’s header. In addition, dataand time are also present in the e-mail’s header, which are gotten from the module. So it is recommended toset Real Time Clock (RTC) and time-zone for the module.

3.13.13.13.1 AT+AT+AT+AT+SMTPSRVSMTPSRVSMTPSRVSMTPSRV SMTPSMTPSMTPSMTP serverserverserverserver addressaddressaddressaddress andandandand portportportport numbernumbernumbernumber

DescriptionDescriptionDescriptionDescriptionThe synchronous command is used to set SMTP server address and server’s port number. SMTPclient will initiate TCP session with the specified server to send an e-mail. If the process of sendingan e-mail is ongoing, the command will return “ERROR” directly.Read command returns current SMTP server address and port number.Execution command will clear SMTP server address and set the port number as default value.NOTENOTENOTENOTE After an e-mail is sent successfully or unsuccessfully, SMTP server address and portnumber won’t be cleared.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPSRV=? +SMTPSRV: (list of supported <port>s)

OKRead Command ResponsesAT+SMTPSRV? +SMTPSRV: <server>, <port>

OKWrite Command ResponsesAT+SMTPSRV=<server>[, <port>]

OK

Execution Command Responses

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 10101010 6/22/20116/22/20116/22/20116/22/20112011-06-22

AT+SMTPSRV OK

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<server>SMTP server address, non empty string with double quotes, mandatory and ASCII text string up to128 characters.<port>Port number of SMTP server in decimal format, from 1 to 65535, and default port is 25 for SMTP.

ExamplesExamplesExamplesExamples

AT+SMTPSRV="smtp.server.com",25OKAT+SMTPSRV?+SMTPSRV: "smtp.server.com", 25OKAT+SMTPSRVOKAT+SMTPSRV?+SMTPSRV: "", 25OK

3.23.23.23.2 AT+AT+AT+AT+SMTPAUTHSMTPAUTHSMTPAUTHSMTPAUTH SMTPSMTPSMTPSMTPserverserverserverserver authenticationauthenticationauthenticationauthentication

DescriptionDescriptionDescriptionDescriptionThe synchronous command is used to control SMTP authentication during connection with SMTPserver. If SMTP server requires authentication while logging in the server, TE must set theauthentication control flag and provide user name and password correctly before sending an e-mail.If the process of sending an e-mail is ongoing, the command will return “ERROR” directly.Read command returns current SMTP server authentication control flag, if the flag is 0, both <user>and <pwd> are empty strings.Execution Command cancels SMTP server authentication and clear user name and password.NOTENOTENOTENOTE After an e-mail is sent successfully or unsuccessfully, server authentication won’t becleared.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPAUTH=? +SMTPAUTH: (list of supported <flag>s)

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 11111111 6/22/20116/22/20116/22/20116/22/20112011-06-22

OK

Read Command ResponsesAT+SMTPAUTH? +SMTPAUTH: <flag>, <user>, <pwd>

OK

Write Command ResponsesAT+SMTPAUTH=<flag>[, <user>, <pwd>]

OK

Execution Command ResponsesAT+SMTPAUTH OK

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<flag>SMTP server authentication control flag, integer type.

0 – SMTP server doesn’t require authentication, factory value.1 – SMTP server requires authentication.

<user>User name to be used for SMTP authentication, non empty string with double quotes and up to 128characters.<pwd>Password to be used for SMTP authentication, string with double quotes and up to 128 characters.NOTENOTENOTENOTE If <flag> is 0, <user> and <pwd> must be omitted (i.e. only <flag> is present).

ExamplesExamplesExamplesExamples

AT+SMTPAUTH?+SMTPAUTH: 0, “”, “”OKAT+SMTPAUTH=1,”username”,”password”OKAT+SMTPAUTH?+SMTPAUTH: 0, ”username”, ”password”OKAT+SMTPAUTHOKAT+SMTPAUTH?+SMTPAUTH: 0, “”, “”OK

3.33.33.33.3 AT+AT+AT+AT+SMTPFROMSMTPFROMSMTPFROMSMTPFROM SenderSenderSenderSender addressaddressaddressaddress andandandand namenamenamename

DescriptionDescriptionDescriptionDescription

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 12121212 6/22/20116/22/20116/22/20116/22/20112011-06-22

The synchronous command is used to set sender’s address and name, which are used to constructe-mail header. The sender’s address must be correct, and if the process of sending an e-mail isongoing, the command will return “ERROR” directly.Read command returns current sender’s address and name.Execution command will clear sender’s address and name.NOTENOTENOTENOTE After an e-mail is sent successfully or unsuccessfully, sender address and name won’t becleared.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPFROM=? OKRead Command ResponsesAT+SMTPFROM? +SMTPFROM: <saddr>, <sname>

OKWrite Command ResponsesAT+SMTPFROM=<saddr>[, <sname>]

OK

Execution Command ResponsesAT+SMTPFROM OK

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<saddr>E-mail sender address (MAIL FROM), non empty string with double quotes, mandatory and ASCIItext up to 128 characters. <saddr> will be present in the header of the e-mail sent by SMTP client inthe field: “From: ”.<sname>E-mail sender name, string with double quotes, and alphanumeric ASCII text up to 64 characters.<sname> will be present in the header of the e-mail sent by SMTP client in the field: “From: ”.

ExamplesExamplesExamplesExamples

AT+SMTPFROM="[email protected]","sendername"OKAT+SMTPFROM?+SMTPFROM: "[email protected]", "sendername"OKAT+SMTPFROMOKAT+SMTPFROM?

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 13131313 6/22/20116/22/20116/22/20116/22/20112011-06-22

+SMTPFROM: "", ""OK

3.43.43.43.4 AT+AT+AT+AT+SMTPRCPTSMTPRCPTSMTPRCPTSMTPRCPT RecipientRecipientRecipientRecipient addressaddressaddressaddress andandandand namenamenamename (TO/CC/BCC)(TO/CC/BCC)(TO/CC/BCC)(TO/CC/BCC)

DescriptionDescriptionDescriptionDescriptionThe synchronous command is used to set recipient address/name and kind (TO/CC/BCC). If onlythe parameter of “kind” is present, the command will clear all recipients of this kind, and if onlyparameters of “kind” and “index” are present, the command will clear the specified recipient. If theprocess of sending an e-mail is ongoing, the command will return “ERROR” directly.Read command returns current recipient address/name and kind list.Execution command will clear all recipient information.NOTENOTENOTENOTE After an e-mail is sent successfully, all recipients will be cleared, if unsuccessfully, theywon’t be cleared.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPRCPT=? +SMTPRCPT: (list of supported <kind>s), (list of supported

<index>s)OK

Read Command ResponsesAT+SMTPRCPT? [+SMTPRCPT: <kind>, <index>, <raddr>, <rname>

[<CR><LF>…]]OK

Write Command ResponsesAT+SMTPRCPT=<kind>[, <index>[,<raddr>[,<rname>]]]

OK

Execution Command ResponsesAT+SMTPRCPT OK

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<kind>Recipient kind, the kinds of TO and CC are used to construct e-mail header in the field: “To: ” or“Cc: ”.

0 – TO, normal recipient.1 – CC, Carbon Copy recipient.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 14141414 6/22/20116/22/20116/22/20116/22/20112011-06-22

2 – BCC, Blind Carbon Copy recipient.<index>Index of the kind of recipient, decimal format, and from 0 to 4.<raddr>Recipient address, non empty string with double quotes, and up to 128 characters.<rname>Recipient name, string type with double quotes, and up to 64 characters.

ExamplesExamplesExamplesExamples

AT+SMTPRCPT=0, 0, “[email protected]”, “rcptname_to”OKAT+SMTPRCPT?+SMTPRCPT: 0, 0, “[email protected]”, “rcptname_to”OKAT+SMTPRCPT=1, 0, “[email protected]”, “rcptname_cc”OKAT+SMTPRCPT?+SMTPRCPT: 0, 0, “[email protected]”, “rcptname_to”+SMTPRCPT: 1, 0, “[email protected]”, “rcptname_cc”OK

3.53.53.53.5 AT+AT+AT+AT+SMTPSUBSMTPSUBSMTPSUBSMTPSUB E-mailE-mailE-mailE-mail subjectsubjectsubjectsubject

DescriptionDescriptionDescriptionDescriptionThe synchronous command is used to set the subject of e-mail, which is used to construct e-mailheader. If the process of sending an e-mail is ongoing, the command will return “ERROR” directly.Read command returns current e-mail subject.Execution command will clear the subject.NOTENOTENOTENOTE After an e-mail is sent successfully, the subject will be cleared, if unsuccessfully, it won’tbe cleared.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPSUB=? OK

Read Command ResponsesAT+SMTPSUB? +SMTPSUB: <subject>

OK

Write Command Responses

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 15151515 6/22/20116/22/20116/22/20116/22/20112011-06-22

AT+SMTPSUB=<subject> OK

Execution Command ResponsesAT+SMTPSUB OK

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<subject>E-mail subject, string with double quotes, and ASCII text up to 512 characters. <subject> will bepresent in the header of the E-mail sent by SMTP client in the field: “Subject: ”.

ExamplesExamplesExamplesExamples

AT+SMTPSUB?+SMTPSUB: “”OKAT+SMTPSUB=”THIS IS A TEST MAIL”OKAT+SMTPSUB?+SMTPSUB: “THIS IS A TEST MAIL”OK

3.63.63.63.6 AT+AT+AT+AT+SMTPBODYSMTPBODYSMTPBODYSMTPBODY E-mailE-mailE-mailE-mail bodybodybodybody

DescriptionDescriptionDescriptionDescriptionThe command is used to set e-mail body, which will be sent to SMTP server with text format.Read command returns current e-mail body. If the process of sending an e-mail is ongoing, thecommand will return “ERROR” directly.Execute command will switch the serial port from command mode to data mode, so TE can entermore ASCII text as e-mail body (up to 5120), and CTRL-Z (ESC) is used to finish (cancel) theinput operation and switch the serial port back to command mode.NOTENOTENOTENOTE After an e-mail is sent successfully, the body will be cleared, if unsuccessfully, it won’t becleared.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPBODY=? OK

Read Command ResponsesAT+SMTPBODY? +SMTPBODY: <body>

OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 16161616 6/22/20116/22/20116/22/20116/22/20112011-06-22

Write Command ResponsesAT+SMTPBODY=<body> OK

Execution Command ResponsesAT+SMTPBODY >>

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<body>E-mail body, string with double quotes, and printable ASCII text up to 512 or 5120 characters.NOTENOTENOTENOTE In data mode, “BACKSPACE” can be used to cancel an ASCII character.

ExamplesExamplesExamplesExamples

AT+SMTPBODY=”THIS IS A TEST MAIL FROM SIMCOM MODULE”OKAT+SMTPBODY?+SMTPBODY: ”THIS IS A TEST MAIL FROM SIMCOM MODULE”OKAT+SMTPBODY>> This is a test mail.<CTRL-Z>OKAT+SMTPBODY?+SMTPBODY: ”This is a test mail.”OKAT+SMTPBODY>> This is a test mail.<ESC>OKAT+SMTPBODY?+SMTPBODY: “”OK

3.73.73.73.7 AT+AT+AT+AT+SMTPFILESMTPFILESMTPFILESMTPFILE SelectSelectSelectSelect attachmentattachmentattachmentattachment

DescriptionDescriptionDescriptionDescriptionThe synchronous command is used to select file as e-mail attachment. If the process of sending ane-mail is ongoing, the command will return “ERROR” directly.Read command returns current all selected attachments with full path.Execute command will clear all attachments.NOTENOTENOTENOTE After an e-mail is sent successfully, attachment will be cleared, if unsuccessfully, it won’tbe cleared. The same file can’t be selected twice.SIM PIN References

YES Vendor

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 17171717 6/22/20116/22/20116/22/20116/22/20112011-06-22

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPFILE=? +SMTPFILE: (list of supported <index>s)

OK

Read Command ResponsesAT+SMTPFILE? [+SMTPFILE: <index>, <filename>, <filesize>

[<CR><LF>…]]OK

Write Command ResponsesAT+SMTPFILE=<index>[, <filename>]

OK

[+SMTP: OVERSIZE]ERROR

Execution Command ResponsesAT+SMTPFILE OK

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<index>Index for attachments, from 1 to 10. According to the sequence of <index>, SMTP client willencode and send all attachments.<filename>String type with double quotes, the name of a file which is under current directory (refer to filesystem commands). SMTP client doesn’t allow two attachments with the same file name.<filesize>File size in decimal format. The total size of all attachments can’t exceed 10MB.

ExamplesExamplesExamplesExamples

AT+SMTPFILE=1,”file1.txt”OKAT+SMTPFILE?+SMTPFILE: 1, “D:/file1.txt”OKAT+SMTPFILE=2,”file2.txt”OKAT+SMTPFILE?+SMTPFILE: 1, “D:/file1.txt”+SMTPFILE: 2, “D:/file2.txt”OK

3.83.83.83.8 AT+AT+AT+AT+SMTPSENDSMTPSENDSMTPSENDSMTPSEND InitiateInitiateInitiateInitiate sessionsessionsessionsession andandandand sendsendsendsend e-maile-maile-maile-mail

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 18181818 6/22/20116/22/20116/22/20116/22/20112011-06-22

DescriptionDescriptionDescriptionDescriptionThe asynchronous command is used to initiate TCP session with SMTP server and send an e-mailafter all mandatory parameters have been set correctly. After SMTP client has connected withspecified SMTP server and SMTP client receives an indication that indicates SMTP server isworking well, the command will return “+SMTP: OK”, but it doesn’t indicate that the e-mail isalready sent successfully.After the e-mail is sent and the session is closed, an Unsolicited Result Code (URC) will bereturned to TE, “+SMTP: SUCCESS” indicates the e-mail is sent successfully, and other URCsindicate an failed result and the session is closed.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPSEND=? OK

Read Command ResponsesAT+SMTPSEND? +SMTPSEND: <ongoing>

OK

Execution Command ResponsesAT+SMTPSEND +SMTP: OK

OK

+SMTP: <code>

+SMTP: <code>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<ongoing>Whether or not an e-mail is sent in process. If the process of sending an e-mail is ongoing, SMTPclient can’t send the e-mail again.

0 – Not ongoing.1 – Ongoing.

<code>SUCCESS SMTP client has sent the e-mail successfully.ONGOING The process of sending an e-mail is ongoing.PARAM ERROR Mandatory parameter isn’t set (SMTP server, or sender/recipient address)NETWORK ERROR Invalid SMTP server.

Network is bad for establishing session or sending data to SMTP server.SERVER ERROR SMTP server released the session.

SMTP server rejects the operation with wrong response.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 19191919 6/22/20116/22/20116/22/20116/22/20112011-06-22

SMTP server doesn’t give SMTP client a response in time.AUTH REQUIRED Authentication is required by SMTP server.AUTH ERROR SMTP server rejects the session because of bad user name and password

combination.

ExamplesExamplesExamplesExamples

AT+SMTPSEND?+SMTPSEND: 0OKAT+SMTPSEND+SMTP: OKOK

+SMTP: SUCCESS

3.93.93.93.9 AT+AT+AT+AT+SMTPSTOPSMTPSTOPSMTPSTOPSMTPSTOP ForceForceForceForce totototo stopstopstopstop sendingsendingsendingsending e-maile-maile-maile-mail

DescriptionDescriptionDescriptionDescriptionThe synchronous command is used to force to stop sending e-mail and close the TCP session whilesending an e-mail is ongoing. Otherwise, the command will return “ERROR” directly.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+SMTPSTOP=? OK

Execution Command ResponsesAT+SMTPSTOP OK

ERROR

ExamplesExamplesExamplesExamples

AT+SMTPSEND?+SMTPSEND: 1OKAT+SMTPSTOPOK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 20202020 6/22/20116/22/20116/22/20116/22/20112011-06-22

4444 PostPostPostPost OfficeOfficeOfficeOffice ProtocolProtocolProtocolProtocol 3333 ServiceServiceServiceService

Post Office Protocol – Version 3 (POP3) is an application-layer internet standard protocol used bylocal e-mail client (POP3 client) to retrieve and delete e-mail from a remote POP3 server over a TCP/IPconnection.

Through AT commands, the POP3 client provides the basic functionality. Things that can be done viaPOP3 client include:

Retrieve e-mail from POP3 server and delete it on the server.Retrieve e-mail from POP3 server but not delete it on the server.Ask whether new e-mail has arrived but not retrieve it.Peek at e-mail whether it is worth retrieving.

4.14.14.14.1 AT+AT+AT+AT+POP3SRVPOP3SRVPOP3SRVPOP3SRV POP3POP3POP3POP3 serverserverserverserver andandandand accountaccountaccountaccount

DescriptionDescriptionDescriptionDescriptionThe synchronous command is used to set all parameters to get and e-mail from POP3 server,including server address, port number, user name and password. If POP3 client isn’t free, thecommand will return “ERROR” directly.Read command returns current all information about POP3 server and account.Execution command will clear POP3 server address, user name and password, and set server’s portnumber as default value.NOTENOTENOTENOTE After an e-mail is sent successfully or unsuccessfully, POP3 server and account informationwon’t be cleared.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3SRV=? +POP3SRV: (list of supported <port>s)

OKRead Command ResponsesAT+POP3SRV? +POP3SRV: <server>, <user>, <pwd>, <port>

OKWrite Command ResponsesAT+POP3SRV=<server>,<user>, <pwd>[, <port>]

OK

Execution Command ResponsesAT+POP3SRV OK

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 21212121 6/22/20116/22/20116/22/20116/22/20112011-06-22

<server>POP3 server address, non empty string with double quotes, mandatory and ASCII text string up to128 characters.<user>User name to log in POP3 server, non empty string with double quotes, and up to 128 characters.<pwd>Password to log in POP3 server, non empty string with double quotes, and up to 128 characters.<port>Port number of POP3 server in decimal format, from 1 to 65535, and default port is 110 for POP3.

ExamplesExamplesExamplesExamples

AT+POP3SRV=?+POP3SRV: (1-65535)OKAT+POP3SRV?+POP3SRV: “”, “”, “”, 110OKAT+POP3SRV=”pop3.server.com”, “user_name”, “password”, 110OKAT+POP3SRV?+POP3SRV: “pop3.server.com”, “user_name”, “password”, 110OKAT+POP3SRVOKAT+POP3SRV?+POP3SRV: “”, “”, “”, 110OK

4.24.24.24.2 AT+AT+AT+AT+POP3INPOP3INPOP3INPOP3IN LogLogLogLog inininin POP3POP3POP3POP3 serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThe asynchronous command is used to log in POP3 server and establish a session after POP3 serverand account information are set rightly. If the POP3 client logs in POP3 server successfully, theresponse “+POP3: SUCCESS” will be returned to TE; if no POP3 operation for a long time afterthe session is ready, POP3 server may release the session.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command Responses

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 22222222 6/22/20116/22/20116/22/20116/22/20112011-06-22

AT+POP3IN=? OKRead Command ResponsesAT+POP3IN? +POP3IN: “<server>”

OK+POP3IN: NULLOK

Execute Command ResponsesAT+POP3IN +POP3: SUCCESS

OK

+POP3: <code>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<code>NETWORK ERROR Invalid POP3 server or network is bad for establishing session or

sending data to POP3 server.SERVER ERROR POP3 server released the session.

POP3 server rejects the operation with wrong response.POP3 server doesn’t give POP3 client a response in time.

INVALID UN Invalid user name to log in POP3 server.INVALID UN/PWD Invalid user name and password combination to log in POP3 server.<server>The address of the POP3 server currently logged in.

ExamplesExamplesExamplesExamples

AT+POP3IN=?OKAT+POP3IN+POP3: SUCCESSOK

4.34.34.34.3 AT+AT+AT+AT+POP3NUMPOP3NUMPOP3NUMPOP3NUM GetGetGetGet e-maile-maile-maile-mail numbernumbernumbernumber andandandand totaltotaltotaltotal sizesizesizesize

DescriptionDescriptionDescriptionDescriptionThe asynchronous command is used to get e-mail number and total size on the specified POP3server after the POP3 client logs in POP3 server successfully and no other POP3 operation isongoing.SIM PIN References

YES Vendor

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 23232323 6/22/20116/22/20116/22/20116/22/20112011-06-22

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3NUM=? OK

Execution Command ResponsesAT+POP3NUM +POP3: <num>, <tsize>

OK

+POP3: <code>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<num>The e-mail number on the POP3 server, decimal format.<tsize>The total size of all e-mail and the unit is in Byte.<code>NETWORK ERROR Network is bad for sending data to POP3 server.SERVER ERROR POP3 server released the session.

POP3 server rejects the operation with wrong response.POP3 server doesn’t give POP3 client a response in time.

ExamplesExamplesExamplesExamples

AT+POP3NUM=?OKAT+POP3NUM+POP3: 1, 3057OKAT+POP3NUM+POP3: ONGOINGOK

4.44.44.44.4 AT+AT+AT+AT+POP3LISTPOP3LISTPOP3LISTPOP3LIST ListListListList e-maile-maile-maile-mail IDIDIDID andandandand sizesizesizesize

DescriptionDescriptionDescriptionDescriptionThe asynchronous command is used to list e-mail number and total size, e-mail ID and eache-mail’s size after the POP3 client logs in POP3 server successfully and no other POP3 operation isongoing. The e-mail ID may be used to do those operations: get e-mail header, get the whole e-mail,and mark an e-mail to delete from POP3 server.SIM PIN References

YES Vendor

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 24242424 6/22/20116/22/20116/22/20116/22/20112011-06-22

SyntaxSyntaxSyntaxSyntax SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3LIST=? OK

Write Command ResponsesAT+POP3LIST=<msg_id> +POP3: <msg_id>, <size>

OK

ERROR

Execution Command ResponsesAT+POP3LIST +POP3: <num> <tsize>

[<msg_id> <size>[<CR><LF>…]]OK

+POP3: <code>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<num>The e-mail number on the POP3 server, decimal format.<tsize>The total size of all e-mail and the unit is in Byte.<msg_id>The e-mail’s ID.<size>The size of e-mail <msg_id>, and the unit is in Byte.<code>NETWORK ERROR Network is bad for sending data to POP3 server.SERVER ERROR POP3 server released the session.

POP3 server rejects the operation with wrong response.POP3 server doesn’t give POP3 client a response in time.POP3 client gives wrong e-mail’s ID.

ExamplesExamplesExamplesExamples

AT+POP3LIST=?OKAT+POP3LIST+POP3: 1 30561 3056OKAT+POP3LIST=1+POP3: 1, 3056

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 25252525 6/22/20116/22/20116/22/20116/22/20112011-06-22

OK

4.54.54.54.5 AT+AT+AT+AT+POP3HDRPOP3HDRPOP3HDRPOP3HDR GetGetGetGet e-maile-maile-maile-mail headerheaderheaderheader

DescriptionDescriptionDescriptionDescriptionThe asynchronous command is used to retrieve e-mail’s sender address, date and sender address,that are present in the mail’s header.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3HDR=? OK

Write Command ResponsesAT+POP3HDR=<msg_id> From: [<from>]

Date: [<date>]Subject: [<sub>]OK

+POP3: <code>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<msg_id>The e-mail’s ID.<from>E-mail’s sender name and sender address from mail<date>E-mail’s date from mail header.<sub>E-mail’s subject from mail header.<code>NETWORK ERROR Network is bad for sending data to POP3 server.SERVER ERROR POP3 server released the session.

POP3 server rejects the operation with wrong response.POP3 server doesn’t give POP3 client a response in time.POP3 client gives wrong e-mail’s ID.

ExamplesExamplesExamplesExamples

AT+POP3HDR=1

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 26262626 6/22/20116/22/20116/22/20116/22/20112011-06-22

From: sendername<[email protected]>Date: Mon, 17 Aug 2009 14:09:27 +0800Subject: THIS IS A TEST MAIL

OK

4.64.64.64.6 AT+AT+AT+AT+POP3GETPOP3GETPOP3GETPOP3GET GetGetGetGet anananan e-maile-maile-maile-mail fromfromfromfrom POP3POP3POP3POP3 serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThe command is used to retrieve specified e-mail from the POP3 server. After retrieving an e-mailsuccessfully, POP3 client will create a directory and save the e-mail’s header and body into filesystem as file “EmailXYZ.TXT”, and save each attachment as a file under the same directory.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3GET=? OK

Write Command ResponsesAT+POP3GET=<msg_id>,[<get_type>]

OK

+POP3: <code><mail_dir>, <mail_file>

+POP3: <code>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<msg_id>The e-mail’s ID.<mail_dir>The directory for e-mail and attachment, string type without double quotes and the format is“YYMMDDHHMMSS” which is generated according to module’s RTC.According to the setting of command +FSLOCA (refer to file system commands), TE can select thelocation (local file system or storage card) in which POP3 client saves e-mail file and attachment.<mail_file>The file to save e-mail’s header and body, string type without double quotes. Usually, this file nameis “EMAIL000.TXT”, and if e-mail includes an attachment whose name is the same as the e-mailfile, the number in the e-mail file name will be increase by 1, e.g. “EMAIL001.TXT”,“EMAIL002.TXT”.<code>

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 27272727 6/22/20116/22/20116/22/20116/22/20112011-06-22

NETWORK ERROR Network is bad for sending or receiving data to POP3 server.SERVER ERROR POP3 server released the session.

POP3 server rejects the operation with wrong response.POP3 server doesn’t give POP3 client a response in time.POP3 client gives wrong e-mail’s ID.

FILE SYSTEM ERROR File system is bad for saving E-mail or attachment, storage space isn’tenough, or storage card is pulled out. If POP3 client encounters thiserror, POPE client will close the session with POP3 server.

SUCCESS POP3 client gets an e-mail from POP3 server successfully.FAILURE POP3 client gets an e-mail unsuccessfully.<get_type>The type to save when getting message from POP3 server:

1 – Save parsed body file and attachments2 – Save the whole message as a “.eml” file.3 – Save the parsed body file, attachments and eml file.

ExamplesExamplesExamplesExamples

AT+POP3GET=1OK

+POP3: SUCCESSC:/Email/090901120000/, EMAIL000.TXTAT+POP3GET=1,2OK

+POP3: SUCCESSC:/Email/090901120000/, 090901120000.emlAT+POP3GET=2OK

+POP3: FAILURE

4.74.74.74.7 AT+AT+AT+AT+POP3DELPOP3DELPOP3DELPOP3DEL MarkMarkMarkMark anananan e-maile-maile-maile-mail totototo deletedeletedeletedelete fromfromfromfrom POP3POP3POP3POP3 serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThe asynchronous command is used to mark an e-mail to delete from POP3 server. The operationonly marks an e-mail on the server to delete it, and after POP3 client logs out POP3 server andcloses the session normally, the marked e-mail is deleted on the server. Otherwise, the e-mail isn’tdeleted.SIM PIN References

YES Vendor

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 28282828 6/22/20116/22/20116/22/20116/22/20112011-06-22

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3DEL=? OK

Write Command ResponsesAT+POP3DEL=<msg_id> +POP3: SUCCESS

OK

+POP3: <code>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<msg_id>E-mail’s ID for mark to delete it on POP3 server.<code>NETWORK ERROR Network is bad for sending data to POP3 server.SERVER ERROR POP3 server released the session.

POP3 server rejects the operation with wrong response.POP3 server doesn’t give POP3 client a response in time.POP3 client gives wrong e-mail’s ID.

ExamplesExamplesExamplesExamples

AT+POP3DEL=1+POP3: SUCCESSOK

4.84.84.84.8 AT+AT+AT+AT+POP3OUTPOP3OUTPOP3OUTPOP3OUT LogLogLogLog outoutoutout POP3POP3POP3POP3 serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThe command will log out the POP3 server and close the session, and if there are some e-mailswhich are marked to delete, it also informs POP3 server to delete the marked e-mails.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3OUT=? OK

Execution Command ResponsesAT+POP3OUT +POP3: SUCCESS

OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 29292929 6/22/20116/22/20116/22/20116/22/20112011-06-22

+POP3: <code>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<code>NETWORK ERROR Network is bad for sending data to POP3 server.SERVER ERROR POP3 server released the session.

POP3 server rejects the operation with wrong response.POP3 server doesn’t give POP3 client a response in time.POP3 client gives wrong e-mail’s ID.

ExamplesExamplesExamplesExamples

AT+POP3OUT+POP3: SUCCESSOK

4.94.94.94.9 AT+AT+AT+AT+POP3STOPPOP3STOPPOP3STOPPOP3STOP ForceForceForceForce totototo stopstopstopstop receivingreceivingreceivingreceiving e-mail/closee-mail/closee-mail/closee-mail/close thethethethe sessionsessionsessionsession

DescriptionDescriptionDescriptionDescriptionThe synchronous command is used to force to close the session, and if the process of receivinge-mail is ongoing, the command also stops the operation. Otherwise, the command will return“ERROR” directly. If an e-mail has been marked to delete, POP3 server won’t delete the e-mailafter the session is closed.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3STOP=? OK

Execution Command ResponsesAT+POP3STOP OK

ERROR

ExamplesExamplesExamplesExamples

AT+POP3STOPOK

4.104.104.104.10 AT+AT+AT+AT+POP3READPOP3READPOP3READPOP3READ ReadReadReadRead anananan e-maile-maile-maile-mail fromfromfromfrom filefilefilefile systemsystemsystemsystem

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 30303030 6/22/20116/22/20116/22/20116/22/20112011-06-22

DescriptionDescriptionDescriptionDescriptionThe command is used to read an e-mail from file system. If the process of receiving e-mail isongoing, the command can’t read an e-mail.Execution command is used to read the e-mail which is received just now.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+POP3READ=? OK

Write Command ResponsesAT+POP3READ=<location>, <mail_file>

<e-mail>OK

ERROR

Execution Command ResponsesAT+POP3READ <e-mail>

OK

ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<location>The location from which TE reads an e-mail.

0 – Local file system.1 – Storage card.

<mail_file>The e-mail’s file name, string type with double quotes and including a directory name and a text filename separated by the list separator “/”, e.g. “090901103000/EMAIL000.TXT”.<e-mail>The content of e-mail, including e-mail header and body.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 31313131 6/22/20116/22/20116/22/20116/22/20112011-06-22

5555 FileFileFileFile TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService

5.15.15.15.1 AT+AT+AT+AT+CFTPPORTCFTPPORTCFTPPORTCFTPPORT SetSetSetSet FTPFTPFTPFTP serverserverserverserver portportportport

DescriptionDescriptionDescriptionDescriptionThe command is used to set FTP server port.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPPORT=? +CFTPPORT: (list of supported <port>s)

OKRead Command ResponsesAT+CFTPPORT? +CFTPPORT: <port>

OKWrite Command ResponsesAT+CFTPPORT=<port> OK

+CME ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<port>The FTP server port, from 1 to 65535, and default value is 21.

ExamplesExamplesExamplesExamples

AT+CFTPPORT=21OKAT+CFTPPORT?+CFTPPORT:21OKAT+CFTPPORT=?+CFTPPORT: (1-65535)OK

5.25.25.25.2 AT+AT+AT+AT+CFTPMODECFTPMODECFTPMODECFTPMODE SetSetSetSet FTPFTPFTPFTPmodemodemodemode

DescriptionDescriptionDescriptionDescription

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 32323232 6/22/20116/22/20116/22/20116/22/20112011-06-22

The command is used to set FTP passive/proactive mode. Default is proactive mode.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPMODE=? +CFTPMODE: (list of supported <mode>s)

OKRead Command ResponsesAT+CFTPMODE? +CFTPMODE: <mode>

OKWrite Command ResponsesAT+CFTPMODE=<mode> OK

+CME ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<mode>The FTP access mode:

0 – proactive mode.1 – passive mode.

ExamplesExamplesExamplesExamples

AT+CFTPMODE=1OKAT+CFTPMODE?+CFTPMODE: 1OKAT+CFTPMODE=?+CFTPMODE: (0,1)OK

5.35.35.35.3 AT+AT+AT+AT+CFTPTYPECFTPTYPECFTPTYPECFTPTYPE SetSetSetSet FTPFTPFTPFTP typetypetypetype

DescriptionDescriptionDescriptionDescriptionThe command is used to set FTP type. Default is binary type.

SIM PIN References

YES Vendor

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 33333333 6/22/20116/22/20116/22/20116/22/20112011-06-22

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPTYPE=? +CFTPTYPE: (list of supported <type>s)

OKRead Command ResponsesAT+CFTPTYPE? +CFTPTYPE: <type>

OKWrite Command ResponsesAT+CFTPTYPE=<type> OK

+CME ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<type>The FTP type:

I – binary type.A – ASCII type.

ExamplesExamplesExamplesExamples

AT+CFTPTYPE=AOKAT+CFTPTYPE?+CFTPTYPE: AOKAT+CFTPTYPE=?+CFTPTYPE: (A,I)OK

5.45.45.45.4 AT+AT+AT+AT+CFTPSERVCFTPSERVCFTPSERVCFTPSERV SetSetSetSet FTPFTPFTPFTP serverserverserverserver domaindomaindomaindomain namenamenamename orororor IPIPIPIPaddressaddressaddressaddress

DescriptionDescriptionDescriptionDescriptionThe command is used to set FTP server domain name or IP address.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSERV=? +CFTPSERV: “ADDRESS”

OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 34343434 6/22/20116/22/20116/22/20116/22/20112011-06-22

Read Command ResponsesAT+CFTPSERV? +CFTPSERV: ”<address>”

OKWrite Command ResponsesAT+CFTPSERV=”<address>”

OK

+CME ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<address>The FTP server domain name or IP address.

ExamplesExamplesExamplesExamples

AT+CFTPSERV=”www.mydomain.com”OKAT+CFTPSERV?+CFTPSERV: “www.mydomain.com”OKAT+CFTPSERV=?+CFTPSERV: ”ADDRESS”OKAT+CFTPSERV=”10.0.0.127”OK

5.55.55.55.5 AT+AT+AT+AT+CFTPUNCFTPUNCFTPUNCFTPUN SetSetSetSet useruseruseruser namenamenamename forforforfor FTPFTPFTPFTPaccessaccessaccessaccess

DescriptionDescriptionDescriptionDescriptionThe command is used to set user name for FTP server access.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPUN=? +CFTPUN: “NAME”

OKRead Command ResponsesAT+CFTPUN? +CFTPUN: “<name>”

OKWrite Command ResponsesAT+CFTPUN=“<name>” OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 35353535 6/22/20116/22/20116/22/20116/22/20112011-06-22

+CME ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<name>The user name for FTP server access.

ExamplesExamplesExamplesExamples

AT+CFTPUN=”myname”OKAT+CFTPUN=”anonymous”OKAT+CFTPUN?+CFTPUN: “myname”OKAT+CFTPUN=?+CFTPUN: ”NAME”OK

5.65.65.65.6 AT+AT+AT+AT+CFTPPWCFTPPWCFTPPWCFTPPW SetSetSetSet useruseruseruser passwordpasswordpasswordpassword forforforfor FTPFTPFTPFTPaccessaccessaccessaccess

DescriptionDescriptionDescriptionDescriptionThe command is used to set user password for FTP server access.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPPW=? +CFTPPW: “password”

OKRead Command ResponsesAT+CFTPPW? +CFTPPW: “<password>”

OKWrite Command ResponsesAT+CFTPPW=“<password>”

OK

+CME ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<password>

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 36363636 6/22/20116/22/20116/22/20116/22/20112011-06-22

The user password for FTP server access.

ExamplesExamplesExamplesExamples

AT+CFTPPW=”mypass”OKAT+CFTPPW?+CFTPPW: “mypass”OKAT+CFTPPW=?+CFTPPW: ”mypass”OK

5.75.75.75.7 AT+AT+AT+AT+CFTPGETFILECFTPGETFILECFTPGETFILECFTPGETFILE GetGetGetGet aaaa filefilefilefile fromfromfromfrom FTPFTPFTPFTP serverserverserverserver totototo EFSEFSEFSEFS

DescriptionDescriptionDescriptionDescriptionThe command is used to download a file from FTP server to module EFS.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPGETFILE=? +CFTPGETFILE: [{non-ascii}]“FILEPATH”, (0-8)

OKWrite Command ResponsesAT+CFTPGETFILE=“<filepath>”,<dir>

OK+CFTPGETFILE: 0

+CME ERROR

OK+CFTPGETFILE: <err>

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filepath>The remote file path. When the file path doesn’t contain ”/”, this command transfers file from thecurrent remote FTP directory. If the file path contains non-ASCII characters, the file path parametershould contain a prefix of {non-ascii}.<dir>The directory to save the downloaded file:

0 – current directory [refer to AT+FSCD]1 – “C:/Picture” directory

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 37373737 6/22/20116/22/20116/22/20116/22/20112011-06-22

2 – “C:/Video” directory3 – “C:/VideoCall” directory4 – “D:/Picture” directory5 – “D:/Video” directory6 – “D:/VideoCall” directory7 – “C:/Audio” directory8 – “D:/Audio” directory

<err>The error code of FTP operation.

ExamplesExamplesExamplesExamples

AT+CFTPGETFILE=”/pub/mydir/test1.txt”,1OK…+CFTPGETFILE: 0AT+CFTPGETFILE=” test2.txt”,2OK…+CFTPGETFILE: 0AT+CFTPGETFILE={non-ascii}” B2E2CAD42E747874”,2OK…+CFTPGETFILE: 0AT+CFTPGETFILE=?+CFTPGETFILE: [{non-ascii}]“FILEPATH”,(0-8)OK

5.85.85.85.8 AT+AT+AT+AT+CFTPPUTFILECFTPPUTFILECFTPPUTFILECFTPPUTFILE PutPutPutPut aaaa filefilefilefile inininin modulemodulemodulemodule EFSEFSEFSEFS totototo FTPFTPFTPFTP serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThe command is used to upload a file in the module EFS to FTP server.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPPUTFILE=? +CFTPPPUTFILE: [{non-ascii}] “FILEPATH”, (0-8)

OKWrite Command ResponsesAT+CFTPPUTFILE= OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 38383838 6/22/20116/22/20116/22/20116/22/20112011-06-22

“<filepath>”,<dir> +CFTPPUTFILE: 0

+CME ERROR

OK+CFTPPUTFILE: <err>

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filepath>The remote file path. When the file path doesn’t contain “/”, this command transfers file to thecurrent remote FTP directory. If the file path contains non-ASCII characters, the file path parametershould contain a prefix of {non-ascii}.<dir>The directory that contains the file to be uploaded:

0 – current directory [refer to AT+FSCD]1 – “C:/Picture” directory2 – “C:/Video” directory3 – “C:/VideoCall” directory4 – “D:/Picture” directory5 – “D:/Video” directory6 – “D:/VideoCall” directory7 – “C:/Audio” directory8 – “D:/Audio” directory

<err>The error code of FTP operation.

ExamplesExamplesExamplesExamples

AT+CFTPPUTFILE=”/pub/mydir/test1.txt”,1OKAT+CFTPPUTFILE=” test2.txt”,1OK…+CFTPPUTFILE: 0AT+CFTPPUTFILE={non-ascii}” B2E2CAD42E747874”,1OK…+CFTPPUTFILE: 0AT+CFTPPUTFILE=?+CFTPPUTFILE: [{non-ascii}]“FILEPATH”,(0-8)OK

5.95.95.95.9 AT+AT+AT+AT+CFTPGETCFTPGETCFTPGETCFTPGET GetGetGetGet aaaa filefilefilefile fromfromfromfrom FTPFTPFTPFTP serverserverserverserver andandandand outputoutputoutputoutput itititit fromfromfromfrom SIOSIOSIOSIO

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 39393939 6/22/20116/22/20116/22/20116/22/20112011-06-22

DescriptionDescriptionDescriptionDescriptionThe command is used to get a file from FTP server and output it to serial port. This commandmay have a lot of DATA transferred to DTE using serial port, The AT+CATR command isrecommended to be used.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPGET=? +CFTPGET: [{non-ascii}] “FILEPATH”

OKWrite Command ResponsesAT+CFTPGET=“<filepath>”

OK+CFTPGET: DATA,<len>…+CFTPGET: DATA, <len>……+CFTPGET: 0

+CME ERROR

+CFTPGET: DATA, <len>…+CFTPGET: DATA, <len>……+CFTPGET: <err>

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filepath>The remote file path. When the file path doesn’t contain ”/”, this command transfer file from thecurrent remote FTP directory. If the file path contains non-ASCII characters, the file path parametershould contain a prefix of {non-ascii}.<len>The length of FTP data contained in this packet.<err>The error code of FTP operation.

ExamplesExamplesExamplesExamples

AT+CFTPGET=”/pub/mydir/test1.txt”OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 40404040 6/22/20116/22/20116/22/20116/22/20112011-06-22

+CFTPGET: DATA, 1020,…+CFTPGET: DATA, 1058,……+CFTPGET: 0AT+CFTPGET={non-ascii}”/2F74657374646972/B2E2CAD42E747874”OK+CFTPGET: DATA, 1020,…+CFTPGET: 0AT+CFTPGET=?+CFTPGET:[{non-ascii}] “FILEPATH”OK

5.105.105.105.10 AT+AT+AT+AT+CFTPPUTCFTPPUTCFTPPUTCFTPPUT PutPutPutPut aaaa filefilefilefile totototo FTPFTPFTPFTP serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThe command is used to put a file to FTP server using the data got from serial port. Each <Ctrl+Z>character present in the data flow of serial port when downloading FTP data will be coded as<ETX><Ctrl+Z>. Each <ETX> character will be coded as <ETX><ETX>. Single <Ctrl+Z> meansend of the FTP data.<ETX> is 0x03, and <Ctrl+Z> is 0x1A.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPPUT=? +CFTPPUT: [{non-ascii}] “FILEPATH”

OKExecution Command ResponsesAT+CFTPPUT=“<filepath>” +CFTPPUT: BEGIN

OK

+CME ERROR

+CFTPPUPT: BEGIN+CME ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filepath>The remote file path. When the file path doesn’t contain “/”, this command transfers file to the

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 41414141 6/22/20116/22/20116/22/20116/22/20112011-06-22

current remote FTP directory. If the file path contains non-ASCII characters, the file path parametershould contain a prefix of {non-ascii}.

ExamplesExamplesExamplesExamples

AT+CFTPPUT=”/pub/mydir/test1.txt”+CFTPPUT: BEGIN…..<Ctrl+Z>OKAT+CFTPPUT={non-ascii}”/2F74657374646972/B2E2CAD42E747874”+CFTPPUT: BEGIN…..<Ctrl+Z>OKAT+CFTPPUT=?+CFTPPUT: [{non-ascii}]“FILEPATH”OK

5.115.115.115.11 UnsolicitedUnsolicitedUnsolicitedUnsolicited FTPFTPFTPFTPCodeCodeCodeCodessss (Summary(Summary(Summary(Summary ofofofof CMECMECMECME ERRORERRORERRORERRORCodes)Codes)Codes)Codes)

Code of <err> Description201 Unknown error for FTP202 FTP task is busy203 Failed to resolve server address204 FTP timeout205 Failed to read file206 Failed to write file207 Not allowed in current state208 Failed to login209 Failed to logout210 Failed to transfer data211 FTP command rejected by server212 Memory error213 Invalid parameter214 Network error

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 42424242 6/22/20116/22/20116/22/20116/22/20112011-06-22

6666 HyperHyperHyperHyper TTTTextextextext TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService

6.16.16.16.1 AT+AT+AT+AT+CHTTPACTCHTTPACTCHTTPACTCHTTPACT ---- LaunchLaunchLaunchLaunch aaaa HTTPHTTPHTTPHTTPoperationoperationoperationoperation

DescriptionDescriptionDescriptionDescriptionThe command is used to launch a HTTP operation like GET or POST. Each <Ctrl+Z> characterpresented in the data flow of serial port will be coded as <ETX><Ctrl+Z>. Each <ETX> characterwill be coded as <ETX><ETX>. Single <Ctrl+Z> means end of the HTTP request data or end ofthe HTTP responded data.<ETX> is 0x03, and <Ctrl+Z> is 0x1A.For this command there may be a lot of DATA which need to be transferred to DTE using serialport, it is recommended that the AT+CATR will be used.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CHTTPACT=? +CHTTPACT: “ADDRESS”, (1-65535)

OKWrite Command ResponsesAT+CHTTPACT=“<address>”,<port>

+CHTTPACT: REQUEST+CHTTPACT: DATA, <len>…+CHTTPACT: DATA, <len>……+CHTTPACT: 0

+CME ERROR

+CHTTPACT: REQUEST+CME ERROR

+CHTTPACT: REQUEST+CHTTPACT: <err>

+CHTTPACT: REQUEST+CHTTPACT: DATA, <len>…+CHTTPACT: DATA, <len>……+CHTTPACT: <err>

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 43434343 6/22/20116/22/20116/22/20116/22/20112011-06-22

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<address>The HTTP server domain name or IP address.<port>The HTTP server port.<len>The length of HTTP data in the packet.<err>The error code of HTTP operation.

ExamplesExamplesExamplesExamples

AT+CHTTPACT=”www.mywebsite.com”,80+CHTTPACT: REQUESTGET http://www.mywebsite.com/index.html HTTP/1.1Host: www.mywebsite.comUser-Agent: MY WEB AGENTContent-Length: 0<Ctrl+Z><Ctrl+Z><Ctrl+Z><Ctrl+Z>OK+CHTTPACT: DATA, 249HTTP/1.1 200 OKContent-Type: text/htmlContent-Language: zh-CNContent-Length: 57Date: Tue, 31 Mar 2009 01:56:05 GMTConnection: CloseProxy-Connection: Close

<html><header>test</header><body>Test body</body>+CHTTPACT: 0AT+CHTTPACT=”www.mywebsite.com”,80+CHTTPACT: REQUESTPOST http://www.mywebsite.com/mydir/test.jsp HTTP/1.1Host: www.mywebsite.comUser-Agent: MY WEB AGENTAccept: */*Content-Type: application/x-www-form-urlencodedCache-Control: no-cache

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 44444444 6/22/20116/22/20116/22/20116/22/20112011-06-22

Accept-Charset: utf-8, us-asciiPragma: no-cacheContent-Length: 29

myparam1=test1&myparam2=test2<Ctrl+Z><Ctrl+Z><Ctrl+Z><Ctrl+Z>OK+CHTTPACT: DATA, 234HTTP/1.1 200 OKContent-Type: text/htmlContent-Language: zh-CNContent-Length: 54Date: Tue, 31 Mar 2009 01:56:05 GMTConnection: CloseProxy-Connection: Close

<html><header>result</header><body>Result is OK</body>+CHTTPACT: 0AT+CHTTPACT=?+CHTTPACT: “ADDRESS”,(1-65535)OK

6.26.26.26.2 UnsolicitedUnsolicitedUnsolicitedUnsolicited HTTPHTTPHTTPHTTPCodeCodeCodeCodessss (Summary(Summary(Summary(Summary ofofofof CMECMECMECME ERRORERRORERRORERRORCodes)Codes)Codes)Codes)

Code of <err> Description220 Unknown error for HTTP221 HTTP task is busy222 Failed to resolve server address223 HTTP timeout224 Failed to transfer data225 Memory error226 Invalid parameter227 Network error

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 45454545 6/22/20116/22/20116/22/20116/22/20112011-06-22

7777 SecureSecureSecureSecure HyperHyperHyperHyper TTTTextextextext TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService

7.17.17.17.1 AT+AT+AT+AT+CHTTPSSTARTCHTTPSSTARTCHTTPSSTARTCHTTPSSTART ---- AcquireAcquireAcquireAcquire HTTPSHTTPSHTTPSHTTPS protocolprotocolprotocolprotocol stackstackstackstack

DescriptionDescriptionDescriptionDescriptionThis command is used to acquire HTTPS protocol stack.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Execute Command Responses

AT+CHTTPSSTART OKERROR

ExamplesExamplesExamplesExamples

AT+CHTTPSSTARTOK

7.27.27.27.2 AT+AT+AT+AT+CHTTPSSTOPCHTTPSSTOPCHTTPSSTOPCHTTPSSTOP ---- ReleaseReleaseReleaseRelease HTTPSHTTPSHTTPSHTTPS protocolprotocolprotocolprotocol stackstackstackstack

DescriptionDescriptionDescriptionDescriptionThis command is used to release HTTPS protocol stack.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Execute Command Responses

AT+CHTTPSSTOP OKERROR

ExamplesExamplesExamplesExamples

AT+CHTTPSSTOPOK

7.37.37.37.3 AT+AT+AT+AT+CHTTPSOPSECHTTPSOPSECHTTPSOPSECHTTPSOPSE –––– OpenOpenOpenOpen HTTPSHTTPSHTTPSHTTPS sessionsessionsessionsession

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 1111 6/22/20116/22/20116/22/20116/22/20112011-06-22

DescriptionDescriptionDescriptionDescriptionThis command is used to open a new HTTPS session. Every time, the module must callAT+CHTTPSSTART before calling AT+CHTTPSOPSE.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Write Command Responses

AT+CHTTPSOPSE=”<host>”,<port>

OKERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<host>The host address<port>The host listening port for SSL

ExamplesExamplesExamplesExamples

AT+CHTTPSOPSE=”www.mywebsite.com”,443OK

7.47.47.47.4 AT+AT+AT+AT+CHTTPSCLSECHTTPSCLSECHTTPSCLSECHTTPSCLSE –––– CloseCloseCloseClose HTTPSHTTPSHTTPSHTTPS sessionsessionsessionsession

DescriptionDescriptionDescriptionDescriptionThis command is used to close the opened HTTPS session.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Execute Command Responses

AT+CHTTPSCLSE OKERROR

ExamplesExamplesExamplesExamples

AT+CHTTPSCLSEOK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 2222 6/22/20116/22/20116/22/20116/22/20112011-06-22

7.57.57.57.5 AT+AT+AT+AT+CHTTPSSENDCHTTPSSENDCHTTPSSENDCHTTPSSEND –––– SendSendSendSend HTTPSHTTPSHTTPSHTTPS RequestRequestRequestRequest

DescriptionDescriptionDescriptionDescriptionThis command is used to send HTTPS request. The AT+CHTTPSSEND=<len> is used todownload the data to be sent. The AT+CHTTPSSEND is used to wait the result of sending.SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CHTTPSSEND=? +CHTTPSSEND: (1-4096)

OKRead Command ResponsesAT+CHTTPSSEND? +CHTTPSSEND: <unsent_len>

OKWrite Command ResponsesAT+CMMSSEND=<len> >

OKERROR

Execute Command Responses

AT+CHTTPSSEND OK+CHTTPSSEND: <result>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<unsent_len>The length of the data in the sending buffer which is waiting to be sent.<len>The length of the data to send<result>The final result of the sending.

ExamplesExamplesExamplesExamples

AT+CMMSSEND=88>GET / HTTP/1.1Host: www.mywebsite.comUser-Agent: MY WEB AGENTContent-Length: 0

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 3333 6/22/20116/22/20116/22/20116/22/20112011-06-22

OKAT+CHTTPSSENDOK+CHTTPSSEND: 0AT+CHTTPSSEND?+CHTTPSSEND: 88OK

7.67.67.67.6 AT+AT+AT+AT+CHTTPSRECVCHTTPSRECVCHTTPSRECVCHTTPSRECV –––– ReceiveReceiveReceiveReceive HTTPSHTTPSHTTPSHTTPS ResponseResponseResponseResponse

DescriptionDescriptionDescriptionDescriptionThis command is used to receive HTTPS response after sending HTTPS request.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Write Command Responses

AT+CHTTPSRECV=<recv_len>

OK+CHTTPSRECV: DATA,<len>…+CHTTPSRECV: DATA,<len>…+CHTTPSRECV:<result>+CHTTPSRECV:<result>ERRORERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<recv_len>The minimum length of the data to be received. The final length of the received data may be largerthan the requested length.<len>The length of the data received.<result>The final result of the receiving.

ExamplesExamplesExamplesExamples

AT+CHTTPSRECV=1OK+CHTTPSRECV: DATA,249

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 4444 6/22/20116/22/20116/22/20116/22/20112011-06-22

HTTP/1.1 200 OKContent-Type: text/htmlContent-Language: zh-CNContent-Length: 57Date: Tue, 31 Mar 2009 01:56:05 GMTConnection: CloseProxy-Connection: Close

<html><header>test</header><body>Test body</body>

+CHTTPSRECV: 0

7.77.77.77.7 UnsolicitedUnsolicitedUnsolicitedUnsolicited HTTPSHTTPSHTTPSHTTPS CodeCodeCodeCodessss

Code of <err> Description+CHTTPS: RECV EVENT When the AT+CHTTPSRECV is not being called, and there is data

cached in the receiving buffer, this event will be reported.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 5555 6/22/20116/22/20116/22/20116/22/20112011-06-22

8888 SecureSecureSecureSecure FileFileFileFile TransferTransferTransferTransfer ProtocolProtocolProtocolProtocol ServiceServiceServiceService

8.18.18.18.1 AT+AT+AT+AT+CFTPSSTARTCFTPSSTARTCFTPSSTARTCFTPSSTART AcquireAcquireAcquireAcquire FTPSFTPSFTPSFTPS protocolprotocolprotocolprotocol stackstackstackstack

DescriptionDescriptionDescriptionDescriptionThis command is used to acquire FTPS protocol stack.

SyntaxSyntaxSyntaxSyntax

Execute Command Responses

AT+CFTPSSTART OKERROR

ExamplesExamplesExamplesExamples

AT+CFTPSSTARTOK

8.28.28.28.2 AT+AT+AT+AT+CFTPSSTOPCFTPSSTOPCFTPSSTOPCFTPSSTOP StopStopStopStop FTPSFTPSFTPSFTPS protocolprotocolprotocolprotocol stackstackstackstack

DescriptionDescriptionDescriptionDescriptionThis command is used to stop FTPS protocol stack. Currently only explicit FTPS mode issupported.

SyntaxSyntaxSyntaxSyntax

Execute Command Responses

AT+CFTPSSTOP OKERROR

ExamplesExamplesExamplesExamples

AT+CFTPSSTOPOK

8.38.38.38.3 AT+AT+AT+AT+CFTPSLOGINCFTPSLOGINCFTPSLOGINCFTPSLOGIN LoginLoginLoginLogin thethethethe FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to login the FTPS server. Each time, the module must callAT+CFTPSSTART before calling AT+CFTPSLOGIN.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 6666 6/22/20116/22/20116/22/20116/22/20112011-06-22

SyntaxSyntaxSyntaxSyntax

Write Command Responses

AT+CFTPSLOGIN=”<host>”,<port>,”<username>”, ”<password>”

OKERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<host>The host address<port>The host listening port for SSL<username>The user name<password>The password

ExamplesExamplesExamplesExamples

AT+CFTPSLOGIN=”www.myftpsserver.com”,990, ”myname”, ”mypassword”OK

8.48.48.48.4 AT+AT+AT+AT+CFTPSLOGOUTCFTPSLOGOUTCFTPSLOGOUTCFTPSLOGOUT LogoutLogoutLogoutLogout thethethethe FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to logout the FTPS server.

SyntaxSyntaxSyntaxSyntax

Execute Command Responses

AT+CFTPSLOGOUT OKERROR

ExamplesExamplesExamplesExamples

AT+CFTPSLOGOUTOK

8.58.58.58.5 AT+AT+AT+AT+CFTPSMKDCFTPSMKDCFTPSMKDCFTPSMKD CreateCreateCreateCreate aaaa newnewnewnew directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescription

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 7777 6/22/20116/22/20116/22/20116/22/20112011-06-22

This command is used to create a new directory on the FTPS server.

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSMKD=? +CFTPSMKD: ”DIR”

OKWrite Command ResponsesAT+CFTPSMKD=”<dir>” OK

ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<dir>The directory to be created

ExamplesExamplesExamplesExamples

AT+CFTPSMKD=”testdir”OKAT+CFTPSMKD={non-ascii}”74657374646972”OK

8.68.68.68.6 AT+AT+AT+AT+CFTPSRMDCFTPSRMDCFTPSRMDCFTPSRMD DeleteDeleteDeleteDelete aaaa directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to delete a directory on FTPS server

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSRMD=? +CFTPSRMD: ”DIR”

OKWrite Command ResponsesAT+CFTPSRMD=”<dir>” OK

ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<dir>The directory to be removed. If the directory contains non-ASCII characters, the <dir> parametershould contain a prefix of {non-ascii}.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 8888 6/22/20116/22/20116/22/20116/22/20112011-06-22

ExamplesExamplesExamplesExamples

AT+CFTPSRMD=”testdir”OKAT+CFTPSRMD={non-ascii}”74657374646972”OK

8.78.78.78.7 AT+AT+AT+AT+CFTPSDELCFTPSDELCFTPSDELCFTPSDEL DeleteDeleteDeleteDelete aaaa filefilefilefile onononon FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to delete a file on FTPS server

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSRMD=? +CFTPSRMD: ”FILENAME”

OKWrite Command ResponsesAT+CFTPSRMD=”<filename>”

OK

ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filename>The name of the file to be deleted. If the file name contains non-ASCII characters, the <filename>parameter should contain a prefix of {non-ascii}.

ExamplesExamplesExamplesExamples

AT+CFTPSDEL=”test”OKAT+CFTPDEL={non-ascii}”74657374”OK

8.88.88.88.8 AT+AT+AT+AT+CFTPSCWDCFTPSCWDCFTPSCWDCFTPSCWD ChangeChangeChangeChange thethethethe currentcurrentcurrentcurrent directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to change the current directory on FTPS server

SyntaxSyntaxSyntaxSyntax

Test Command Responses

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 9999 6/22/20116/22/20116/22/20116/22/20112011-06-22

AT+CFTPSCWD=? +CFTPSCWD: ”DIR”OK

Write Command ResponsesAT+CFTPSCWD=”<dir>” OK

ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<dir>The directory to be changed. If the directory contains non-ASCII characters, the <dir> parametershould contain a prefix of {non-ascii}.

ExamplesExamplesExamplesExamples

AT+CFTPSCWD=”testdir”OKAT+CFTPSCWD={non-ascii}”74657374646972”OK

8.98.98.98.9 AT+AT+AT+AT+CFTPSPWDCFTPSPWDCFTPSPWDCFTPSPWD GetGetGetGet thethethethe currentcurrentcurrentcurrent directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to get the current directory on FTPS server.

SyntaxSyntaxSyntaxSyntax

Execute Command Responses

AT+CFTPSPWD +CFTPSPWD: ”<dir>”OKERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<dir>The current directory on FTPS server.

ExamplesExamplesExamplesExamples

AT+CFTPSPWD+CFTPSPWD: “/testdir”OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 10101010 6/22/20116/22/20116/22/20116/22/20112011-06-22

8.108.108.108.10AT+AT+AT+AT+CFTPSTYPECFTPSTYPECFTPSTYPECFTPSTYPE SetSetSetSet thethethethe transfertransfertransfertransfer typetypetypetype onononon FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to set the transfer type on FTPS server

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSTYPE=? +CFTPSTYPE: (A,I)

OKRead Command ResponsesAT+CFTPSTYPE? +CFTPSTYPE: <type>

OKWrite Command ResponsesAT+CFTPSTYPE=<type> OK

ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<type>The type of transferring:

A – ASCII.I – Binary.

ExamplesExamplesExamplesExamples

AT+CFTPSTYPE=AOK

8.118.118.118.11 AT+AT+AT+AT+CFTPSLISTCFTPSLISTCFTPSLISTCFTPSLIST ListListListList thethethethe itemsitemsitemsitems inininin thethethethe directorydirectorydirectorydirectory onononon FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to list the items in the specified directory on FTPS server

SyntaxSyntaxSyntaxSyntax

Write Command ResponsesAT+CFTPSLIST=”<dir>” OK

+CFTPSLIST: DATA,<len>…+CFTPSLIST:<err>ERROR

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 11111111 6/22/20116/22/20116/22/20116/22/20112011-06-22

Execute Command Responses

AT+CFTPSLIST OK+CFTPSLIST: DATA,<len>…+CFTPSLIST:<err>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<dir>The directory to be listed. If the directory contains non-ASCII characters, the <dir> parametershould contain a prefix of {non-ascii}.<len>The length of data reported<err>The result code of the listing

ExamplesExamplesExamplesExamples

AT+CFTPSLIST=”/testd”OK+CFTPSLIST: DATA,193drw-rw-rw- 1 user group 0 Sep 1 18:01 .drw-rw-rw- 1 user group 0 Sep 1 18:01 ..-rw-rw-rw- 1 user group 2017 Sep 1 17:24 19800106_000128.jpg

+CFTPSLIST: 0AT+CFTPSLISTOK+CFTPSLIST: DATA,193drw-rw-rw- 1 user group 0 Sep 1 18:01 .drw-rw-rw- 1 user group 0 Sep 1 18:01 ..-rw-rw-rw- 1 user group 2017 Sep 1 17:24 19800106_000128.jpg

+CFTPSLIST: 0

8.128.128.128.12AT+AT+AT+AT+CFTPSGETFILECFTPSGETFILECFTPSGETFILECFTPSGETFILE GetGetGetGet aaaa filefilefilefile fromfromfromfrom FTPSFTPSFTPSFTPS serverserverserverserver totototo EFSEFSEFSEFS

DescriptionDescriptionDescriptionDescriptionThe command is used to download a file from FTPS server to module EFS.

SIM PIN References

YES Vendor

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 12121212 6/22/20116/22/20116/22/20116/22/20112011-06-22

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSGETFILE=? +CFTPSGETFILE: [{non-ascii}]“FILEPATH”, (0-8)

OKWrite Command ResponsesAT+CFTPGETFILE=“<filepath>”,<dir>

OK+CFTPSGETFILE: 0

ERROR

OK+CFTPSGETFILE: <err>

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filepath>The remote file path. When the file path doesn’t contain ”/”, this command transfers file from thecurrent remote FTPS directory. If the file path contains non-ASCII characters, the file pathparameter should contain a prefix of {non-ascii}.<dir>The directory to save the downloaded file:

0 – current directory [refer to AT+FSCD]1 – “C:/Picture” directory2 – “C:/Video” directory3 – “C:/VideoCall” directory4 – “D:/Picture” directory5 – “D:/Video” directory6 – “D:/VideoCall” directory7 – “C:/Audio” directory8 – “D:/Audio” directory

<err>The error code of FTPS operation.

ExamplesExamplesExamplesExamples

AT+CFTPSGETFILE=”/pub/mydir/test1.txt”,1OK…+CFTPSGETFILE: 0AT+CFTPSGETFILE=” test2.txt”,2OK…+CFTPSGETFILE: 0AT+CFTPSGETFILE={non-ascii}” B2E2CAD42E747874”,2OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 13131313 6/22/20116/22/20116/22/20116/22/20112011-06-22

…+CFTPSGETFILE: 0AT+CFTSPGETFILE=?+CFTPSGETFILE: [{non-ascii}]“FILEPATH”,(0-8)OK

8.138.138.138.13AT+AT+AT+AT+CFTPSPUTFILECFTPSPUTFILECFTPSPUTFILECFTPSPUTFILE PutPutPutPut aaaa filefilefilefile inininin modulemodulemodulemodule EFSEFSEFSEFS totototo FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThe command is used to upload a file in the module EFS to FTPS server.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSPUTFILE=? +CFTPSPPUTFILE: [{non-ascii}] “FILEPATH”, (0-8)

OKWrite Command ResponsesAT+CFTPSPUTFILE=“<filepath>”,<dir>

OK+CFTPSPUTFILE: 0

ERROR

OK+CFTPSPUTFILE: <err>

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filepath>The remote file path. When the file path doesn’t contain “/”, this command transfers file to thecurrent remote FTPS directory. If the file path contains non-ASCII characters, the file pathparameter should contain a prefix of {non-ascii}.<dir>The directory that contains the file to be uploaded:

0 – current directory [refer to AT+FSCD]1 – “C:/Picture” directory2 – “C:/Video” directory3 – “C:/VideoCall” directory4 – “D:/Picture” directory5 – “D:/Video” directory6 – “D:/VideoCall” directory7 – “C:/Audio” directory8 – “D:/Audio” directory

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 14141414 6/22/20116/22/20116/22/20116/22/20112011-06-22

<err>The error code of FTPS operation.

ExamplesExamplesExamplesExamples

AT+CFTPSPUTFILE=”/pub/mydir/test1.txt”,1OKAT+CFTPSPUTFILE=” test2.txt”,1OK…+CFTPSPUTFILE: 0AT+CFTPSPUTFILE={non-ascii}” B2E2CAD42E747874”,1OK…+CFTPSPUTFILE: 0AT+CFTPSPUTFILE=?+CFTPSPUTFILE: [{non-ascii}]“FILEPATH”,(0-8)OK

8.148.148.148.14AT+AT+AT+AT+CFTPSGETCFTPSGETCFTPSGETCFTPSGET GetGetGetGet aaaa filefilefilefile fromfromfromfrom FTPSFTPSFTPSFTPS serverserverserverserver totototo serialserialserialserial portportportport

DescriptionDescriptionDescriptionDescriptionThe command is used to get a file from FTPS server and output it to serial port. This commandmay have a lot of DATA transferred to DTE using serial port, The AT+CATR command isrecommended to be used.

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSGET=? +CFTPSGET: [{non-ascii}] “FILEPATH”

OKWrite Command ResponsesAT+CFTPSGET=“<filepath>”

OK+CFTPSGET: DATA,<len>…+CFTPSGET: DATA, <len>……+CFTPSGET: 0

ERROR

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 15151515 6/22/20116/22/20116/22/20116/22/20112011-06-22

+CFTPSGET: DATA, <len>…+CFTPSGET: DATA, <len>……+CFTPSGET: <err>

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filepath>The remote file path. When the file path doesn’t contain ”/”, this command transfer file from thecurrent remote FTPS directory. If the file path contains non-ASCII characters, the file pathparameter should contain a prefix of {non-ascii}.<len>The length of FTPS data contained in this packet.<err>The error code of FTPS operation.

ExamplesExamplesExamplesExamples

AT+CFTPSGET=”/pub/mydir/test1.txt”OK+CFTPSGET: DATA, 1020,…+CFTPSGET: DATA, 1058,……+CFTPSGET: 0AT+CFTPSGET={non-ascii}”/2F74657374646972/B2E2CAD42E747874”OK+CFTPSGET: DATA, 1020,…+CFTPSGET: 0AT+CFTPSGET=?+CFTPSGET:[{non-ascii}] “FILEPATH”OK

8.158.158.158.15AT+AT+AT+AT+CFTPSPUTCFTPSPUTCFTPSPUTCFTPSPUT PutPutPutPut aaaa filefilefilefile totototo FTPSFTPSFTPSFTPS serverserverserverserver

DescriptionDescriptionDescriptionDescriptionThis command is used to put a file to FTPS server through serial port. TheAT+CFTPSPUT=<len> is used to download the data to be sent. The AT+CFTPSPUT is used towait the result of sending.

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 16161616 6/22/20116/22/20116/22/20116/22/20112011-06-22

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Read Command ResponsesAT+CFTPSPUT? +CFTPSPUT: <unsent_len>

OKWrite Command ResponsesAT+CFTPSPUT=[“<filepath>”,]<len>

>OKERROR

Execute Command Responses

AT+CFTPSPUT OK+CFTPSPUT: <result>ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<filepath>The path of the file on FTPS server.<unsent_len>The length of the data in the sending buffer which is waiting to be sent.<len>The length of the data to send<result>The final result of the sending.

ExamplesExamplesExamplesExamples

AT+CFTPSPUT=”t1.txt”,10>testcontent

OKAT+CFTPSPUTOK+CFTPSSPUT: 0AT+CFTPSPUT?+CFTPSPUT: 88OK

8.168.168.168.16AT+AT+AT+AT+CFTPSSINGLEIPCFTPSSINGLEIPCFTPSSINGLEIPCFTPSSINGLEIP SetSetSetSet FTPSFTPSFTPSFTPS datadatadatadata socketsocketsocketsocket addressaddressaddressaddress typetypetypetype

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 17171717 6/22/20116/22/20116/22/20116/22/20112011-06-22

DescriptionDescriptionDescriptionDescriptionThe command is used to set FTPS server data socket IP address type

SIM PIN References

YES Vendor

SyntaxSyntaxSyntaxSyntax

Test Command ResponsesAT+CFTPSINGLEIP=? +CFTPSINGLEIP: (0,1)

OKRead Command ResponsesAT+CFTPSINGLEIP? +CFTPPORT: <singleip>

OKWrite Command ResponsesAT+CFTPSINGLEIP=<singleip>

OK

ERROR

DefinedDefinedDefinedDefined valuesvaluesvaluesvalues

<singleip>The FTPS data socket IP address type:

0 – decided by PORT response from FTPS server1 – the same as the control socket.

ExamplesExamplesExamplesExamples

AT+CFTPSSINGLEIP=1OKAT+CFTPSSINGLEIP?+CFTPSINGLEIP:1OKAT+CFTPSINGLEIP=?+CFTPSINGLEIP: (0,1)OK

ATATATATCommandCommandCommandCommand SetSetSetSet FFFForororor InternetInternetInternetInternet ServiceServiceServiceService

SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_SIMCOM_WCDMA_ Internet_Service_Internet_Service_Internet_Service_Internet_Service_ATC_V1.04ATC_V1.04ATC_V1.04ATC_V1.04 18181818 6/22/20116/22/20116/22/20116/22/20112011-06-22

ContactContactContactContact ususususShanghaiShanghaiShanghaiShanghai SIMComSIMComSIMComSIMComWirelessWirelessWirelessWireless SolutionsSolutionsSolutionsSolutions LtdLtdLtdLtd....Add: Building A, SIM Technology Building, No.633, Jinzhong Road, Changning District

200335Tel: +86 21 3252 3300Fax: +86 21 3252 3301URL: http:/www.sim.com/wm/