Page 3
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.
1: Introduction The aim of this document is to provide users of Lantronix M110 Modems running mPACK, a detailed de- scription of the commands supported by mPACK and various configuration / operation modes in which M110 series Modems could be used.
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 Reference...
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 Reference...
– 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) M110 Series Cellular Modem mPACK Command Reference...
"000:01"- "167:59" (format hhh:mm) exec : AT#MRST=1,"100:00" state (1 minute after executing the exec command): AT#MRST? #MRST: 1,"100:00","099:59” info : AT#MRST=? 3.5 AT#NWRST Controls reset of the modem in case of network failure conditions M110 Series Cellular Modem mPACK Command Reference...
– 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) state : AT#MATSCR? #MATSCR: “(commands as entered, no formatting)” M110 Series Cellular Modem mPACK Command Reference...
(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 Reference...
AT#PASS=? #PASS: (0-1) 3.9 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) M110 Series Cellular Modem mPACK Command Reference...
Page 18
“READY”, which can be selected using “*” as the text argument (and shown as “*” in state query). exec : AT#STRUPMSG=”Hello” state : AT#STRUPMSG? #STRUPMSG: ”Hello” info : AT#STRUPMSG=? #STRUPMSG: (60) M110 Series Cellular Modem mPACK Command Reference...
– charFraming: one of ("8N1","8N2","9O1","9E1"). See also note above. – flowCtrl 0: disable 1: enable exec : AT#SERIAL=115200,"8N1",0 state : AT#SERIAL? #SERIAL: 115200,"8N1",0 info : AT#SERIAL=? #SERIAL: (1200,2400,4800,9600,19200,38400,57600,115200),("8N1","8N2","9O1","9E1"),(0-1) 4.2 AT#HFLW Enable or disable hardware flow control M110 Series Cellular Modem mPACK Command Reference...
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 M110 Series Cellular Modem mPACK Command Reference...
– AN_mode: mode within Analogue 0: voltage mode 1: current mode exec : // Set channel 1 to current mode AT#VAMODE=1,1 state : AT#VAMODE? #VAMODE: 1,0 #VAMODE: 2,0 info : AT#VAMODE=? #VAMODE: (1-2),(0-1) M110 Series Cellular Modem mPACK Command Reference...
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 need to be configured as digital output first AT#OPSET=(channel),(status) M110 Series Cellular Modem mPACK Command Reference...
Page 24
Chapter 4. Hardware commands – channel: 1 or 2 – status: 0 or 1 exec : AT#OPSET=1,1 state : AT#OPSET? ERROR info : AT#OPSET=? #OPSET: (1-2),(0-1) M110 Series Cellular Modem mPACK Command Reference...
5: Last Gasp Commands NOTE: Last Gasp is an optional feature on M110 series of product. Please consult Lantronix sales for availability. 5.1 AT#LGPARA Last gasp SMS configuration ALLOWED: exec-state-info AT#LGPARA=(mode),(argument) – mode: 0: Disable all last gasp SMS 1: Enable last gasp SMS. 2nd argument specifies which situation applies.
Page 26
– arg: for message content of the SMS, up to 60 printable ASCII characters exec : AT#LGMSG=2,"M110 modem powered up" state : AT#LGMSG? #LGMSG: 1,"M110 modem powered down" #LGMSG: 2,"M110 modem powered up" info : AT#LGMSG=? #LGMSG: (1-2),(60) M110 Series Cellular Modem mPACK Command Reference...
– password : password for cellular data access. If no password is needed, can omit the argument and mPACK software will use a non-null but meaningless value when state is read – CID : context ID. Please consult Lantronix team on when to use this parameter and what value to use exec : AT#IPCELLULAR=1,"CMHK"...
Get the IP address (when data activated) ALLOWED: state-info NOTE: The command returns only IPv4 address for now. AT#GETBRIP state : AT#GETBRIP? #GETBRIP: 1,1,"182.153.105.197” info: AT#GETBRIP=? #GETBRIP: (1),(0-1),(IPV4 or IPV6) 6.4 AT#IPPING IP PING configuration ALLOWED: exec-state-info M110 Series Cellular Modem mPACK Command Reference...
Page 29
This command cannot be used to directly PING a given address in the current implementation. exec : AT#IPPING=2,"8.8.8.8",4,10,5000 state : AT#IPPING? #IPPING: "8.8.8.8",4,10,5000 info : AT#IPPING=? #IPPING: (0-2),(120),(1-10),(1-10),(5000-60000) M110 Series Cellular Modem mPACK Command Reference...
"S": Modem as server for remote client to connect – ip: IP address of remote partner (IPv4 dotted notation) – delay: (deprecated, no need to enter) exec : AT#IPTCP=1,50002,"C","162.242.170.48" state : AT#IPTCP? #IPTCP: 1,50002,”C”,"162.242.170.48",1 #IPTCP: 2,0,”C”,"",1 info : AT#IPTCP=? #IPTCP: (1-2),(0-65535),("C","S"),(120),(0,1) M110 Series Cellular Modem mPACK Command Reference...
– server: IP address of host (IPv4 or text notation) – port: port number on host – retry, delay, type: DEPRECATED. Not settable exec : AT#SCHOST=0,1,"162.242.170.59",8888 state : AT#SCHOST=1,1 #SCHOST: 1,"162.242.170.59",8888,1,1,0 info : AT#SCHOST=? (0-2),(1),(120),(0-65535),(0-10),(1-60),(0-1) M110 Series Cellular Modem mPACK Command Reference...
6: 0 to disable, 1 to enable (and hex byte follows as the next parameter) – string: hexadecimal string (e.g. 0AFF) required. One byte for option 6; and up to 16 bytes for option 4 exec : AT#AUOPT=1,3600 AT#AUOPT=4,2,"4149" M110 Series Cellular Modem mPACK Command Reference...
– password: 6 characters enclosed in double quotes. Default "000000" exec : AT#SERVAUTH=2,"123456" info : AT#SERVAUTH=? #SERVAUTH: (0-2),(6) 7.11 AT#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 Reference...
Page 38
– 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 state : AT#MURC? #MURC: 1 info : AT#MURC=? #MURC: (0-1) M110 Series Cellular Modem mPACK Command Reference...
SMS. 6. If Read Response(s) of the AT command is (are) more than 160 characters, only the first 160 charac- ters will be returned. M110 Series Cellular Modem mPACK Command Reference...
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 Reference...
Page 41
– port: port used on the modem for incoming TCP connection. Default 23 – timeout: specified in seconds. Default 30 exec : AT#TCPTERM=2,"000000",23,30 state : AT#TCPTERM? #TCPTERM: 0,"000000",23,30 info : AT#TCPTERM=? #TCPTERM: (0-2),(16),(1-65535),(1-43200) M110 Series Cellular Modem mPACK Command Reference...
– ip: IP address of the server on which the update file is stored (the default value is 80) exec : AT#WEBUPDATE="/mpack/mpack_R0100.bin",80,"3.252.19.23" state : AT#WEBUPDATE? #WEBUPDATE: "/mpack/mpack_R0100.bin",80,"3.252.19.23" info : AT#WEBUPDATE=? #WEBUPDATE: (120),(0-65535),(120) 9.2 AT#UPDATE Controls the update process ALLOWED: exec-state AT#UPDATE=(value) – option M110 Series Cellular Modem mPACK Command Reference...
Page 43
Chapter 9. Firmware Update Commands 0: stop the update process 1: stop the update process exec : AT#UPDATE=0 state : AT#UPDATE? #UPDATE: 0 info : AT#UPDATE=? ERROR M110 Series Cellular Modem mPACK Command Reference...
#DVNAME: (23) 10.4 How to add a M110 modem to D2sphere platform (feature) For D2sphere support for the M110 modem, please consult Lantronix representative for enabling the sup- port and obtaining a D2sphere account. M110 Series Cellular Modem mPACK Command Reference...
– 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 –...
AT#MSGPER=(pin_number),(interval),(count) – pin_number: 1-2 – interval: how often messages are generated, in sec. Value 0-60000 – count: number of messages generated. Value 0-100 exec : AT#MSGPER=2,10,3 state : AT#MSGPER? #MSGPER: 1,0,0 #MSGPER: 2,10,3 M110 Series Cellular Modem mPACK Command Reference...
Get the location of the device. The following information are returned by the command: date, time, latitude, longitude, altitude, uncertainty, speed, direction, vertical_acceleration, sensor_used, SV_used, antenna_status, jamming_status ALLOWED: state-info AT#MLOC state : AT#MLOC? +MLOC: 31/07/2019,10:21:16.000,0.0000000,0.0000000,0,20000000,0,0,0,0,0,0,0 info : AT#MSGSTR=? #MSGSTR: (0-2),(120),(5),(5) M110 Series Cellular Modem mPACK Command Reference...
The AT#IPTCP command is used to setup TCP Client socket parameters: AT#IPTCP=<UART/USB>,”<IP-port>”,”<Client/Socket>”,”<IP-address>” where: – UART/USB : 1 for UART; 2 for USB – IP-port : port of the TCP Socket Server – Client/Socket : Use "C" for modem as TCP client M110 Series Cellular Modem mPACK Command Reference...
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: AT#IPTCP=<UART/USB>,”<IP-port>”,”<Client/Socket>”,”<IP-address>” where: M110 Series Cellular Modem mPACK Command Reference...
"DISCONNECT" will be seen and the port will go back to AT command (where AT commands are expected) Command Response Description (See table above) 13.4 Flow diagram of Auto TCP/UDP Connection M110 Series Cellular Modem mPACK Command Reference...
– 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 Reference...
Need help?
Do you have a question about the M110 Series and is the answer not in the manual?
Questions and answers