Lantronix M110 Series Command Reference Manual

Lantronix M110 Series Command Reference Manual

Cellular modem mpack command reference
Hide thumbs Also See for M110 Series:

Advertisement

Quick Links

M110 Series
Cellular Modem
mPACK Command Reference
Part number PMD-00035
Revision A September 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the M110 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Lantronix M110 Series

  • Page 1 M110 Series Cellular Modem mPACK Command Reference Part number PMD-00035 Revision A September 2019...
  • Page 2 Intellectual Property © 2019 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.
  • 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.
  • Page 4: Table Of Contents

    1 Introduction 1.1 M110 series supported by mPACK ....... . .
  • Page 5 10.2 AT#D2S ..........43 M110 Series Cellular Modem mPACK Command Reference...
  • Page 6 14.3 The modem does not respond to the terminal program ..... . 55 M110 Series Cellular Modem mPACK Command Reference...
  • Page 7 13.4.1 A uto TCP / UDP Flow Diagram ........54 M110 Series Cellular Modem mPACK Command Reference...
  • Page 8: Introduction

    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.
  • Page 9 Chapter 1. Introduction – 3G: 5.76 / 7.2 Mbps – NB-IoT: 62.5 / 27.2 kbps – LTE-M1: 375 / 375 kbps – LTE cat. 1: 5 / 10 Mbps M110 Series Cellular Modem mPACK Command Reference...
  • Page 10: Basic Operation

    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...
  • Page 11: Default Settings

    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...
  • Page 12: Factory Reset

    – 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...
  • Page 13: Administration Commands

    #HW_version: M110Series-01V #Cellular_Module:u-blox-SARA-U201-23.60 #Bootcode_version: mPACK_boot_1.0_rc1_b2017112301 #SW_build: mPACK_m110_2.1_rc0_2018022601ALPHA01 #FLASH ID: 0xef,0x4015 info : AT#INFO=? 3.2 AT#CONFIGDEL Factory reset device configuration ALLOWED: exec Note: Device restarts after this command is executed AT#CONFIGDEL exec : AT#CONFIGDEL M110 Series Cellular Modem mPACK Command Reference...
  • Page 14: At#Reset

    "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...
  • Page 15: At#Matscr

    – 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...
  • Page 16: At#Usbatcom

    (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...
  • Page 17: At#Strupmsg

    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...
  • Page 19: Hardware Commands

    – 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...
  • Page 20: At#Setrtc

    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...
  • Page 21: At#Getrtc

    #GETRTC: 2018/03/05,16:50:48 state : AT#GETRTC? ERROR info : AT#GETRTC=? ERROR 4.5 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 M110 Series Cellular Modem mPACK Command Reference...
  • Page 22: At#Vamode

    – 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...
  • Page 23: At#Rdio

    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...
  • Page 25: Last Gasp Commands

    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...
  • Page 27: Cellular Commands

    – 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"...
  • Page 28: At#Getbrip

    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...
  • Page 30: Socket Commands

    "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...
  • Page 31: At#Ipudp

    – delay: delay: (deprecated, no need to enter) exec : AT#IPUDP=1,50003,"C","162.242.170.47" exec : AT#IPUDP? #IPUDP: 1,50003,”C”,"162.242.170.47",1 #IPUDP: 2,0,”C”,"",1 exec : AT#IPUDP=? #IPUDP: (1-2),(0-65535),("C","S"),(120),(0,1) 7.3 AT#AUTOTCP Command to Start Auto TCP functionality ALLOWED: exec-state-info AT#AUTOTCP=(mode) M110 Series Cellular Modem mPACK Command Reference...
  • Page 32: At#Autoudp

    7.4 AT#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 state : AT#AUTOUDP? #AUTOUDP: 0 info : AT#AUTOUDP=? #AUTOUDP: (0,1) M110 Series Cellular Modem mPACK Command Reference...
  • Page 33: At#Otcp

    : AT#OTCP? #OTCP: 0 info : AT#OTCP=? #OTCP: (0,1) 7.6 AT#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 state : M110 Series Cellular Modem mPACK Command Reference...
  • Page 34: At#Schost

    – 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...
  • Page 35: At#Ipopt

    2: reset modem. – string: for option 5 : maximum 120 hex characters and only even length exec : AT#IPOPT=1,30 AT#IPOPT=5,2,"414243444546474849" state : AT#IPOPT? #IPOPT: #IPOPT: 1,30 #IPOPT: 2,0 #IPOPT: 3, #IPOPT: 4,0,0 #IPOPT: 5,0,"",1 M110 Series Cellular Modem mPACK Command Reference...
  • Page 36: At#Auopt

    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...
  • Page 37: At#Servauth

    – 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...
  • Page 39: Remote Control Commands

    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...
  • Page 40: At#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 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...
  • Page 42: Firmware Update Commands

    – 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...
  • Page 44: D2Sphere Commands

    – delay: delay to start in seconds. Range 0-43200 exec : AT#IPD2S=4444,"5.35.253.3",1000 exec : AT#IPD2S? #IPD2S: 4444,"5.35.253.3",1000 exec : AT#IPD2S=? #IPD2S: (0-65535),(120),(0-43200) 10.2 AT#D2S Enable or disable D2Sphere function ALLOWED: exec-state-info AT#D2S=(mode) – mode 0: disable M110 Series Cellular Modem mPACK Command Reference...
  • Page 45: At#Dvname

    #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...
  • Page 46: Operation Of D2Sphere

    – 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 –...
  • Page 47: O Triggering Commands

    – debounce: 0-500 (in seconds) exec : AT#DITRIG=1,3000,11250,10 state : AT#DITRIG? #DITRIG: 1,3000,11250,10 #DITRIG: 2,0,3200,0 info : AT#DITRIG=? #DITRIG: (1,2)(0-32),(0-32),(0-500) 11.2 AT#DITRIGENB Enable DI trigger parameters ALLOWED: exec-state-info AT#DITRIGENB=(pin_number),(enb),(trigger_type) – pin_number: 1-2 – enb: 0: disable trigger M110 Series Cellular Modem mPACK Command Reference...
  • Page 48: At#Msgper

    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...
  • Page 49: At#Msgstr

    – msg1: concatenated with msg_ID for DI1 – msg2: concatenated with msg_ID for DI2 exec : AT#MSGSTR=2,"Lantronix","001","234" state : AT#MSGSTR? #MSGSTR: 2,"Lantronix","001","234" info : AT#MSGSTR=? #MSGSTR: (0-2),(120),(5),(5) 11.5 AT#TRANSMODE Configure I/O event reporting mode ALLOWED: exec-state-info AT#MSGSTR=(mode) M110 Series Cellular Modem mPACK Command Reference...
  • Page 50 4: FTP reporting mode 5: HTTP reporting mode 6: (customer specific mode, not available to general customer) 7: D2sphere reporting mode exec : AT#TRANSMODE=1 state : AT#TRANSMODE? #TRANSMODE: 1 info : AT#TRANSMODE=? #TRANSMODE: (0-7) M110 Series Cellular Modem mPACK Command Reference...
  • Page 51: Location Commands

    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...
  • Page 52: Applications Notes

    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...
  • Page 53: Autotcp 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: AT#IPTCP=<UART/USB>,”<IP-port>”,”<Client/Socket>”,”<IP-address>” where: M110 Series Cellular Modem mPACK Command Reference...
  • Page 54: Flow Diagram Of Auto Tcp/Udp Connection

    "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...
  • Page 55 Chapter 13. Applications Notes Figure 13.4.1: Auto TCP / UDP Flow Diagram M110 Series Cellular Modem mPACK Command Reference...
  • Page 56: Troubleshooting

    – 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...

Table of Contents