Universal IP AT Commands Reference Guide
Copyright and Technical Support Universal IP AT Commands Reference Guide for the following products: SocketModem iCell GPRS (MTSMC-G2-IP, MTSMC-G2-GP) SocketModem iCell CDMA (MTSMC-C1-IP, MTSMC-C1-GP) SocketModem iCell HSPA (MTSMC-H4-IP, MTSMC-H4-GP) SocketModem iCell EV-DO (MTSMC-EV2-IP, MTSMC-EV2-GP) SocketModem IP (MT5692SMI-IP) This SocketModem uses these commands when the modem is in IP mode SocketEthernet IP (MT100SEM-IP) SocketWireless Wi-Fi (MT810SWM-IP) MultiModem iCell GPRS (MTCMR-G2,
Table of Contents Contents Part 1 – ................................................................................................................................................................9 AT Commands for All Universal IP Devices ....................................................................................................9 Chapter 1 – General AT Commands for All Universal IP Devices .............................................................. 10 Set Commands...............................
Table of Contents #POP3PW – Set POP3 Password ....................................................................................................... 26 #POP3SERV – Set POP3 Server Address .......................................................................................... 26 #POP3UN – Set POP3 User Name ..................................................................................................... 27 #GETMAIL – Retrieve Host Mail ................................................................
Table of Contents #LUDPSTOP – Close UDP Listening Mode ........................................................................................ 46 #OUTPORT – UDP/TCP Local Port Number....................................................................................... 46 #OUDP – Initiate UDP Session in Active Mode ................................................................................... 46 Display Command ..........................................................................................
Table of Contents Display Commands .................................................................................................................................. 60 #IPDNSTABLE – Display DNS Table .................................................................................................. 60 #VDNS – Display Configuration of DNS Servers ................................................................................. 60 #VIP – View Address Settings .................................................
Table of Contents #ANSWERMODE – Set Answering Mode ........................................................................................... 75 #SMSPHRASE – Set Incoming SMS Phrase ...................................................................................... 75 #CALLBACKTIMER – Set Automatic Call-Back Wait .......................................................................... 76 #CALLSCREENNUM – Set Caller ID Service ...........................................................................
Table of Contents #GPSGPRMC – Enable/Disable GPRMC Message ............................................................................ 94 #GPSGPVTG – Enable/Disable GPVTG Message ............................................................................. 95 #GPSINTERVALLOC – GPS Local Transmission Interval .................................................................. 95 #GPSGETMESSAGE – Get Queued GPS Message ..........................................................................
Part 1 – Commands for All Universal IP Devices Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for the All Universal IP Devices Chapter 2 – SMTP AT Commands for All Universal IP Devices Chapter 3 – POP3 AT Commands for All Universal IP Devices Chapter 4 – FTP AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands for All Universal IP Devices Chapter 6 – UDP AT Commands for All Universal IP Devices Chapter 7 – PING AT Commands for All Universal IP Devices Uni
Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices Set Commands AT – Command Mode Description: If the modem responds OK to an AT command, the modem is likely in command mode. Many commands will respond with ERROR when the modem is connected to the network. E – Turn Echo ON/OFF Description: Syntax: Use this command to turn ON/OFF echoing command at the serial terminal.
Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices Z – Default Configuration Description: Syntax: Response: This command restores the configuration profile from NVM. Settings are recalled on power up. ATZ OK (Command valid) &C – RLSD (DCD) Option Turn On or Off Description: Syntax: Values: Default: Response: The modem controls the RLSD output in accordance with the parameter supplied. This command sets the DCD On or Off.
Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices &W – Store Factory Defaults to NVM Description: Syntax: Values: For MT100SEM: Stores factory defaults to the NVM. For NON-MT100SEM: Stores the current settings of &D, &S, &C, E, and V only.
Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices +IFC – Set Flow Control Description: Syntax: Values: Default: Turns flow control on and off. AT+IFC= 0,0 Flow Control Off 2,2 Hardware Flow Control On 2,2 Hardware Flow Control On +IPR – Set Serial Speed Description: Syntax: Values: Display: Default: Sets the serial speed. AT+IPR= 300 to 921600 AT+IPR? Displays the current serial speed.
Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices #LEGACYMODE – Legacy Mode Enable/Disable About Legacy Mode: Note: This command is for all devices except the SocketEthernet IP (MT100SEM-IP) Legacy mode allows for smoother transition to TCP/IP based connectivity from standard analog interface connections. When #LEGACYMODE=1, the stack will be in pseudo legacy mode where the commands &S, &D, &C, A, D, S0, E, V operate independently of the stack.
Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices #ESCAPECHAR – Configure the Escape Character for DLEMODE Description: Syntax: Values: Responses: This parameter defines the escape character for the clients that use an escape character (also known as DLE shielding with regards to Universal IP.
Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices #VSHOWUPTIME – Displays the Current Uptime in Days, Hours, Minutes, Seconds Description: Syntax: Values: Responses: Displays the current uptime of the UIP stack.
Part 1 – AT Commands for All Universal IP Devices Chapter 1 – General AT Commands for All Universal IP Devices #VALL – Display All Parameters Note: Description: Syntax: The MT100SEM display of Possible Responses differs slightly from the MT5692SMI-IP display. An example of the MT100SEM Possible Responses screen is included on this page. See the next page for an example of the other Possible Responses screen. This command directs the TCP/IP stack to display all AT# parameters.
Part 1 – AT Commands for All Universal IP Devices Syntax: Chapter 1 – General AT Commands for All Universal IP Devices AT#VALL Possible Responses – Applies to All Except MT100SEM-IP #ANSWERMODE: 0 #TCPTXDELAY: 1,100 #CALLBACKTIMER: 2 #UDPPORT: 0 #CALLSCREENNUM: "0" #UDPSERV: "" #DIALN1: "" #UDPTXDELAY: 100 #DIALN2: "" #PINGDELAY: 1 #DIALSELECT: 1 #PINGNUM: 4 #GPRSMODE: 1 #PINGREMOTE: "" #PHYTIMEOUT: 15 #AUTHENT: NONE #REDIALCOUNT: 0 +IPR: 115200 #REDIALDELAY: 5 +ICF: 2,4 #RINGCOUNT: 0 +IFC: 2,2 #AUTOCONN
Part 1 – AT Commands for All Universal IP Devices Chapter 2 – SMTP AT Commands Chapter 2 – SMTP AT Commands for All Universal IP Devices Set Commands #SENDERNAME – Set Sender Name Description: Syntax: Values: The sender’s literal name (different from the SENDERADDR parameter, which is the sender’s email address).
Part 1 – AT Commands for All Universal IP Devices Chapter 2 – SMTP AT Commands #DOMAIN – Set Domain Name of the Sender Description: Syntax: Values: When sending an email message, the TCP/IP stack software must provide the SMTP server with the domain name of the sender. In some cases, this domain name may be different from the domain name included in the sender's email address. AT#DOMAIN="" AT#DOMAIN? Read or display current value (also AT#VSMTP or AT#VALL).
Part 1 – AT Commands for All Universal IP Devices Chapter 2 – SMTP AT Commands #BODYi – Set Pre-Defined Email Combinations Description: Syntax: Values: Example: These parameters store pre-defined message bodies. They allow the host application to send pre-defined email combinations.
Part 1 – AT Commands for All Universal IP Devices Chapter 2 – SMTP AT Commands #SMTPPW – Set SMTP Password Description: Syntax: Values: To send email messages, some SMTP servers are using an authentication process. In these cases, the TCP/IP stack software will provide the SMTP password (associated to the SMTP user name) for the email sending process. If this parameter is an empty string, the authentication mode is inactive.
Part 1 – AT Commands for All Universal IP Devices Chapter 2 – SMTP AT Commands #SENDMAILi – Send Mail without Interactive Mode Important Note: MT5692SMI-IP supports only SENDMAIL1 options. Description: This command sends one of the 3 pre-defined email combinations. Once an IP link is established, the attached host can direct the TCP/IP stack to send an email message at any time (except when the TCP/IP stack software is already in a process using TCP resources).
Part 1 – AT Commands for All Universal IP Devices Chapter 2 – SMTP AT Commands #PUTMAIL – Send Mail to Recipient with Interactive Mode Description: Syntax: This command allows the attached host to send an email message containing body text passed to the TCP/IP stack over the serial port. Once an IP link is established, the attached host can send an email message at any time (except when the TCP/IP stack software is already in a process using TCP resources).
Part 1 – AT Commands for All Universal IP Devices Chapter 2 – SMTP AT Commands #SMTPAUTH – Authentication ON or OFF Description: Syntax: Values: Default: Turns authentication ON or OFF. Set Value: AT#SMTPAUTH= View Value: AT#SMTPAUTH? or AT#VSMTP, AT#VALL 0 – OFF 1 – ON 0 Display Commands #VSMTP – Display SMTP Parameters Description: Syntax: Example: Directs the TCP/IP stack to display all the AT# parameters related to the email sender configuration.
Part 1 – AT Commands for All Universal IP Devices Chapter 3 – POP3 AT Commands Chapter 3 – POP3 AT Commands for All Universal IP Devices Set Commands #POP3HEADERMODE – POP3 Header Description: Syntax: Values: Default: When receiving an email message, the TCP/IP stack can be configured to send or not to send the POP3 header over the serial port. The POP3 header contains the From, Cc and Subject fields. AT#POP3HEADERMODE= AT#POP3HEADERMODE? Read or display the current setting (or AT#VPOP3, AT#VALL).
Part 1 – AT Commands for All Universal IP Devices Chapter 3 – POP3 AT Commands #POP3UN – Set POP3 User Name Description: Syntax: Values: User name for POP3 account. To retrieve email messages sent to a specified email address, the TCP/IP stack software must know the POP3 user name that has been set for that email account. AT#POP3UN="" AT#POP3UN? Read or display the current setting (or AT#VPOP3, AT#VALL). Alphanumeric ASCII text string up to 64 characters. No default.
Part 1 – AT Commands for All Universal IP Devices Chapter 4 – FTP AT Commands Chapter 4 – FTP AT Commands for All Universal IP Devices Set Commands #FTPPORT – Enter FTP Server Port Description: Syntax: Values: Default: To reach the FTP server, the TCP/IP stack software must know the control port of the FTP server used for file transfer.
Part 1 – AT Commands for All Universal IP Devices Chapter 4 – FTP AT Commands #FTPSERV – Specify FTP Server Address Description: Syntax: Values: FTP server address. To connect to an FTP server to download files, the TCP/IP stack software must know the address of the FTP server that is to be used. AT#FTPSERV="" AT#FTPSERV? Read or display the current setting (or AT#VFTP, AT#VALL). 32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.
Part 1 – AT Commands for All Universal IP Devices Chapter 4 – FTP AT Commands #FTPGET – Download Files from FTP Server Description: Syntax: Values: This command, sent by the attached host, directs the TCP/IP stack to connect to the specified FTP server and to retrieve the specified file from this server. Once the operation is completed, the TCP/IP stack closes the FTP connection.
Part 1 – AT Commands for All Universal IP Devices Chapter 4 – FTP AT Commands #FTPGETPATH – Set Path to Get a File from FTP Server Description: Syntax: Values: In order for the TCP/IP stack software to get a file from the FTP server, the TCP/IP stack software must know the path of the relevant file. For example: ftp.companyx.com/wireless/WPST or, if you at in the root ftp.companyx.
Part 1 – AT Commands for All Universal IP Devices Chapter 4 – FTP AT Commands Display Command #VFTP – Display FTP Parameters Description: Syntax: Values: This command directs the TCP/IP stack to display all AT# parameters for the FTP client configuration.
Part 1 – AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands Chapter 5 – TCP AT Commands for All Universal IP Devices Set Commands The id parameter is used for setting up profiles; Profile 1 and Profile 2. To view parameters including profile settings, use AT#=id or AT#VTCP=id or AT#VALL. #PERSISTENTSOCKET - Persistent Socket Description: If enabled and the physical connection is present, a socket will be created automatically.
Part 1 – AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands #TCPPORT – Set TCP Port for Remote Peer Description: Syntax: id: Values: Default: To exchange data over TCP, the TCP/IP stack software must know the port of the remote peer used for the TCP session. AT#TCPPORT=id, AT#TCPPORT=id Read or display the current setting (or AT#VTCP=id, AT#VALL).
Part 1 – AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands #TCPPACKETMIN – TCP Client Transmit Packet Minimum Size Description: Syntax: Values: Responses: This parameter determines the minimum packet size the TCP Client will transmit.
Part 1 – AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands #TCPINACTIVITYTIMER – TCP Client Inactivity Timeout Value Description: Syntax: Values: This parameter determines the inactivity time in seconds as to when a socket connection will automatically disconnect.
Part 1 – AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands #TCPTELNETMODE – Enable/Disable TCP Client Telnet Protocol Description: Syntax: Values: Responses: Enables or disables the TCP Client Telnet protocol. Note: Allows the TCP Client Telnet to handle a minimal telnet protocol.
Part 1 – AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands #TCPTELNETUN – Set the TCP Client Telnet Protocol User Name Description: Syntax: Values: Responses: Configure the TCP Client Telnet protocol login user name.
Part 1 – AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands #LTCPSTOP – Close TCP Listening Mode Description: Syntax: id: Values: This command directs the TCP/IP stack to close a TCP listening mode (previously launched by the AT#LTCPSTART command. AT#LTCPSTOP=id Enter a Profile Setting: 1 or 2 {1,2} DLEMODE TCPPORT TCPSERV TCPTXDELAY #OUTPORT – UDP/TCP Local Port Number Description: Syntax: Values: Default: Controls the local port that the UDP/TCP connection is bound to.
Part 1 – AT Commands for All Universal IP Devices Chapter 5 – TCP AT Commands Display Command #VTCP – Display TCP Parameters Description: Syntax: This command directs the TCP/IP stack to display all the AT# parameters related to the TCP socket configuration. AT#VTCP=id or AT#VTCP Note: If you use AT#VTCP=id, the parameters for profile 1 or profile 2 will display. If you use AT#VTCP, the parameters for both Profile 1 and Profile 2 will display.
Part 1 – AT Commands for All Universal IP Devices Chapter 6 – UDP AT Commands Chapter 6 – UDP AT Commands for All Universal IP Devices Set Commands #PERSISTENTSOCKET - Persistent Socket Description: If enabled and the physical connection is present, a socket will be created automatically. Note: This command is for all devices except the SocketEthernet IP (MT100SEM-IP).
Part 1 – AT Commands for All Universal IP Devices Chapter 6 – UDP AT Commands #UDPPACKETMAX – UDP Client Transmit Packet Maximum Size Description: Syntax: Values: Responses: This parameter determines the maximum packet size the UDP Client will transmit. Note: This value cannot be larger then the internal maximum UIP UDP payload size. Note: This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP). AT#UDPPACKETMAX= AT#UDPPACKETMAX? Read or display the current setting.
Part 1 – AT Commands for All Universal IP Devices Chapter 6 – UDP AT Commands #UDPIGNORESRCPORT – Ignore Send Source Port Description: Syntax: Values: Responses: Allows the UDP client to ignore the remote IP's source port. Note: This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP). AT#UDPIGNORESRCPORT= AT#UDPIGNORESRCPORT? Read or display the current setting.
Part 1 – AT Commands for All Universal IP Devices Chapter 6 – UDP AT Commands #UDPSERV – UDP Server Address Description: Syntax: Values: If the UDP session is initiated in listen mode, use the IP address filter. This means that the remote must have a defined UDPSERV IP address. If the UDP session is initiated in active mode, use the remote IP address. AT#UDPSERV= AT#UDPSERV? Read or display the current setting. 32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.
Part 1 – AT Commands for All Universal IP Devices Chapter 6 – UDP AT Commands #UDPDLEMODE – Set DLE Mode Description: The attached host has the choice whether or not to code the ETX character. Note: This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP).
Part 1 – AT Commands for All Universal IP Devices Chapter 6 – UDP AT Commands #LUDPSTOP – Close UDP Listening Mode Description: Syntax: Values: This command directs the TCP/IP stack to close a UDP listening mode session previously launched by the AT#UDPSTART command. AT#LUDPSTOP UDPPORT (No default) #OUTPORT – UDP/TCP Local Port Number Description: Syntax: Values: Default: Controls the local port that the UDP/TCP connection is bound to.
Part 1 – AT Commands for All Universal IP Devices Chapter 7 – PING AT Commands Chapter 7 – PING AT Commands for All Universal IP Devices Set Commands General Note: Due to varying factors, PING response times may not be valid. #PINGNUM – Number of PING Requests Description: Syntax: Values: Default: This command sets the number of PING echo requests to issue to PINGREMOTE. AT#PINGNUM= AT#PINGNUM? Read or display the current setting.(or AT#VPING, AT#VALL). From 0 to 255 inclusive.
Part 1 – AT Commands for All Universal IP Devices Chapter 7 – PING AT Commands Display Command #VPING – Display PING Parameters Description: Syntax: Display PING module related information. AT#VPING AT#PING? Read or display the current setting.
Part 2 – AT Commands for the SocketEthernet IP Part 2 – AT Commands for the SocketEthernet IP Chapter 8 – General AT Commands for the SocketEthernet IP (MT100SEM-IP) Chapter 9 – Auto Discovery AT Commands for the SocketEthernet IP (MT100SEM-IP) Universal IP AT Commands Reference Guide (Document S000457K) 49
Part 2 – AT Commands for the SocketEthernet IP Chapter 8 – General AT Commands for SocketEthernet IP Chapter 8 – General AT Commands for the SocketEthernet IP Set Commands #DHCP – DHCP On or Off Description: Syntax: Responses: Values: Default: Enables or disables the DHCP client. If the DHCP client is enabled, the module will take the IP address from DHCP server. If DHCP client is disabled, the module will take the static IP address configured for the module.
Part 2 – AT Commands for the SocketEthernet IP Chapter 8 – General AT Commands for SocketEthernet IP #IPNETMASK – Set Subnet Mask Description: Syntax: Responses: Values: Default: Sets the subnet mask. Note: The module must be reset to put the command into effect. AT#IPNETMASK="" AT#IPNETMASK? Read or display the current setting. AT#IPNETMASK = 255.255.255.0 returns and OK AT#NETMASK? returns 255.255.255.0 (Manually Configured) and OK IP Address in dotted decimal notation (xxx.xxx.xxx.
Part 2 – AT Commands for the SocketEthernet IP Chapter 8 – General AT Commands for SocketEthernet IP #HOSTNAME – Configure the DHCP Client Host Name Description: Configures the device host name reported to the DHCP server. Note: This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP) Syntax: AT#HOSTNAME="" AT#HOSTNAME? Read or display the current setting.
Part 2 – AT Commands for the SocketEthernet IP Chapter 8 – General AT Commands for SocketEthernet IP #VIP – View Address Settings Description: Displays the address settings. Syntax: Values: Notes: This command displays the programmed IP settings. To see IP settings in use, including DHCP parameters, use the #ETHIFSTATUS command. Also, this command shows valid results only when DHCP is OFF. Otherwise, it displays the default or stored values.
Part 2 – AT Commands for the SocketEthernet IP Chapter 9 – Auto Discovery AT Commands for the SocketEthernet IP Chapter 9 – Auto Discovery AT Commands for the SocketEthernet IP A Note about Auto Discovery: Auto Discovery will broadcast information; however, at this time, the information cannot be updated using the Auto Discovery Manager. Set Commands #AUTODISC – Auto Discovery On/Off Description: Syntax: Values: Default: This command turns Auto Discovery On or Off.
Part 2 – AT Commands for the SocketEthernet IP Chapter 9 – Auto Discovery AT Commands for the SocketEthernet IP #AUTODISCUSERNAME – Set Auto Discover User Name Description: Syntax: Values: This command sets the User Name that will appear in the Auto Discovery Manager. AT#AUTODISCUSERNAME = AT#AUTODISCUSERNAME? Read or display the current setting (or AT#VAUTODISC or AT#VALL). Text string up to 120 characters. No default.
Part 3 – AT Commands for SocketWireless Wi-Fi Devices Part 3 – AT Commands for SocketWireless Wi-Fi Devices Chapter 10 – IP AT Commands for the SocketWireless Wi-Fi Chapter 11 – General AT Commands for the SocketWireless Wi-Fi Chapter 12 – Telnet AT Commands for the SocketWireless Wi-Fi Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi Universal IP AT Commands Reference Guide (Document S000457K) 56
Part 3 – AT Commands for Wi-Fi Devices Chapter 10 – IP AT Commands for the SocketWireless Wi-Fi Chapter 10 – IP AT Commands for the SocketWireless Wi-Fi Set Commands #DHCP – DHCP On or Off Description: Syntax: Values: Default: Enables or disables the DHCP client. If the DHCP client is enabled, the module will take the IP address from DHCP server. If DHCP client is disabled, the module will take the static IP address configured for the module.
Part 3 – AT Commands for Wi-Fi Devices Chapter 10 – IP AT Commands for the SocketWireless Wi-Fi #IPNETMASK – Set Subnet Mask Description: Syntax: Values: Default: Sets the subnet mask. Note: The module must be reset to put the command into effect. AT#IPNETMASK="" AT#IPNETMASK? Read or display the current setting. IP Address in dotted decimal notation (xxx.xxx.xxx.xxxx). "x" = a number between 0-255. 255.255.255.
Part 3 – AT Commands for Wi-Fi Devices Chapter 10 – IP AT Commands for the SocketWireless Wi-Fi #IPRELEASE – Release a DHCP Address Assigned by the Server Description: Syntax: Response: In order to gracefully release a DHCP address assigned by the server, the module should issue a command of DHCPRELEASE. AT#IPRELEASE AT#IPRELEASE returns OK #IPRENEW – Renew the DHCP Information from the Server Description: Syntax: Response: The DHCP client can renew the DHCP information from the server.
Part 3 – AT Commands for Wi-Fi Devices Chapter 10 – IP AT Commands for the SocketWireless Wi-Fi Display Commands #IPDNSTABLE – Display DNS Table Description: Syntax: Response: Values: This command displays the DNS table containing the list of queried Host names, corresponding to their resolved IPs. AT#IPDNSTABLE AT#IPDNSTABLE returns Name: WWW.GOOGLE.COM, IP Address: 59.100.107.
Part 3 – AT Commands for Wi-Fi Devices Chapter 11 – General AT Commands for the SocketWireless Wi-Fi Chapter 11 – General AT Commands for the SocketWireless Wi-Fi Set Commands A – Manual Answer of TCP or UDP Connection Description: Syntax: Example: Manual answer of a TCP or UDP connection. ATA 1. AT#WLANENABLE=1 2. Give command ATS0=0 3. Connect a TCP connection using command AT#TCPSTART=1/2 OK RING… 4.
Part 3 – AT Commands for Wi-Fi Devices Chapter 11 – General AT Commands for the SocketWireless Wi-Fi #BOOTMSG – Enable/Disable Boot Message Description: Syntax: Values: Default: Examples: Enables/disables the boot message. AT#BOOTMSG=<0,1> AT#BOOTMSG? Read or display the current setting. 0 - Disable 1 - Enable 1 Enable AT#BOOTMSG? 0 OK AT#BOOTMSG=1 OK AT#BOOTMSG? 1 OK AT#BOOTMSG=0 OK #WATCHDOG – Enable/Disable Watchdog Description: Note: Syntax: Enable/disable Watchdog for the system – reset on HANG.
Part 3 – AT Commands for Wi-Fi Devices Chapter 12 – Telnet AT Commands for the SocketWireless Wi-Fi Chapter 12 – Telnet AT Commands for the SocketWireless Wi-Fi and the SocketEthernet IP NOTE: The Telnet commands are used by the SocketEthernet IP (MT100SEM-IP) and the SocketWireless Wi-Fi (MT810SWM-IP). Set Commands #TELNET – Start/Stop Telnet Session Description: Note: Syntax: Values: Default: Example: Starts and stops a Telnet session. The module must be reset to put the command into effect.
Part 3 – AT Commands for Wi-Fi Devices Chapter 12 – Telnet AT Commands for the SocketWireless Wi-Fi #TELNETPASSWORD – Set Telnet Password Description: Note: Syntax: Default: Example: Sets Telnet password. The module must be reset to put the command into effect. AT# TELNETPASSWORD = “<64 char string>” AT# TELNETPASSWORD? Read or display the current setting (or AT#VTELNET or AT#VALL).
Part 3 – AT Commands Wi-Fi Devices Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi Set Commands #WLANSECURITYMODE – Security Mode of WLAN Module Description: Syntax: Values: Default: Sets the Wireless LAN security mode. Note: The module must be reset to put the command into effect. AT#WLANSECURITYMODE = AT#WLANSECURITYMODE? Read or display the current setting.
Part 3 – AT Commands Wi-Fi Devices Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi #WLANSCANMODE – Scanning Mode Description: Syntax: Values: Default: Sets scanning mode. The module can work in both active scanning and passive scanning modes. In active scanning, the module actively sends a probe request to associate with the AP, and in passive scanning, the module waits for a beacon from the AP and then it associates. Note: The module must be reset to put the command into effect.
Part 3 – AT Commands Wi-Fi Devices Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi #WLANCONNECT – Connect with AP Description: Syntax: Values: Example: Connects the module with AP. AT#WLANCONNECT None AT#WLANCONNECT SSID : WestConfRoom RSSI : -52 Network : BSS Security : No Enc Capability : 0x1 Channel : 5 WLAN Mode : B Mode BSSID : 00:13:D3:7B:A3:6A OK #WLANDISCONNECT – Disconnect with AP Description: Syntax: Values: Example: Disconnects the module with AP.
Part 3 – AT Commands Wi-Fi Devices Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi #WLANPROFILEn=n – Change the WLAN Profile Description: Syntax: Values: Parameters: Notes: Examples: This command changes the WLANPROFILE.
Part 3 – AT Commands Wi-Fi Devices Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi #WLANUSEPROFILE – User Profile Description: Syntax: Values: Sets and displays the use profile value. If user profile value is set to any value between 1 and 4, then at the time of user name association, the module first scans for the selected user profile parameters. Note: The module must be reset to put the command into effect. AT#WLANUSEPROFILE= AT#WLANUSEPROFILE? Read or display the current setting.
Part 3 – AT Commands Wi-Fi Devices Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi #WEP128KEY – Keys for WEP128 Security Mode Description: Syntax: Values: Default: Sets keys for WEP128 Security mode. Note: The module must be reset to put the command into effect. AT#WEP128KEYn ="" AT#WEP128KEYn? Read or display the current setting.
Part 3 – AT Commands Wi-Fi Devices Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi Display Commands #WEP? – See the Value of the WEP Keys Description: Syntax: Values: This command displays the values of the WEP keys.
Part 3 – AT Commands Wi-Fi Devices Chapter 13 – WLAN AT Commands for the SocketWireless Wi-Fi #WLAN? – WLAN Module Description: Syntax: Values: Default: Example: Displays WLAN module-related information. AT#WLAN? SECURITYMODE SSID NETWORKMODE IBSSCHANNEL COUNTRYCODE DATARATE SCANMODE WLANENABLE TXPOWER(dBm) MACADDR None AT#WLAN? #SECURITYMODE: 0 #NETWORKMODE: 0 #COUNTRYCODE: "DOMAIN_FCC" #SCANMODE: 0 #TXPOWER: NA #SSID: "WestConfRoom" #IBSSCHANNEL: 9 #DATARATE: 11.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, MultiModem iCell Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, MultiModem iCell Chapter 14– AT Commands for the Following Devices: SocketModem iCell SocketModem IP (when in IP mode) MultiModem iCell (when in IP mode) Universal IP AT Commands Reference Guide (Document S000457K) 73
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 Chapter 14 – AT Commands for the SocketModem iCell, SocketModem IP, MultiModem iCell These commands are for the following products SocketModem iCell (MTSMC-G2-IP) SocketModem iCell (MTSMC-C1-Nx-IP) SocketModem IP (MT5692SMI-IP) This SocketModem uses these commands when it is in IP mode. MultiModem iCell (MTCMR-xx-xx) This MultiModem uses these commands when it is in IP mode.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #ANSWERMODE – Set Answering Mode Description: Syntax: Values: Default: The TCP/IP stack can handle incoming calls. This parameter defines how the TCP/IP stack will behave when receiving an incoming call. AT#ANSWERMODE= AT#ANSWERMODE? Read or display the current setting (or AT#VPHY, AT#VALL). 0 - Ignore. Ignores the incoming call.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #CALLBACKTIMER – Set Automatic Call-Back Wait Description: Syntax: Values: Default: This parameter defines the number of seconds the TCP/IP stack will wait before an automatic call-back operation occurs after receiving an incoming call. It applies only when the ANSWERMODE parameter is set to an automatic call-back mode (value>1). This timer starts at the end of the ringing signal.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #KEEPALIVEPORT – Keep-Alive Port Number Description: Syntax: Values: Default: Example: If the keep-alive session is TCP, then keep alive port controls the remote host port number. AT#KEEPALIVEPORT= AT#KEEPALIVEPORT? Read or display the current setting (or AT#VKEEPALIVE or AT#VALL) Set the port number that the Profile will use: From 1 to 5 numeric digits (0 to 9).
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #ATCMD – Customize Dial-Up Commands Description: Syntax: id: Values: Defaults: This command allows the user to customize AT commands on dial up. AT#ATCMD=id,"Valid AT command" AT#ATCMD=id or AT#VALL Enter a Profile Setting: 0, 1, 2, 3 {0,1,2,3} Set the valid AT command (Do not include AT or issue &F, as the command will error) For Analog Devices: 0, "-STE=1" 1, "+MS=V34" 2, ".." 3, "..
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #RINGCOUNT – Set Number of Rings/Automatic Operation Description: Syntax: Values: Default: This parameter defines the number of rings that will be counted before an automatic operation occurs when receiving an incoming call. It applies only when the ANSWERMODE parameter is set to an automatic mode (value>0). If the ANSWERMODE parameter is used, the RINGCOUNT value must also be >0.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #DIALSELECT – Set Internet Connection Number Description: Syntax: Values: Default: The value of this command determines the number called to establish an Internet connection. It configures the TCP/IP stack software to use the primary dial-up number or the secondary dial-up number. AT#DIALSELECT= AT#DIALSELECT? Read or display the current setting (or AT#VPHY, AT#VALL). 1 - se primary dial-up number.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 Incoming Call Management Commands #ACCEPT – Answer Incoming Call Description: Values: Syntax: This command directs the TCP/IP stack to answer an incoming call. When the TCP/IP stack receives an incoming call, it sends over the serial port the “RING” messages. Depending on the value of the ANSWERMODE parameter, the TCP/IP stack may answer automatically or not.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #CONNECTIONSTART – Start Communication Description: Values: Syntax: This command directs the TCP/IP stack to originate an outgoing call. Upon receiving this command, the TCP/IP stack attempts to complete a connection session. The TCP/IP stack will dial the number according to the #GPRSMODE value and Dial Option parameter (DIALN1 or DIALN2 depending on DIALSELECT).
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #AUTOCONNECT – Automatically Connect the PPP Link Description: Values: Syntax: Default: #AUTOCONNECT enables/disables the automatic link connection. The APN or ISP values need to be set correctly. 0 - AUTOCONNECT disabled 1 - AUTOCONNECT enabled AT#AUTOCONNECT= AT#AUTOCONNECT? Read or display the current setting (or AT#VALL).
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #PPPSERVUN – Set User Name for Remote PPP Client Description: Syntax: Values: When the TCP/IP stack behaves as a PPP server (according to the PPPMODE parameter), it checks the remote PPP client login/password before granting access to the server. This parameter defines the user name that must be specified by the remote PPP client.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #GPRSCID – Set PDP Context Identifier Description: #GPRSCID is the PDP context identifier which specifies a particular PDP context definition. This parameter is local and may be used in other PDP context-related commands. Syntax: AT#GPRSCID= AT#GPRSCID? Read or display the current setting (or AT#VGPRS, AT#VALL). Values: Numeric between 1 and 4 inclusive.
Part 4 – AT Commands for the SocketModem iCell, SocketModem IP, and MultiModem iCell Chapter 14 #VPPP – Display PPP Parameters Description: Values: Syntax: This command directs the TCP/IP stack to display all the AT# parameters related to the PPP layer configuration. Read Parameters: ISPPW ISPUN PPPMYIP PPPPEERIP AT#VPPP Command Possible Responses AT#VPPP #ISPUN: “myispun” #ISPPW: “myisppwd: #PPPMODE: 1 #PPPMYIP: “0.0.0.0” #PPPPEERIP: “0.0.0.
Part 5 – GPIO AT Commands Part 5 – GPIO AT Commands Chapter 15 – GPIO AT Commands Universal IP AT Commands Reference Guide (Document S000457K) 87
Part 5 – GPIO AT Commands Chapter 15 – GPIO AT Commands Chapter 15 – GPIO AT Commands About GPIO If the specific hardware allows GPIO (check availability with AT#GPIO=1), then you may specify certain external events from the GPIOs to trigger specific stack functions; i.e., email, upload files, download files. In order for this to work, you must configure the specific function first.
Part 5 – GPIO AT Commands Chapter 15 – GPIO AT Commands Hangup: Determines whether to disconnect from the network after GPIOs have been processed. Values: 0 - Physical connection will disconnect when all GPIOs have been processed 1 - Physical connection will stay connected.
Part 5 – GPIO AT Commands Chapter 15 – GPIO AT Commands #GPIOTRIGGER – Configure the GPIO pin and trigger type Description: Syntax: Values: Responses: Examples: Configure the GPIO pin and trigger type.
Part 6 – AT Commands for GPS-Enabled Devices Part 6 – AT Commands for GPS-Enabled Device Chapter 16 – Commands for GPS-Enabled Device Universal IP AT Commands Reference Guide (Document S000457K) 91
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPSEnable Products #GPSSERV – Set GPS Host Server Address Description: Syntax: Values: Responses: This command sets the server IP address or name to which the GPS data will be sent. AT#GPSSERV="" AT#GPSSERV? or AT#VGPS or AT#VALL 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.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices #GPSURAIS – Set GPS Unique Remote Asset Identification String Description: Syntax: Values: Default: Responses: This command is used to set a unique remote access identification string for each device or vehicle. AT#GPSURAIS="" AT#GPSURAIS? or AT#VGPS or AT#VALL Up to 20 characters in an alphanumeric string Note: The ID precedes the GPSPREFIX.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices #GPSGPGLL – Enable/Disable GPGLL Message Description: Syntax: Values: Default: Responses: This command enables or disables the reporting of NMEA GPGLL messages.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices #GPSGPVTG – Enable/Disable GPVTG Message Description: Syntax: Values: Default: Responses: This command enables or disables the reporting of NMEA GPVTG messages.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices GPS Message Syntax GPS message syntax that is sent from the UIP device to the backend server: Where is the unique prefix. Length is 0 to 4 characters (Character format or requirements usually provided by backend service) is the unique remote asset identification string.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices GPS Configuration Examples AT#GPSPREFIX="&&" Prefix (Requirements provided by backend service) AT#GPSURAIS="ID1111" Unique ID (Requirements provided by backend service) AT#GPSGPRMC=1 Enable GPRMC message (Requirements provided by backend service) AT#GPSGPGGA=0 Disable GPGGA message (Requirements provided by backend service) AT#GPSGPGLL=0 Disable GPGLL message (Requirements provided by
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices Application Note – GPS NMEA Messages Introduction The NMEA (National Marine Electronics Association) 0183 Standard is a standard protocol for interfacing navigational devices; e.g., GPS and DGPS receivers over a serial interface. The complete document of this standard may be obtained from NMEA at http://www.nmea.org. We wish to thank SkyTraq Technology, Inc. for providing the following summary of NMEA Messages.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices SUPPORTED MESSAGE LIST The following NMEA messages are supported.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices GLL – Latitude/Longitude Latitude and longitude of current position, time, and status. Structure: $GPGLL,ddmm.mmmm,a,dddmm.mmmm,a,hhmmss.sss,A,a*hh Example: $GPGLL,2447.0944,N,12100.5213,E,112609.932,A,A*57 Name Message ID Latitude N/S Indicator Example $GPGLL 2447.0949 N Longitude 12100.5213 E/W Indicator E UTC Time 112609.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices GSV – GNSS Satellites in View Number of satellites (SV) in view, satellite ID numbers, elevation, azimuth, and SNR value. Four satellites maximum per transmission.
Part 6 – AT Commands for GPS-Enabled Devices Chapter 16 – AT Commands for GPS-Enabled Devices RMC – Recommended Minimum Specific GNSS Data Time, date, position, course and speed data provided by a GNSS navigation receiver. Structure: $GPRMC,hhmmss.sss,A,dddmm.mmmm,a,dddmm.mmmm,a,x.x,x.x,ddmmyy,,,a*hh Example: $GPRMC,111636.932,A,2447.0949,N,12100.5223,E,000.0,000.0,030407,,,A*61 Name Example Description Message ID $GPRMC RMC Protocol Header UTC time 111636.932 UTC of position in hhmmss.
Part 7 – Appendixes Part 7 – Appendixes Appendix A – Response Messages and Error Codes Appendix B – Response Message Examples Universal IP AT Commands Reference Guide (Document S000457K) 103
Part 7 – Appendixes Appendix A – Response Messages and Error Codes Appendix A – Response Messages & Error Codes Response Messages Numeric 0 3 7 8 4 2 Numeric 1025 1028 3074 3072 3073 3077 Standard AT Messages Verbose Description OK Operation or command success NO CARRIER No physical layer connection BUSY Destination busy NO ANSWER No answer from destination ERROR Operation or command unsuccessful RING Incoming call indication Information Messages Verbose Description Ok_Info_DataBegin Start of data Ok_I
Part 7 – Appendixes Appendix A – Response Messages and Error Codes Error Codes Numeric 34817 34819 34824 34881 34882 34883 35840 35862 35865 35866 35867 35869 35870 36872 36929 37122 37123 37124 37125 37952 37964 37966 38016 38017 38018 38023 38024 38025 38026 38027 38028 38029 38030 38031 38080 38081 Error Codes Description Bad command : Unknown command Bad command : Syntax error Bad command : EEPROM write failed Bad command : Command too long Bad command : Bad command argument value Bad command : High
Part 7 – Appendixes Appendix B – Response Message Examples Appendix B – Response Message Examples Response Messages Examples Sending/Retrieving Email Response Messages Sending an Email: AT#PUTMAIL Commands AT#SMTPSERV="smtp.domain.com" Note: SMTP server used AT#DOMAIN="domain.com" Note: Domain name AT#SENDERNAME="Test module" Note: Sender name AT#SENDERADDR="module@domain.
Part 7 – Appendixes Retrieving an Email: AT#GETMAIL Commands AT#POP3SERV="pop3.domain.com" Note: POP3 server used AT#POP3UN="module@domain.com" Note: POP3 username (not always the complete email address). It is the POP3 login AT#POP3PW="password" Note: POP3 password AT#POP3PORT="110" Note: POP3 port AT#GETMAIL Note: Retrieve an email Appendix B – Response Message Examples Responses OK OK OK OK Ok_Info_Mail Note: The software switches from command mode to data mode for receiving the email content.
Part 7 – Appendixes Appendix B – Response Message Examples FTP: Download / Upload Files Response Messages Upload a file to an FTP Server: AT#FTPPUT Commands AT#FTPSERV="ftp.domain.com" Note: FTP server used AT#FTPUN="ftplogin" Note: FTP username AT#FTPPW="ftppassword" Note: FTP password AT#FTPPUTFILENAME="upload.text" Note: Name of the file that will be written in the FTP server AT#FTPPUTPATH=".
Part 7 – Appendixes Appendix B – Response Message Examples TCP Socket Response Messages Open a TCP socket between machines. One machine acts as a caller (TCP client); the other acts as a listener (TCP server). Both machines have to be connected to the Internet and set to the same TCP port. Act as a TCP Server: AT#LTCPSTART Commands AT#TCPSERV=1,"255.255.255.
Index Index # #ACCEPT – Answer Incoming Call................................... 81 #ANSWERMODE – Set Answering Mode ........................ 75 #APNPW – Access Point Name Password ....................... 84 #APNSERV – Access Point Name ................................... 84 #APNUN – Access Point User Name................................ 84 #ATCMD – Customize Dial-Up AT Commands ................ 78 #AUTHENT – Authentication Type ...................................
#POP3PW – Set POP3 Password .................................... 26 #POP3SERV – Set POP3 Server Address ....................... 26 #POP3UN – Set POP3 User Name .................................. 27 #PPPMODE – TCP/IP Behavior ....................................... 83 #PPPMYIP – IP Address When Using PPP ...................... 83 #PPPPEERIP – IP Address for Remote PPP ................... 84 #PPPSERVPW – Remote PPP Client Password.............. 84 #PPPSERVUN – User Name for Remote PPP Client.......
Authentication ON or OFF – #SMTPAUTH ....................... 25 Authentication Type – #AUTHENT ................................... 74 Auto Connect Module with AP – #WLANENABLE ............ 67 Auto Discovery On or Off – #AUTODISC.......................... 54 Auto Discovery Port – #AUTODISCPORT ........................ 54 Auto Discovery Timer – #AUTODISCTIMER .................... 54 Automatic Answer – S0= .................................................. 59 Automatic Call-Back Wait – #CALLBACKTIMER .........
#TCPPACKETMAX – TCP Client Transmit Packet Maximum Size .......................................................... 35 #TCPPACKETMIN – TCP Client Transmit Packet Minimum Size ........................................................................... 35 #TCPPORT – Set TCP Port for Remote Peer ................ 34 #TCPSERV – Set Address of Remote TCP Server ....... 34 #TCPTELNETMODE – Enable/Disable TCP Listener Telnet Protocol.....................................................................
#TCPNETWORKTIMER – TCP Client Network Transmit Safety Timeout Value................................................ 36 #TCPPACKETMAX – TCP Client Transmit Packet Maximum Size .......................................................... 35 #TCPPACKETMIN – TCP Client Transmit Packet Minimum Size ........................................................................... 35 #TCPPORT – Set TCP Port for Remote Peer ................ 34 #TCPSERV – Set Address of Remote TCP Server .......
#PUTMAIL – Send Mail to Recipient with Interactive Mode .................................................................................. 24 #RECiADD – Set Email Address ...................................... 20 #REDIALCOUNT – Connection Attempts Allowed ........... 78 #REDIALDELAY – Call Retry Delay ................................. 78 #RESET – Reset Main Processor or Internal Modem ....... 14 #RINGCOUNT – Set Number of Rings ............................. 79 #SENDERADDR – Set Sender Address ..............
#LUDPSTART – Initiate the UDP Session in Listen Mode ........................................................................ 45 #LUDPSTOP – Close UDP Listening Mode ................... 46 #OTCP – Open a TCP Connection ................................. 39 #OUDP – Initiate UDP Session in Active Mode ............ 46 #OUTPORT – UDP/TCP Local Port Number ........ 39, 46, 77 #PERSISTENTSOCKET – Persistent Socket ............. 33, 41 #PHYTIMEOUT – Inactivity Timer ....................................
#IPRELEASE – Release a DHCP Address Assigned by the Server ....................................................................... 59 #IPRENEW – Renew DHCP Information from Server ...... 59 #IPRESOLV – Is There a Connection with DNS or Not .... 59 #LEGACYMODE – Legacy Mode Enable/Disable ............ 14 #LTCPSTART – Open Listening Mode .......................... 38 #LTCPSTOP – Close TCP Listening Mode.................... 39 #LUDPSTART – Initiate the UDP Session in Listen Mode ...............................
Display Current State of Physical Connection – #VSTATE ...................................................................................... 16 Display DNS Table – #IPDNSTABLE ............................... 60 Display Email Parameters for Mail ID – #VMAILi .............. 25 Display FTP Parameters – #VFTP .................................... 32 Display IP Addresses – #DISPLAYIP ............................... 85 Display Physical Parameters – #VPHY.............................
Retrieve Host Mail – #GETMAIL ....................................... 27 RLSD (DCD) Option – &C................................................. 11 RMC – Recommended Minimum Specific GNSS Data ... 102 S S0= – Automatic Answer .................................................. 59 Scan Wireless Networks – #WLANSCAN ......................... 68 Scanning Mode – #WLANSCANMODE ............................ 66 Secondary Dial-Up Number – #DIALN2............................