Lantronix M110 Series Installation manual

mPACK Command Reference
M110 Series Cellular Modem
Part Number PMD-00035
Revision B September 2022

mPACK Command Reference M110 Series Cellular Modem 2
Intellectual Property
© 2019-22 Lantronix, Inc. All rights reserved. No part of the contents of this publication may be
transmitted or reproduced in any form or by any means without the written permission of
Lantronix.
Lantronix is a registered trademark of Lantronix, Inc. in the United States and other countries.
Patented: www.lantronix.com/legal/patents/. Additional patents pending.
Windows and Internet Explorer are registered trademarks of Microsoft Corporation. Firefox is a
registered trademark of the Mozilla Foundation. Chrome is a trademark of Google Inc. All other
trademarks and trade names are the property of their respective holders.
Warranty
For details on the Lantronix warranty policy, please go to our web site at
www.lantronix.com/support/warranty/
Contacts
Lantronix, Inc.
48 Discovery, Suite 250
Irvine, CA 92618, USA
Toll Free: 800-526-8766
Phone: 949-453-3990
Fax: 949-453-3995
Technical Support
Online: www.lantronix.com/support/
Sales Offices
For a current list of our domestic and international sales offices, go to the Lantronix web site at
www.lantronix.com/about-us/contact/
Disclaimer
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.

mPACK Command Reference M110 Series Cellular Modem 3
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 (PSF) 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.
You may request a list of the open source components and the licenses that apply to them.
Contact your regional Lantronix sales associate. www.lantronix.com/about-us/contact/
Revision History
Date
Rev.
Comments
August 2018 1.1 Initial Release.
November 2018 1.2 Added commands: AT#USBDENB
March 2019 1.3 Added commands: AT#PASS, AT#
September 2019 A Added Lantronix part number, contact information, and branding
September 2022 B Updated section 2.6 Factory Reset
Updated command: AT#INFO, .
Added commands: AT#USBMODE, AT#PSDURC,
AT#IOFTPPARA.
Removed D2Sphere commands
For the latest revision of this product document, please check our online documentation at
www.lantronix.com/support/documentation.

mPACK Command Reference M110 Series Cellular Modem 4
Contents
1Introduction 7
Safety Precautions ___________________________________________________ 7
1.1.1 General Precautions ______________________________________________ 7
1.1.2 Protecting your modem ____________________________________________ 7
M110 series supported by mPACK ______________________________________ 7
2Basic Operation 8
Modes of Operation __________________________________________________ 8
Getting Started ______________________________________________________ 8
Default Settings _____________________________________________________ 8
Basic Command Syntax_______________________________________________ 9
LED Status Indicator _________________________________________________ 9
Factory Reset_______________________________________________________ 9
3Administration Configuration 10
AT#INFO _________________________________________________________ 10
AT#CONFIGDEL ___________________________________________________ 10
AT#RESET________________________________________________________ 10
AT#MRST ________________________________________________________ 11
AT#NWRST _______________________________________________________ 11
AT#MATSCR ______________________________________________________ 12
AT#USBATCOM ___________________________________________________ 13
AT#PASS _________________________________________________________ 13
AT#STRUPMSG ___________________________________________________ 14
AT#USBMODE ____________________________________________________ 14
4Hardware Commands 16
AT#SERIAL _______________________________________________________ 16
AT#HFLW ________________________________________________________ 16
AT#SETRTC ______________________________________________________ 17
AT#GETRTC ______________________________________________________ 17
AT#VIO __________________________________________________________ 18
AT#VAMODE ______________________________________________________ 18
AT#RDIO _________________________________________________________ 19
AT#OPSET _______________________________________________________ 20
5Last Gasp Commands 21
AT#LGPARA ______________________________________________________ 21
AT#LGMSG _______________________________________________________ 21

mPACK Command Reference M110 Series Cellular Modem 5
6Cellular Commands 23
AT#IPCELLULAR___________________________________________________ 23
AT#IPCONNECT ___________________________________________________ 23
AT#GETBRIP______________________________________________________ 24
AT#IPPING _______________________________________________________ 24
AT#PSDURC ______________________________________________________ 25
7System 27
AT#IPTCP ________________________________________________________ 27
AT#IPUDP ________________________________________________________ 27
AT#AUTOTCP _____________________________________________________ 28
AT#AUTOUDP _____________________________________________________ 29
AT#OTCP_________________________________________________________ 29
AT#OUDP ________________________________________________________ 30
AT#SCHOST ______________________________________________________ 30
AT#IPOPT ________________________________________________________ 31
AT#AUOPT _______________________________________________________ 32
AT#SERVAUTH ____________________________________________________ 33
AT#MURC ________________________________________________________ 33
AT#IOFTPPARA ___________________________________________________ 34
8Remote Control Commands 36
AT#SMSAT _______________________________________________________ 36
AT#TCPTERM _____________________________________________________ 37
9Firmware Update Commands 39
AT#WEBUPDATE __________________________________________________ 39
AT#UPDATE ______________________________________________________ 39
10 I/O Triggering Commands 41
AT#DITRIG _______________________________________________________ 41
AT#DITRIGENB ____________________________________________________ 41
AT#MSGPER ______________________________________________________ 42
AT#MSGSTR ______________________________________________________ 42
AT#TRANSMODE __________________________________________________ 43
11 Location Commands 45
AT#MLOC ________________________________________________________ 45
12 Application Notes 46
Cellular Setup Example ______________________________________________ 46
AutoTCP Client Setup Example ________________________________________ 46

mPACK Command Reference M110 Series Cellular Modem 6
AutoTCP Server Setup Example _______________________________________ 47
Flow diagram of Auto TCP/UDP Connection ______________________________ 49
13 Troubleshooting 50
The modem’s LED does not light _______________________________________ 50
The modem’s GREEN LED continues blinking after power up ________________ 50
The modem does not respond to the terminal program ______________________ 50

1: Introduction
mPACK Command Reference M110 Series Cellular Modem 7
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
1.1.1 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.
1.1.2 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.
M110 series supported by mPACK
Please consult Lantronix sales for the most updated information.
Uplink / Downlink maximum data rates:
•3G: 5.76 / 7.2 Mbps
•NB-IoT: 62.5 / 27.2 kbps
•LTE-M1: 375 / 375 kbps
•LTE cat. 1: 5 / 10 Mbps

2: Basic Operation
mPACK Command Reference M110 Series Cellular Modem 8
2 Basic Operation
Modes 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
•Note: For Generic AT command over USB operation use either AT#USBATCOM or
AT#USBMODE commands. For PPP dial over USB, use AT#USBMODE only.
•PPP Dial up over USB is not available for M111 and M115 variants.
Thanks to the wide range of operating modes, mPACK transforms the M110 Modem into a versatile
modem which can provide 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 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
Getting 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.
Default Settings
The default settings of the UART and USB ports are as follows:
•Baud rate: 115200
•Character Framing: 8
•Parity: None
•Stop Bit: 1
•Flow Control: None

2: Basic Operation
mPACK Command Reference M110 Series Cellular Modem 9
Basic Command Syntax
All commands starting with AT+ entailed in documents:
•u-blox-ATCommands_Manual_(UBX-13002752) for M111, M114, M115
•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
LED 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
Factory Reset
To factory reset the device, hold the reset pin for 15 to 20 seconds.
•
Initially both LEDs are off
•
After 5 seconds the green LED will go on (and the orange LED remains off)
•
After 15 seconds the orange LED will go on (and the green LED goes off)
Note: If the time elapsed is more than 20 seconds, the device will reboot without doing factory
reset.

3: Administration Configuration
mPACK Command Reference M110 Series Cellular Modem 10
3 Administration Configuration
AT#INFO
Return device information
ALLOWED: exec-state-info
AT#INFO
exec:
AT#INFO
#HW_version: M110Series-01V
#Cellular_Module: u-blox-SARA-G350-08.90
#Bootcode_version: mPack_boot_1.0_rc1_b2017112301
#SW_build: mpack_m110_2.8.0.0_2021121301
#FLASH ID: 0xef,0x4015
OK
state:
AT#INFO
#HW_version: M110Series-01V
#Cellular_Module: u-blox-SARA-G350-08.90
#Bootcode_version: mPack_boot_1.0_rc1_b2017112301
#SW_build: mpack_m110_2.8.0.0_2021121301
#FLASH ID: 0xef,0x4015
OK
info:
AT#INFO=?
OK
AT#CONFIGDEL
Factory reset device configuration
ALLOWED: exec
Note: Device restarts after this command is executed.
AT#CONFIGDEL
exec:
AT#CONFIGDEL
OK
AT#RESET
Software reset the M11X device

3: Administration Configuration
mPACK Command Reference M110 Series Cellular Modem 11
ALLOWED: exec
AT#RESET
exec:
AT#RESET
OK
AT#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
•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
AT#NWRST
Controls reset of the modem in case of network failure conditions
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 is
checked.
AT#NWRST= (option), (timer), (counter)

3: Administration Configuration
mPACK Command Reference M110 Series Cellular Modem 12
•option: 0 to disable, 1 to enable, 2 to configure. Default disabled
•timer: 5-120 second (about 2 minutes) 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
AT#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
info:
AT#MATSCR=?
#MATSCR: (180)
OK

3: Administration Configuration
mPACK Command Reference M110 Series Cellular Modem 13
AT#USBATCOM
Enables/Disables cellular AT command over USB.
ALLOWED: exec-state-info
Note: When turning on, sometimes it depends on behavior of the device driver on the
computer whether the port can be found. If not found, the 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
AT#PASS
Enables/ Disables pass-through mode.
ALLOWED: exec-state-info
•This command applies to M113 variant only.
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?

3: Administration Configuration
mPACK Command Reference M110 Series Cellular Modem 14
#PASS: 0
OK
info:
AT#PASS=?
#PASS: (0-1)
OK
AT#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)
•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
AT#USBMODE
Enables/Disables USB port to switch directly between mPACK and cellular module.
ALLOWED: exec-state-info
Note: Use command AT#RESET or power reboot if changes are not observed on connected
machine:
AT#USBMODE=(flag)

3: Administration Configuration
mPACK Command Reference M110 Series Cellular Modem 15
exec:
AT#USBMODE=1
OK
state:
AT#USBMODE?
#USBMODE: 0
OK
info:
AT#USBMODE=?
#USBMODE: (0-1)
OK

4: Hardware Commands
mPACK Command Reference M110 Series Cellular Modem 16
4 Hardware Commands
AT#SERIAL
Configure the user-side UART baud rate, character-framing, and flow control
ALLOWED: exec-state-info
Note:
•Bauds 300, 600 are not supported
•The character-farming of 7 data-bytes does work with current configuration, but unreliably
•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”). Refer to Note above.
•flowCtrl
•0: Disable
•1: Enable
exec:
AT#SERIAL=115200, “8N1”, 0
OK
state:
AT#SERIAL?
#SERIAL: 115200, “8N1”, 0
OK
info:
AT#SERIAL=?
#SERIAL: (1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200), (“8N1”, “8N2”,
“9O1”, “9E1”), (0-1)
OK
AT#HFLW
Enable or disable hardware flow control
ALLOWED: exec-state
AT#HFLW= option
•Option
•0: Disable flow control
•1: enable flow control
exec:
AT#HFLW=1
OK

4: Hardware Commands
mPACK Command Reference M110 Series Cellular Modem 17
state:
AT#HFLW?
#HFLW: 1
OK
info:
AT#HFLW=?
ERROR
AT#SETRTC
Set (or stop) the real time clock
ALLOWED: exec-state-info
AT#SETRTC=(op), (value1), (value2), (value3)
•
Op:
•
0 = enter time, (value1, value2, value3) = (hh:mm:ss)
•
1 = enter date, (value1, value2, value3) = (YY:MM:DD)
•
2 = start or stop the RTC clock
•
value1:
•hour if op is 0; year if op is 1;
•1 to enable RTC and 0 to disable RTC, if op is 2
•
value2:
•
minute if op is 0; month if op is 1
•
value3:
•
second if op is 0; day if op is 1
exec:
AT#SETRTC= 1, 18, 03, 05
OK
state:
AT#SETRTC:
ERROR
info:
AT#SETRTC=?
#SETRTC: (0-2), ((0-23) / (0-99)), ((0-59) / (1-12)), ((0-59) / (1-31))
OK
AT#GETRTC
Get the real time clock
ALLOWED: exec-state-info
AT#GETRTC

4: Hardware Commands
mPACK Command Reference M110 Series Cellular Modem 18
exec:
AT#GETRTC
#GETRTC: 2018/ 03 / 05, 16: 50: 48
OK
state:
AT#GETRTC
ERROR
info:
AT#GETRTC
ERROR
AT#VIO
Command to configure Versatile I/O
ALLOWED: exec-state-info
AT#VIO= (channel), (mode)
•
Channel: 1 or 2
•
Mode:
•“DI”: Digital input
•“DO”: Digital output
•“AN”: Analogue input
exec:
AT#VIO=2, “DO”
OK
state:
AT#VIO?
#VIO: 1, “AN”
#VIO: 2, “DO”
OK
info:
AT#VIO=?
#VIO: (1, 2), (“DI”, “AN”, “DO”)
OK
AT#VAMODE
Command to set current or voltage mode
ALLOWED: exec-state-info
AT#VAMODE= (channel), (AN_mode)

4: Hardware Commands
mPACK Command Reference M110 Series Cellular Modem 19
•Channel: 1 or 2
•AN_mode: Mode within Analogue
•0: Voltage mode
•1: Current mode
exec:
// Set channel 1 to current mode
AT#VAMODE= 1, 1
OK
state:
AT#VAMODE?
# VAMODE: 1, 0
#VAMODE: 2, 0
OK
info:
AT#VAMODE=?
#VAMODE: (1-2), (0-1)
OK
AT#RDIO
Command to read versatile I/O status
ALLOWED: exec-info
AT#RDIO= (channel)
•Channel: 1 or 2
•Mode:
•“DI”: Digital input
•“DO”: Digital output
•“AN”: Analogue input
•Status:
•For mode= “DI” or “DO”: 0 or 1
•For mode= “AN”: voltage in mV or current in mA (which one depends on AT#VAMODE)
exec:
AT#RDIO = 1
#RDIO: 1,”AN”, 35
OK
state:
AT#RDIO?
ERROR

4: Hardware Commands
mPACK Command Reference M110 Series Cellular Modem 20
info:
AT#RDIO=?
#RDIO: (1-2)
OK
AT#OPSET
To control versatile, I/O in output mode
ALLOWED: exec-info
Note:
•On Power up the device output state will be reset.
•Before setting the output value, the channel needs to be configured as digital output first
AT#OPSET= (channel), (status)
•Channel: 1 or 2
•Status: 0 or 1
exec:
AT#OPSET= 1, 1
OK
state:
AT#OPSET?
ERROR
info:
AT#OPSET=?
#OPSET: (1-2), (0-1)
OK
Other manuals for M110 Series
2
This manual suits for next models
5
Table of contents
Other Lantronix Modem manuals
Popular Modem manuals by other brands

Hitron
Hitron CGNV5 quick start guide

Boca Systems
Boca Systems On-Line EXPRESS EZ Installation Guide

Microwave Radio Communications
Microwave Radio Communications SCM4000 Technical reference manual

Peek Traffic
Peek Traffic LPM-14-E Reference manual

ARIMA
ARIMA Faro3 user manual

Tellion
Tellion IP-VDSL EX-1202Q manual