For a current list of our domestic and international sales offices, go to the Lantronix web site at
https://www.lantronix.com/about-us/contact.
Open Source Software
Some applications are Open Source software licensed under the Berkeley Software Distribution (BSD) license, the GNU General Public License (GPL) as published by the Free Software Foundation (FSF), or
the Python Software Foundation (PFS) License Agreement for Python 2.7.3 (Python License). Lantronix
grants you no right to receive source code to the Open Source software; however, in some cases, rights and
access to source code for certain Open Source software may be available directly from Lantronix’ licensors.
Your use of each Open Source component or software is subject to the terms of the applicable license.
The BSD license is available at http://opensource.org/licenses. The GNU General Public License is available at http://www.gnu.org/licenses/. The Python License is available at http://cmpt165.csil.sfu.ca/Python-
Docs/license.html. Your use of each Open Source component or software is subject to the terms of the
applicable license.
OPEN SOURCE SOFTWARE IS DISTRIBUTED WITHOUT ANY WARRANTY, INCLUDING ANY IMPLIED
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSE AGREEMENT FOR ADDITIONAL INFORMATION.
M110 Series Cellular Modem mPACK Command Reference1
You may request a list of the open source components and the licenses that apply to them. Contact your
regional Lantronix sales associate. https://www.lantronix.com/about-us/contact/.
Disclaimer & Revisions
All information contained herein is provided “AS IS”. Lantronix undertakes no obligation to update the
information in this publication. Lantronix does not make, and specifically disclaims, all warranties of any kind
(express, implied or otherwise) regarding title, non-infringement, fitness, quality, accuracy, completeness,
usefulness, suitability or performance of the information provided herein. Lantronix shall have no liability
whatsoever to any user for any damages, losses and causes of action (whether in contract or in tort or
otherwise) in connection with the user’s access or usage of any of the information or content contained
herein. The information and specifications contained in this document are subject to change without notice.
Revision history
DateRevisionComments
August 20181.1Initial Release
November 20181.2Added commands: AT#USBDENB
March 20191.3Added commands: AT#PASS, AT#
September 2019A
Added Lantronix part number, contact information, and branding
M110 Series Cellular Modem mPACK Command Reference2
M110 Series Cellular Modem mPACK Command Reference6
1: Introduction
The aim of this document is to provide users of Lantronix M110 Modems running mPACK, a detailed description of the commands supported by mPACK and various configuration / operation modes in which
M110 series Modems could be used.
Safety Precautions
General Precautions
– The modem generates radio frequency (RF) power. When using the modem care must be taken on
safety issues related to RF interference as well as regulations of RF equipment.
– Do not use the modem in aircraft, hospitals, petrol stations or in places where using GSM products is
prohibited.
– Be sure that the modem will not be interfering with nearby equipment. For example: pacemakers or
medical equipment. The antenna of the modem should be away from computers, office equipment,
home appliances, etc...
– An external antenna must be connected to the modem for proper operation. Only used approved
antennas with the modem. Please contact authorized dealer on finding an approved antenna.
– Always keep the antenna with minimum safety distance of 26.6 cm or more from human body.
– Do not put the antenna inside metallic box, containers, etc.
Protecting your modem
To ensure error-free usage, please install and operate your modem with care. Remember the following:
– Do not expose the modem to extreme conditions such as high humidity/temperatures, rain, direct
sunlight, caustic/harsh chemicals, dust, or water.
– Do not try to disassemble or modify the modem. There is no user serviceable part inside and the
warranty would be void.
– Do not drop, hit or shake the modem. Do not use the modem under extreme vibrating condition.
– Do not pull the antenna or power supply cable. Please attach or detach by holding the connector.
– Connect the modem only according to the instruction manual. Failure to do it will void the warranty.
1.1M110 series supported by mPACK
Please consult the sales representative of Lantronix for the most update information.
** Uplink / Downlink maximum data rates:
M110 Series Cellular Modem mPACK Command Reference7
– 3G: 5.76 / 7.2 Mbps
– NB-IoT: 62.5 / 27.2 kbps
– LTE-M1: 375 / 375 kbps
– LTE cat. 1: 5 / 10 Mbps
Chapter 1. Introduction
M110 Series Cellular Modem mPACK Command Reference8
2: Basic Operation
2.1Modes of Operation
M110 running mPACK can be operated in the following modes:
– PPP Dial up over RS232 (Linux)
– PPP Dial up over USB (Linux)
– Generic AT commands over RS232
– Generic AT commands over USB
– mPACK commands over RS232
– mPACK commands over USB
Thanks to the wide range of operating modes, mPACK transforms the M110 Modem into a versatile modem
which is capable of providing data connectivity to serial devices in almost any situation be it an Intelligent
connected serial device with full TCP/IP stack capable of PPP connection or an intelligent connected serial
device capable of sending commands but without a TCP/IP stack or be it a non-intelligent connected serial
device only pumping out data on serial port.
In addition, a function of mPACK as listed below provides extra functionality and greatly improves the robustness of the wireless connected system.
– Automatic and self-recovery TCP/UDP socket connection
– AT command driven TCP/UDP socket connection
– Ping Service
– Network Watchdog
– Input/output and Analog triggered AT command
– Remote AT command through SMS and TCP Terminal
– Remote program updating
– Socket data sending
2.2Getting Started
Before putting the M110 in operation, it must be configured first. The configuration commands can be given
to the modem over Serial port or by sending an SMS.
To send command over the serial port, please connect M110 to a computer over Serial port. Use standard
software available on a Windows PC (e.g. hyper terminal) to send serial commands to M110. SMS would
have to be sent to the mobile number corresponding to the SIM card inserted in M110 device. In either
case, the commands are mPACK AT commands as described below.
M110 Series Cellular Modem mPACK Command Reference9
2.3Default settings
The default settings of the UART and USB ports are as follows:
– Baudrate: 115200
– Character Framing: 8
– Parity: None
– Stop Bit: 1
– Flow Control: None
2.4Basic Command Syntax
All commands starting with AT+ entailed in documents:
– u-blox-ATCommands_Manual_(UBX-13002752) for M111, M114, M115
Chapter 2. Basic Operation
– SARA-N2_ATCommandsManual_UBX-16014887 for M112, and
– SARA-R4_ATCommandsManual_(UBX-17003787) for M113
All mPACK commands start with AT# are the only ones covered in this document, e.g.
AT#INFO
Error codes for uBlox commands are as described in the uBlox AT command manual
Error codes for mPACK commands are as follows:
– “ERROR BAD PARAMETER” for wrong parameters or out of range values
– “ERROR UNKNOWN COMMAND” for wrong command syntax
2.5LED Status Indicator
The LED will indicate different status of the modem:
– For Orange LED:
• OFF: No cellular connection
• ON: Cellular connection
• Blinking: Data transfer
– For Green LED:
• OFF: No power
• Slow blink: No signal or CSQ < 4,99
• Fast blink: Bad CSQ < 9
• ON: Good signal or CSQ > 10
M110 Series Cellular Modem mPACK Command Reference10
2.6Factory reset
To factory reset the device, hold the reset pin for over 30 seconds.
– Initially both LED’s are off
– After 5 seconds the green LED will go on (and the orange LED remains off)
– After 30 seconds the orange LED will go on (and the green LED goes off)
Chapter 2. Basic Operation
M110 Series Cellular Modem mPACK Command Reference11
Note: Device restarts after this command is executed
AT#CONFIGDEL
exec :
AT#CONFIGDEL
OK
M110 Series Cellular Modem mPACK Command Reference12
Chapter 3. Administration Commands
3.3AT#RESET
Software reset the M11X device
ALLOWED: exec
AT#RESET
exec :
AT#RESET
OK
3.4AT#MRST
This command resets the M11x module after a programmed delay. The M11x module will reset cyclically
until this mode is disabled.
ALLOWED: exec-state-info
AT#MRST=(mode),(delay)
– mode: timer reset mode
• 0: disabled
• 1: enabled
– delay: time set to reset the embedded module
• range: "000:01" - "167:59" (format hhh:mm)
– remainTime: time before next reset
• range: "000:01"- "167:59" (format hhh:mm)
exec :
AT#MRST=1,"100:00"
OK
state (1 minute after executing the exec command):
AT#MRST?
#MRST: 1,"100:00","099:59”
OK
info :
AT#MRST=?
OK
3.5AT#NWRST
Controls reset of the modem in case of network failure conditions
M110 Series Cellular Modem mPACK Command Reference13
Chapter 3. Administration Commands
ALLOWED: exec-state-info
Note: Network failure conditions are defined to be cases where registration to cellular/data network fails, or
bad signal quality. Each time only one of the above network conditions are checked
AT#NWRST=(option),(timer),(counter)
– option: 0 to disable, 1 to enable, 2 to configure. Default disabled
– timer : 5-120 second interval at which network conditions are checked (different network conditions
are checked each time). Default 5
– counter: 10-1000; count of consecutive network failures, after which the device will reset if option = 1.
Default 10
exec :
AT#NWRST=2,10,18
OK
state :
AT#NWRST?
#NWRST: 0,10,18
OK
info :
AT#NWRST=?
#NWRST: (0-2),(5-120),(10-1000)
OK
3.6AT#MATSCR
Enters a list of modem-internal AT commands (cannot be mPACK AT# commands) that will be executed at
each start up
ALLOWED: exec-state-info
AT#MATSCR=(list_of_commands)
– list of commands: one or more uBlox-AT commands, separated by ’; ’ as typed (i.e. “” are OK)
exec :
AT#MATSCR
> (a list of uBlox AT commands separated by ’; ’ , terminated by ctrl-Z)
OK
state :
AT#MATSCR?
#MATSCR: “(commands as entered, no formatting)”
OK
M110 Series Cellular Modem mPACK Command Reference14
Chapter 3. Administration Commands
info :
AT#MATSCR=?
#MATSCR: (180)
OK
3.7AT#USBATCOM
Enables/Disables cellular AT command over USB.
ALLOWED: exec-state-info
Note: When turning on, sometimes it depends on behaviour of the device driver on the computer whether
the port can be found. If not found, user needs to detach and re-attach the USB port
AT#USBATCOM=(flag)
– flag: 0 to disable cellular AT commands on the USB port (and allow cellular AT commands on the
serial port); 1 to reverse the ports
exec :
AT#USBATCOM=1
OK
state :
AT#USBATCOM?
#USBATCOM: 1
OK
info :
AT#USBATCOM=?
#USBATCOM: (0-1)
OK
3.8AT#PASS
Enables / Disables pass-through mode.
ALLOWED: exec-state-info
Note:
– This command applies to a specific version of software only.
– In M113-NB, user can enter either mPACK commands (usually beginning with AT#) or u-Blox com-
mands (usually beginning with AT+, or just AT) at one time, but not both. In order to enter the other
set of command, the user need to use AT#PASS to switch between the 2 modes:
M110 Series Cellular Modem mPACK Command Reference15
Chapter 3. Administration Commands
• PASS mode set to 0 : pass-through mode disabled; only mPACK commands are accepted.
• PASS mode set to 1 : pass-through mode enabled; only u-Blox commands are accepted.
– If pass-through mode is disabled (can check with AT#PASS?) and enabling pass-through mode is
desired:
• AT#PASS=1 to change to pass-through mode
– If pass-through mode is enabled (cannot check with AT#PASS?, which returns ERROR, as this is not
u-Blox command), and exit pass-through mode is desired:
• Issue +++ (and the modem should exit pass-through mode)
• AT#PASS=0 to make the switch permanent (otherwise, the modem will be in pass-through mode
again when it restarts)
AT#PASS=(flag)
– flag: 0 to disable pass through mode, 1 to enable. Default 0
– Note all commands work only when pass-through mode is 0.
exec :
AT#PASS=1
OK
state :
AT#PASS?
#PASS: 0
OK
info :
AT#PASS=?
#PASS: (0-1)
OK
3.9AT#STRUPMSG
Edits the startup message of mPACK software.
ALLOWED: exec-state-info
Note:
– The startup sequence of unsolicited response of the mPACK software is always :
length:0
(startup message)
AT#STRUPMSG=(text)
M110 Series Cellular Modem mPACK Command Reference16
Chapter 3. Administration Commands
– text : text for the startup message, up to 60 printable ASCII characters. Note that there is always a
startup message, and the default startup message is “READY”, which can be selected using “*” as the
text argument (and shown as “*” in state query).
exec :
AT#STRUPMSG=”Hello”
OK
state :
AT#STRUPMSG?
#STRUPMSG: ”Hello”
OK
info :
AT#STRUPMSG=?
#STRUPMSG: (60)
OK
M110 Series Cellular Modem mPACK Command Reference17
4: Hardware commands
4.1AT#SERIAL
Configure the user-side UART baudrate, character-framing and flow control
ALLOWED: exec-state-info
Note:
– Bauds 300, 600 are not supported
– The character-framing of 7 data-bytes does work with current configuration, but unreliably.
– Note that modem will reset if AT#SERIAL exec command is issued
AT#SERIAL=(baud),(charFraming),(flowCtrl)
– baud: one of (1200,2400,4800,9600,19200,38400,57600,115200)
– charFraming: one of ("8N1","8N2","9O1","9E1"). See also note above.
– interval: time in second between each ping trial. Default value is 3. Valid range is 1 to 10.
– timeout: time in ms before ping is timed out. Default value is 10. Valid range is 5000 to 60000.
NOTE: The IPPING command is just used for setting the PING address and parameters (interval, timeout)
for use by oher functions. This command cannot be used to directly PING a given address in the current
implementation.
M110 Series Cellular Modem mPACK Command Reference30
– mode
• 0: AUTOTCP connection OFF
• 1: AUTOTCP connection ON
exec :
AT#AUTOTCP=0
OK
state :
AT#AUTOTCP?
#AUTOTCP: 0
OK
info :
AT#AUTOTCP=?
#AUTOTCP: (0,1)
Chapter 7. Socket Commands
OK
7.4AT#AUTOUDP
Command to Start Auto UDP functionality
ALLOWED: exec-state-info
AT#AUTOUDP=(mode)
– mode
• 0: AUTOUDP connection OFF
• 1: AUTOUDP connection ON
exec :
AT#AUTOUDP=0
OK
state :
AT#AUTOUDP?
#AUTOUDP: 0
OK
info :
AT#AUTOUDP=?
#AUTOUDP: (0,1)
OK
M110 Series Cellular Modem mPACK Command Reference31
Chapter 7. Socket Commands
7.5AT#OTCP
On-demand TCP socket connection.
ALLOWED: exec-state-info
AT#OTCP=(mode)
– mode
• 0: TCP connection OFF
• 1: TCP connection ON
exec :
AT#OTCP=0
OK
Note: In the current implementation, “OK” means command is accepted. It does not mean that the device
is connected to the server. “CONNECT” should appear on the appropriate terminal (UART or USB) if
connection is successful.
state :
AT#OTCP?
#OTCP: 0
OK
info :
AT#OTCP=?
#OTCP: (0,1)
OK
7.6AT#OUDP
On-demand UDP socket connection.
ALLOWED: exec-state-info
AT#OUDP=(mode)
– mode
• 0: UDP connection OFF
• 1: UDP connection ON
exec :
AT#OUDP=0
OK
state :
M110 Series Cellular Modem mPACK Command Reference32
AT#OUDP?
#OUDP: 0
OK
info :
AT#OUDP=?
#OUDP: (0,1)
OK
7.7AT#SCHOST
Configure, erase & read remote TCP server parameter
Parameter configuration for enabling password protected access for remote TCP client (when M11x modem
is in TCP-server mode).
ALLOWED: exec-info
Note: Please refer to AT#TCPTERM on the sequence for AT#SERVAUTH
AT#SERVAUTH=(mode)[,(password)]
– mode:
• 0: Disable server authentication
• 1: Enable server authentication
• 2: Configure password
– password: 6 characters enclosed in double quotes. Default "000000"
exec :
AT#SERVAUTH=2,"123456"
OK
info :
AT#SERVAUTH=?
#SERVAUTH: (0-2),(6)
OK
7.11AT#MURC
Enables/Disables “CONNECT” message upon Socket connection and “DISCONNECT” message upon
socket disconnection.s
ALLOWED: exec-state-info
M110 Series Cellular Modem mPACK Command Reference36
Chapter 7. Socket Commands
AT#MURC=(flag)
– flag: 0 to disable cellular AT commands on the USB port (and allow cellular AT commands on the
serial port); 1 to reverse the ports
exec :
AT#MURC=1
OK
state :
AT#MURC?
#MURC: 1
OK
info :
AT#MURC=?
#MURC: (0-1)
OK
M110 Series Cellular Modem mPACK Command Reference37
8: Remote Control Commands
8.1AT#SMSAT
This feature is to control the modem to interpret AT command from incoming SMS, executing it, and return
the result to sender by SMS. The user can enable the modem to receive AT command by incoming SMS.
Description of the operation:
Figure 8.1.1: Example of remote AT command by SMS
1. When enabled, the modem will treat the incoming SMS as a source of AT command only if all of the
following conditions (a, b and c) are fulfilled:
(a) The content of SMS sent to the modem is using standard 7-bit GSM data decoding scheme
(b) The first 6 characters of the SMS content matches the <key> parameter set by AT+SMSAT
command (default key is “000000”)
(c) The 7th and 8th characters of the SMS content is “AT” (in capital letters).
2. If SMSAT is enabled, the modem will read each incoming SMS, if the conditions mentioned in 1 are
matched the message will be executed, even it is an invalid AT command.
3. When using SMSAT feature, only +CNMI: x, 1, x, x, x setting could be used (i.e. incoming message
will be stored in SIM card).
4. The maximum length of the AT command is limited by length of SMS, i.e. 160-6 = 154 characters.
5. When the SMS AT command is executed, all intermediate and final Read Responses will be buffered
recorded, then return to the sender’s phone number in one single SMS.
6. If Read Response(s) of the AT command is (are) more than 160 characters, only the first 160 characters will be returned.
M110 Series Cellular Modem mPACK Command Reference38
Chapter 8. Remote Control Commands
7. In case the modem cannot get terminal Read Response within 26 seconds, the modem will then abort
the command, and return intermediate Read Responses (if present).
8. If the SMSAT feature is enabled, all incoming SMS, either with valid AT command or not, will be
erased. This is to prevent SIM card memory from fully filled; such the modem will not receive new
SMS.
Configure, enable and disable remote AT command by SMS; ALLOWED: exec-state-info
AT#SMSAT=(mode)[,(param)]
– mode
• 0: Disable SMSAT
• 1: Enable SMSAT
• 2: Change the password for SMSAT
• 3: Change the SMS response trigger
– param
• for mode=2 : password, 6 alphanumeric characters in quotes
• for mode=3 : 0 to disable SMS response; 1 to enable SMS response
• (not needed for modes = 0 or 1)
exec :
AT#SMSAT=2,”123456”
OK
state :
AT#SMSAT?
#SMSAT: 0,"123456",0
OK
info :
AT#SMSAT=?
#SMSAT: #SMSAT: (0-3),((6)/(0-2))
OK
8.2AT#TCPTERM
Parameter configuration for enabling configuration over cellular data network; and start/stop TCP Terminal
for remote commands over TCP.
ALLOWED: exec-state-info
Note:
– Network watchdog ping is used by application when the device enters data mode
M110 Series Cellular Modem mPACK Command Reference39
Chapter 8. Remote Control Commands
AT#TCPTERM=(mode)[,(password),(port),(timeout)]
– mode:
• 0: Disable TCP Terminal
• 1: Enable TCP Terminal
• 2: Configure password, port, timeout
– password: max 16 characters. Default "000000"
– port: port used on the modem for incoming TCP connection. Default 23
M110 Series Cellular Modem mPACK Command Reference41
• 0: stop the update process
• 1: stop the update process
exec :
AT#UPDATE=0
OK
state :
AT#UPDATE?
#UPDATE: 0
OK
info :
AT#UPDATE=?
ERROR
Chapter 9. Firmware Update Commands
M110 Series Cellular Modem mPACK Command Reference42
10: D2Sphere Commands
10.1AT#IPD2S
D2Sphere configuration command
ALLOWED: exec-state-info
Note:
– Device restarts after this exec command is accepted.
AT#IPD2S=(port),(IP-address),(delay)
– port: port on the D2sphere server
– IP-address: IP address of D2sphere server, in IPv4 dotted-notation
– delay: delay to start in seconds. Range 0-43200
exec :
AT#IPD2S=4444,"5.35.253.3",1000
OK
exec :
AT#IPD2S?
#IPD2S: 4444,"5.35.253.3",1000
OK
exec :
AT#IPD2S=?
#IPD2S: (0-65535),(120),(0-43200)
OK
10.2AT#D2S
Enable or disable D2Sphere function
ALLOWED: exec-state-info
AT#D2S=(mode)
– mode
• 0: disable
M110 Series Cellular Modem mPACK Command Reference43
• 1: enable
exec :
AT#D2S=1
OK
state :
AT#D2S?
#D2S: 1
OK
info :
AT#D2S=?
#D2S: (0,1)
OK
Chapter 10. D2Sphere Commands
10.3AT#DVNAME
Configure device name for D2Sphere
ALLOWED: exec-state-info
AT#DVNAME=(name)
– name: name of the device, in quotes
exec :
AT#DVNAME="M11x_001"
OK
state :
AT#DVNAME?
#DVNAME: "M11x_001"
OK
info :
AT#DVNAME=?
#DVNAME: (23)
OK
10.4How to add a M110 modem to D2sphere platform (feature)
For D2sphere support for the M110 modem, please consult Lantronix representative for enabling the support and obtaining a D2sphere account.
M110 Series Cellular Modem mPACK Command Reference44
Chapter 10. D2Sphere Commands
– Use AT+CGSN command to get the IMEI of the device :
AT+CGSN
357364080023467
OK
– Set the name of the device using the AT#DVNAME command
– Set the IP address and the port of the D2sphere server using the AT#IPD2S command
– Enable the connection of the device to the data network. The IP address of the device should be
public.
– Enable D2sphere support on the modem using the AT#D2S=1 command
– Log in to D2sphere (account need to be created by Lantronix)
– Go to the “administrate” page, which shows a list of all devices under the control of the current user
– Press “Add” at the upper right. Fill in the IMEI of the device to be added. Press Register.
– Refresh the administrate page. Note that it may take a few minutes for the device to be registered,
and then a few more minutes for information about the device to be obtained.
10.5Operation of D2sphere
The most updated information are on the following web pages. Note that some items on the list of commands or supported operations listed on the web pages may not be available on all platforms - please check
with the technical support team:
M110 Series Cellular Modem mPACK Command Reference50
13: Applications Notes
13.1Cellular Setup Example
The AT#IPCELLULAR command is used to setup cellular network parameters. The configuration of the
cellular network is done by setting the following parameters:
M110 Series Cellular Modem mPACK Command Reference51
Chapter 13. Applications Notes
– IP-address : IP address of TCP Socket server
CommandResponseDescription
AT#IPTCP=?#IPTCP:
(1-2),(0-65535),("C","S"),"(120)",(1)
OK
AT#IPTCP=1,50000,"C","162.242.170.48"OKThis command is used to set the
AT#IPTCP?#IPTCP:
1,50000,"C","162.242.170.48",1
#IPTCP: 2,0,"C","",1
OK
The AT#AUTOTCP command is used to enable or disable AutoTCP by :
AT#AUTOTCP=<enable/disable>
where:
This command is used to give the
valid range of all parameters.
IP address and port of the TCP
Client Socket for UART.
This command reads what is the
current setting. Note an extra 5th
parameter appears in the read
response. This parameter is
deprecated and can be ignored.
– enable/disable : 1 to enable; 0 to disable
CommandResponseDescription
AT#AUTOTCP=?#AUTOTCP: (0,1)
OK
AT#AUTOTCP?#AUTOTCP: 0
OK
AT#AUTOTCP=?OKThis command turns on AutoTCP.
Notes: After enabling for client mode:
– "CONNECT" should appear on the UART/USB port of the modem approximately 20 seconds after-
wards
– Thereafter, the port is turned into data mode, where no AT commands are accepted.
– Every byte sent in data mode goes to the remote peer
– If +++ is sent in data mode, preceded and followed by 1-second of no activity on the data channel,
connection to the remote peer will be broken. "DISCONNECT" will be seen and the port will go back
to AT command (where AT commands are expected)
This command is used to give the
valid range of the parameter.
This command checks the current
status of AutoTCP.
13.3AutoTCP Server Setup Example
Note-1: AutoTCP should be disabled before changing any AT#IPCELLULAR and AT#IPTCP parameters
Note-2 : AT#IPCELLULAR parameters must be set up correctly before AutoTCP can be used
The AT#IPTCP command is used to setup TCP Client socket parameters:
M110 Series Cellular Modem mPACK Command Reference52
Chapter 13. Applications Notes
– UART/USB : 1 for UART; 2 for USB
– IP-port : port on the modem for TCP Socket Server
– Client/Socket : Use "S" for modem as TCP server
– IP-address : IP address of TCP Socket client that is accepted for connection. (Note: “255.255.255.255”
means all client connections are accepted)
CommandResponseDescription
AT#IPTCP=1,6000,"S","255.255.255.255"OKThis command is used to set the
port on the local modem and the
client address of the TCP Server
Socket for UART
AT#IPTCP?#IPTCP:
1,6000,"S","255.255.255.255",1
#IPTCP: 2,0,"C","",1
OK
The AT#AUTOTCP command is used to enable or disable AutoTCP by :
This command reads what is the
current setting. Note an extra 5th
parameter appears in the read
response. This parameter is
deprecated and can be ignored.
AT#AUTOTCP=<enable/disable>
where:
– enable/disable : 1 to enable; 0 to disable
Notes: After enabling for server mode
– After at most 30 seconds, the modem is ready as server
– When external client connects to the modem, the serial/USB port is turned into data mode
– Every byte sent in data mode goes to the remote socket peer
– If +++ is sent in data mode, preceded and followed by 1-second of no activity on the data channel,
connection to the remote peer will be broken. "DISCONNECT" will be seen and the port will go back
to AT command (where AT commands are expected)
CommandResponseDescription
(See table above)
13.4Flow diagram of Auto TCP/UDP Connection
M110 Series Cellular Modem mPACK Command Reference53
Chapter 13. Applications Notes
Figure 13.4.1: Auto TCP / UDP Flow Diagram
M110 Series Cellular Modem mPACK Command Reference54
14: Troubleshooting
14.1The modem’s LED does not light
– Check if the modem has been properly connected to a 5-32V power supply
– Check if the power connector is properly inserted
– Check the fuse in the power cord
14.2The modem’s GREEN LED blinks but does not become stable
for a long time after power up
– Check if a valid SIM card has been properly inserted
– Check if the SIM card has been locked (refer to AT+CPIN command in AT command guide)
– Check if the external power has been properly connected to the modem
– Check if the network coverage is available
14.3The modem does not respond to the terminal program
– Check if the RS-232 cable has been properly connected
– Check if your program has proper settings. Factory setting of the UART port of the modem is:
• 115200 bps
• 8 data bits
• 1 stop bit
• no parity bit
M110 Series Cellular Modem mPACK Command Reference55
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.