#POP3HEADERMODE Send/Do Not Send POP3 Header..................19 #POP3PORT Set POP3 Server ..........................19 #POP3PW Set POP3 Password ..........................19 #POP3SERV Set POP3 Address..........................19 #POP3UN Set POP3 User Name ..........................19 #SMTPPORT Set SMTP Server Port.........................20 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 4
#PINGDELAY PING Delay Time..........................37 #PINGNUM Number of PING Requests ........................37 #PINGREMOTE IP Address of PING Request ......................37 #PING Start PING Request............................38 #VPING Display PING Parameters..........................38 Chapter 8 – Miscellaneous Commands...........................39 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 5
Sending an Email Containing Data from the Serial Port ....................68 Sending a Pre-Defined Email Combination.........................71 Downloading an FTP File..............................73 Uploading an FTP File..............................75 Setting a TCP Port to a Listening Mode ........................77 Opening a TCP Socket ..............................78 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Schemas are provided where necessary. Open TCP/IP Stack Command Responses AT+WOPEN=1 Note: Start the TCP/IP stack AT+WOPEN=0 The TCP/IP stack is not opened. In some instances, this may be the default setting. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Decimal Phone Number. Only the phone number configured here is authorized for incoming calls. Alphanumeric ASCII text string up to 64 characters. Syntax: Set Value: AT#CALLSCREENNUM=<value> Get Value: AT#CALLSCREENNUM? or AT#VPHY, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
This parameter is the primary dial-up phone number that will connect with the local ISP. Length depends on country/region. Values: Decimal phone numbers. No default. Syntax: Set Value: AT#DIALN1=<value> Get Value: AT#DIALN1? or AT#VPHY, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
PPP server only. The TCP/IP stack always behaves as a PPP server for both outgoing and incoming calls. Specific. This case is reserved for specific behavior. Syntax: Set Value: AT#PPPMODE=<value> Get Value: AT#PPPMODE? or AT#VPPP, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
#APNPW is the Access Point Name password parameter coming with the APNUN from the GSM operator and provides GPRS access. Values: Alphanumeric ASCII text string up to 120 characters. No default. Syntax: Set Value: AT#APNPW=<value> Get Value: AT#APNPW? or AT#VGPRS, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
#GPRSMODE configures the activation of the software for switching between GSM and GPRS. Values: Configured for GSM use. Configured for GPRS use. Default 1. Syntax: Set Value: AT#GPRSMODE=<value> Get Value: AT#GPRSMODE? or AT#VGPRS, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
START command or AT#ACCEPT. Values: No TCP/IP parameter is used for the execution of this command. Syntax: AT#CONNECTIONSTOP Command Possible Responses AT#CONNECTIONSTOP Note: Disconnect Note: Phone line is released Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
TCP/IP stack will wait REDIALDELAY seconds then dial again. The redialing will continue until success or until the number of call retries defined in parameter REDIALCOUNT has been reached. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 14
GPRS session cannot be established AT#CONNECTIONSTART #CME ERROR: 35865 Note: The product is not registered on the network AT#CONNECTIONSTART #CME ERROR: 35868 Note: Aborted GPRS connection; check APN parameters Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
In some cases, this domain name may be different from the domain name included in the sender's email address. Values: Alphanumeric ASCII text string up to 120 characters. No default. Syntax: Set Value: AT#DOMAIN=<value> Get Value: AT#DOMAIN? or AT#VSMTP, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Set Value: AT#BODYi=<value> (replace i with 1, 2, or 3) Get Value: AT#BODYi? (replace i with 1, 2, or 3) or AT#VMAILi, AT#VALL Example: AT#BODY1<CR> Text string <CTRL+Z> Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
TCP/IP stack software must know the POP3 user name that has been set for that email account. Values: Alphanumeric ASCII text string up to 64 characters. No default. Syntax: Set Value: AT#POP3UN=<value> Get Value: AT#POP3UN? or AT#VPOP3, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Domain Name System (DNS) protocol. The DNS Server IP address must be specified for use by the TCP/IP stack software. Values: 32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx). Default 0.0.0.0 Syntax: Set Value: AT#DNSSERV1=<value> Get Value: AT#DNSSERV1? or AT#VDNS, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
- The DNS servers are not able to resolve the POP3 server address - The POP3 server is temporarily out of service - The authentication (POP3UN, POP3PW) is not valid See section ‘ Response messages and error codes’. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
- The SMTP server is temporarily out of service - The authentication (SMTPUN, SMTPPW) is not valid - An email address specified in REC1 or CCREC1 is not valid See section ‘Response messages and error codes’. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
- An email address specified in REC1 or CCREC1 is not valid. - An inactivity period of 50 seconds on the serial port. See section ‘Response messages and error codes’ Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Directs the TCP/IP stack to display all the AT# parameters related to the DNS servers configuration. Values: Read Parameters: DNSSERV1 DNSSERV2 Syntax: AT#VDNS Command Possible Responses AT#VDNS #DNSSERV1: “0.0.0.0” #DNSSERV2: “0.0.0.0” Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx) or Alphanumeric ASCII text string up to 120 characters if DNS is available. No default. Syntax: Set Value: AT#FTPSERV=<value> Get Value: AT#FTPSERV? or AT#VFTP, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Depending on the FTP server, the value can be used for getting a file from the root directory of the FTP server. Syntax: Set Value: AT#FTPPUTPATH=<value> Get Value: AT#FTPPUTPATH? or AT#VFTP, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
The connection to the FTP server failed. See section ‘Response messages and error codes.’ If this error occurs once the data transfer started, it is preceded by an ETX character. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx) or Alphanumeric ASCII text string up to 120 characters if DNS is integrated. No default. {1,2} Syntax: Set Value: AT#TCPSERV=id,value> Get Value: AT#TCPSERV=id or AT#VTCP, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Notes: An error has occurred during the TCP connection. This connection is being closed. If this error occurs once the TCP connection opened, it is preceded by an ETX character. See section ‘Response messages and error codes’. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Note: An error has occurred during the TCP connection. This connection is being closed. If this error occurs once the TCP connection opened, it is preceded by an ETX character. See section ‘Response messages and error codes’. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Syntax: AT#VTCP=id, with id one of {1,2} Command Possible Responses AT#VTCP=2 #DLEMODE: 2,1 Note: View TCP parameters of #TCPSERV: 2,”” the TCP socket 2 #TCPPORT: 2,0 TCPTXDELAY: 2,100 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Values: Integer, multiple of 20 and between 0 and 32760 inclusive. Default value is 100. Syntax: Set Value: AT#UDPTXDELAY=<Value> Get Value: AT#UDPTXDELAY? or AT#VUDP, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
AT#LUDPSTART command). Values: Read parameters: UDPPORT UDPSERV UDPTXDELAY Syntax: AT#LUDPSTOP Command Possible Responses AT#LUDPSTOP Note: Stop UDP listening Note: The local listening port is closed in the TCP/IP stack. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
This command directs the TCP/IP stack to display all the AT# parameters related to the UDP socket configuration. Values: Read parameters: UDPPORT UDPSERV UDPTXDELAY Syntax: AT#VUDP Command Possible Responses AT#VUDP #UDPSERV: “” #UDPPORT: 0 Note: View UDP parameters #UDPTXDELAY: 100 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
32-bit number is dotted-decimal notation (i.e., xxx.xxx.xxx.xxx) or Alphanumeric ASCII text string up to 120 characters if DNS is integrated. No default. Syntax: Set Value: AT#PINGREMOTE=<Value> Get Value: AT#PINGREMOTE? or AT#VPING, AT#VALL Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
This command directs the TCP/IP stack to display all the AT# parameters related to the PING configuration. Values: Read parameters: PINGDELAY PINGNUM PINGREMOTE Syntax: AT#VPING Command Possible Responses AT#VPING #PINGDELAY: 1 #PINGNUM: 4 Note: View PING parameters #PINGREMOTE: " " Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Note: The current parameter values remain visible until the "hard reset" has completed. Values: No parameter values. Syntax: AT#DELFLASH Command Possible Responses AT#DELFLASH Note: Delete flash memory contents Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
IP Connectivity library : Another internal application is already running 37123 IP Connectivity library : Service is running. Unable to set parameter 37952 Distant : TCP session closed (TCP Context cancelled) Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 43
Internal error : Open GPRS session request failed 49156 Internal error : GPRS authentication failed 49157 Internal error : GPRS get IPCP information request failed 49158 Internal error : Open flow confirmation not received Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Note: Ask for registration state +CREG: 1 AT+CGREG GSPRS Network Registration State Command Responses AT+CGREG=1 Note: Ask for GPRS registration state +CGREG: 0 AT+CGATT=1 +CGREG: 2 Note: GPRS attach +CGREG: 1 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Note: Launch the GPRS connection Note: Dynamic IP address attributed by the network OK_Info_GprsActivation Note: The GPRS/IP link is established AT#CONNECTIONSTOP Note: When required, stop the Internet connection Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Data Data Note: At the end of data, the [CR][LF] . [CR][LF] sequence notifies the end of the data mode Note: The email is successfully retrieved Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Note: To end of data is notified by the [ETX] character sent over the serial port. It switches from data to command mode. Character is echoed. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
[ETX] character (CTRL+C on the keyboard) Note: The socket can be closed by the remote OK_Info_SocketClosed Note: The closing of the socket can be performed either locally or remotely. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
ATQ configuration allows the response message sending, ATV1 ATV0 [CR][LF] [CR]0[CR] OK[CR][LF] A 1 second delay shall be introduced before each AT# command issued for writing Note parameters value. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 50
2. It's not possible for host to exit DATA mode. [ETX] is CTRL+C in a keyboard. [DLE] is CTRL+P in a keyboard. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 51
(this message is preceded by the [ETX] character) [ETX] is CTRL+C in a keyboard. [DLE] is CTRL+P in a keyboard. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 52
Similarly [ETX] characters received by The modem from the Internet are sent to the host through the serial port preceded by a [DLE] character. [ETX] is CTRL+C in a keyboard. [DLE] is CTRL+P in a keyboard. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
The response format will depend on the setting of the ATV parameter setting. The displaying of the response codes will depend on the setting of the ATQ parameter setting. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
The addresses provided are used in place of DNSSERV1 and DNSSERV2. (The DNS address parameters are not updated for display purposes). If no addresses are provided, the DNSSERV1 and DNSSERV2 parameter addresses are used as in GSM. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Controls the delay (in seconds), if any, that will be introduced between each call retry if the call is not successful. AT#REDIALDELAY Stop the AT#CONNECTION The ‘AT#CONNECTIONSTART’ process can be stopped by sending the START process ‘AT#CONNECTIONSTOP’ command over the serial port AT#CONNECTIONSTOP Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 56
NO CARRIER Successful ? CONNECT 9600 +CME ERROR: 38980 +CME ERROR: 38981 PPP Negotiation +CME ERROR: 37120 Successful ? +CME ERROR: 37121 1.2.3.4 #CME ERROR: 35862 Ok_Info_Ppp PHYTIMEOUT AT#CONNECTIONSTOP Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
The IP address must be attributed by the remote PPP server • LCP options must be disabled into the dial up configuration Other AT# Parameters: PPPMODE – PPPMYIP – PPPPEERIP – PPPSERVPW – PPPSERVUN - ANSWERMODE Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
AT#CONNECTIONSTART command. The process is then similar to the standard AT#CONNECTIONSTART process, using GPRSMODE. Other AT Parameters: AT#PPPMODE, GPRSMODE Other AT# Commands: AT#CONNECTIONSTART Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 59
+CLIP: “xxxxxxxx”, …) ANSWERMODE AT#ACCEPT =0 ? RINGCOUNT CONNECT 9600 Reached ? CALLSCREENNUM# (IGNORE) authorized ? ANSWERMODE Automatic =1 ? AT#ACCEPT END OF RING CONNECT 9600 CALLBACKTIMER AT#CONNECTIONSTART Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
PPPMODE parameter (PPP client, PPP server or transparent modem). Other AT Parameters: AT#PPPMODE - GPRSMODE Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 61
+CLIP: “xxxxxxxx”, …) ANSWERMODE AT#ACCEPT =0 ? RINGCOUNT CONNECT 9600 Reached ? CALLSCREENNUM# (IGNORE) authorized ? ANSWERMODE Automatic =1 ? AT#ACCEPT END OF RING CONNECT 9600 CALLBACKTIMER AT#CONNECTIONSTART Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
If the attached equipment decides that the incoming call should not be answered, it should not send the ‘AT#ACCEPT’ command via the serial port, the modem will, therefore, ignore the call. Other AT# Parameters: PPPMODE Other AT# Commands: CONNECTIONSTART Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 63
+CLIP: “xxxxxxxx”, …) ANSWERMODE AT#ACCEPT =0 ? RINGCOUNT CONNECT 9600 Reached ? CALLSCREENNUM# (IGNORE) authorized ? ANSWERMODE Automatic =1 ? AT#ACCEPT END OF RING CONNECT 9600 CALLBACKTIMER AT#CONNECTIONSTART Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
The ‘AT#CONNECTIONSTART’ process can be stopped by sending the AT#CONNECTION ‘AT#CONNECTIONSTOP’ command over the serial port START process AT#CONNECTIONSTOP Other AT# Parameters: PPPMODE - GPRSMODE Other AT# Commands: CONNECTIONSTOP Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 65
Process diagram: GPRS Connection for an outgoing call AT#CONNECTIONSTART GPRSMODE=1 Network #CME ERROR: 35865 Available ? Opening GPRS Context ? GPRS Negotiation #CME ERROR: 35868 Successful ? 1.2.3.4 Ok_Info_GprsActivation AT#CONNECTIONSTOP Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
AT#POP3PW POP3 header Configuration for sending (1) or not (0) the email header over the serial port while retrieving the email message. AT#POP3HEADERMODE Other AT Commands: DNSSERV1, DNSSERV2 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 67
At least 1 message is present in the mailbox #CME ERROR: 38080 if username error #CME ERROR: 38081 is password error OK_Info_NoMail OK_Info_Mail eMAIL Data CONTENT … (CR)(LF).(CR)(LF) Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
AT#PUTMAIL command. After the sending process, the communication session remains established. • Check your terminal emulator configuration because with some configurations, this terminal can modify data (for example, to transform the [CR] in [CR][LF]). Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 69
Carbon Copy email address of the recipient for sending email which appears in the email header, in email address the field ' Cc:' AT#CCREC1 Email subject Pre-defined email subject, which appears in the email header, in the field ' Subject:' AT#SUBJ1 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 70
The data in the email sent will not be echoed back to the host. • - The <CR><LF>.<CR><LF> sequence denoting the end of data mode is echoed back. Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Pre-defined email subject which appears in the email header, in the field ' Subject:' AT#SUBJ1 – SUBJ2 – SUBJ3 Email Body Pre-defined email body AT#BODY1 – BODY2 – BODY3 Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 72
#CME ERROR <value> The data into the email sent will not be echoed back, the software transparently switches from Note command to data mode then back to command mode Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
The response message that follows the data transfer, sent by the modem, signals whether the file has been successfully received or not. Other AT# Parameters: FTPSERV, FTPUN, FTPPW, FTPGETPATH, FTPGETFILENAME, FTPPORT Other AT# Commands: FTPGET Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 74
? primary DNS server? Resolution made on secondary DNS server? FTP server responding? #CME ERROR: 38027 Authentication successfull? Rights to access the file? Ok_Info_DataBegin DATA #CME ERROR <value> Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
The user rights for over-writing an existing file in a FTP server depends on the FTP server’s configuration and if incorrectly set can result in failure of the FTP attempt. Other AT# Parameters: FTPSERV, FTPUN, FTPPW, FTPPUTPATH, FTPPUTFILENAME, FTPTYPE, FTPPORT Other AT# Commands: FTPPUT Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Page 76
Resolution made on secondary DNS server? FTP server responding? #CME ERROR: 38027 Authentication successfull? Rights to access the file? Ok_Info_WaitingForData Data… (not echoed) ETX (echoed) #CME ERROR <value> Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
If DLEMODE is set to 0, it is not possible for the attached host to close the TCP session. AT#LTCPSTOP Other AT# Parameters: TCPSERV, TCPPORT, DLEMODE Other AT# Commands: LTCPSTART, LTCPSTOP, OTCP Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
If DLEMODE is set to 0, it is not possible for the attached host to close the TCP session. [ETX] CTRL+C sequence in a keyboard [DLE] CTRL+P sequence in a keyboard Other AT# Parameters: DLEMODE, TCPPORT, TCPSERV Other AT# Commands: LTCPSTART, LTCPSTOP, OTCP Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
Need help?
Do you have a question about the MTCBA-G-EN-F1 and is the answer not in the manual?
Questions and answers