Lantronix mPACK M110 Series Command Reference Manual
Lantronix mPACK M110 Series Command Reference Manual

Lantronix mPACK M110 Series Command Reference Manual

Cellular modem
Hide thumbs Also See for mPACK M110 Series:

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Lantronix mPACK M110 Series

  • Page 1 mPACK Command Reference M110 Series Cellular Modem Part Number PMD-00035 Revision B September 2022...
  • Page 2 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.
  • Page 3 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’...
  • Page 4: Table Of Contents

    Contents 1 Introduction Safety Precautions ___________________________________________________ 7 1.1.1 General Precautions ______________________________________________ 7 1.1.2 Protecting your modem ____________________________________________ 7 M110 series supported by mPACK ______________________________________ 7 2 Basic Operation Modes of Operation __________________________________________________ 8 Getting Started ______________________________________________________ 8 Default Settings _____________________________________________________ 8 Basic Command Syntax _______________________________________________ 9 LED Status Indicator _________________________________________________ 9 Factory Reset _______________________________________________________ 9...
  • Page 5 6 Cellular Commands AT#IPCELLULAR ___________________________________________________ 23 AT#IPCONNECT ___________________________________________________ 23 AT#GETBRIP ______________________________________________________ 24 AT#IPPING _______________________________________________________ 24 AT#PSDURC ______________________________________________________ 25 7 System 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...
  • Page 6 AutoTCP Server Setup Example _______________________________________ 47 Flow diagram of Auto TCP/UDP Connection ______________________________ 49 13 Troubleshooting 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 mPACK Command Reference M110 Series Cellular Modem...
  • Page 7: Introduction

    1: Introduction 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.
  • Page 8: Basic Operation

    2: Basic Operation 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 •...
  • Page 9: Basic Command Syntax

    2: Basic Operation 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:...
  • Page 10: Administration Configuration

    3: Administration Configuration 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 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 info: AT#INFO=? AT#CONFIGDEL Factory reset device configuration ALLOWED: exec...
  • Page 11: At#Mrst

    3: Administration Configuration ALLOWED: exec AT#RESET exec: AT#RESET 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 •...
  • Page 12: At#Matscr

    3: Administration Configuration 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 •...
  • Page 13: At#Usbatcom

    3: Administration Configuration 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.
  • Page 14: At#Strupmsg

    3: Administration Configuration #PASS: 0 info: AT#PASS=? #PASS: (0-1) 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 •...
  • Page 15 3: Administration Configuration exec: AT#USBMODE=1 state: AT#USBMODE? #USBMODE: 0 info: AT#USBMODE=? #USBMODE: (0-1) mPACK Command Reference M110 Series Cellular Modem...
  • Page 16: Hardware Commands

    4: Hardware Commands 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)
  • Page 17: At#Setrtc

    4: Hardware Commands state: AT#HFLW? #HFLW: 1 info: AT#HFLW=? ERROR AT#SETRTC Set (or stop) the real time clock ALLOWED: exec-state-info AT#SETRTC=(op), (value1), (value2), (value3) • 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 •...
  • Page 18: At#Vio

    4: Hardware Commands exec: AT#GETRTC #GETRTC: 2018/ 03 / 05, 16: 50: 48 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 •...
  • Page 19: At#Rdio

    4: Hardware Commands 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 state: AT#VAMODE? # VAMODE: 1, 0 #VAMODE: 2, 0 info: AT#VAMODE=? #VAMODE: (1-2), (0-1)
  • Page 20: At#Opset

    4: Hardware Commands info: AT#RDIO=? #RDIO: (1-2) 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 •...
  • Page 21: Last Gasp Commands

    5: Last Gasp Commands Last Gasp Commands Note: Last Gasp is an optional feature on M110 series of products. Please consult Lantronix sales for availability. AT#LGPARA Last gasp SMS configuration ALLOWED: exec-state-info AT#LGPARA= (mode), (argument) Mode: • 0: Disable all last gasp SMS •...
  • Page 22 5: Last Gasp Commands 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) mPACK Command Reference M110 Series Cellular Modem...
  • Page 23: Cellular Commands

    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 •...
  • Page 24: At#Getbrip

    6: Cellular Commands ALLOWED: exec-state-info Note: The 1 parameter in this command is only for format correspondence with the older Smart pack version. AT#IPCONNECT= (1), (mode) mode: • • 0: disconnect cellular data 1: connect cellular data • exec: AT#IPCONNECT= 1, 1 state: AT#IPCONNECT? #IPCONNECT:1, 1...
  • Page 25: At#Psdurc

    6: Cellular Commands ALLOWED: exec-state-info AT#IPPING=(option), (address), (num), (interval), (timeout) option • 0, 1: reserved • 2: configure ping address and parameters • • address: IP address of the target to be pinged interval: time in second between each ping trial. Default value is 3. Valid range is 1 to 10. •...
  • Page 26 6: Cellular Commands AT# PSDURC=? #PSDMURC: 0-1 mPACK Command Reference M110 Series Cellular Modem...
  • Page 27: System

    7: System System AT#IPTCP Command to set TCP socket parameters ALLOWED: exec-state-info Note: Mode & IP address should be entered in quotes • • Currently only the "client" mode has been implemented • The "delay" parameter is deprecated and has no effect (suggested not to use) •...
  • Page 28: At#Autotcp

    7: System Note: Mode & IP address should be entered in quotes • • Currently only the "client" mode has been implemented • The "delay" parameter is deprecated and has no effect (suggested not to use) AT#IPUDP=(idx), (port), (mode), (ip), [(delay)] •...
  • Page 29: At#Autoudp

    7: System info: AT#AUTOTCP=? #AUTOTCP: (0,1) 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) AT#OTCP On-demand TCP socket connection. ALLOWED: exec-state-info AT#OTCP=(mode) mode...
  • Page 30: At#Oudp

    7: System state: AT#OTCP? #OTCP: 0 info: AT#OTCP=? #OTCP: (0,1) 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: AT#OUDP=? #OUDP:0 info: AT#OUDP=? #OUDP: (0, 1) AT#SCHOST Configure, erase &...
  • Page 31: At#Ipopt

    7: System 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) AT#IPOPT Optional IP socket parameters ALLOWED: exec-state-info Note: Some options are not yet implemented and will be implemented stage by stage. Therefore, ERROR may be returned for some of the options AT#IPOPT=(option), (value), [(action)/(string)] •...
  • Page 32: At#Auopt

    7: System state: AT#IPOPT? #IPOPT: #IPOPT: 1,30 #IPOPT: 2,0 #IPOPT: 3, #IPOPT: 4,0,0 #IPOPT: 5,0,"",1 info: AT# AT#IPOPT=? #IPOPT: 1,(0-43200) #IPOPT: 2,(0-1472) #IPOPT: 3, #IPOPT: 4,(1-65535) #IPOPT: 5,(0-2)[,(0-120)] AT#AUOPT Optional parameters for AUTOTCP/AUTOUDP connection ALLOWED: exec-state-info Note: Option 2 depends upon the availability of the server mode Some options are not yet implemented and will be implemented stage by stage.
  • Page 33: At#Servauth

    7: System AT#AUOPT=4,2,"4149" state: AT#AUOPT? #AUOPT: 1,3600 #AUOPT: 2,0 #AUOPT: 3,0 #AUOPT: 4,0,"4149" #AUOPT: 5,0 #AUOPT: 6,0,"01 info: AT#AUOPT=? AT#SERVAUTH Parameter configuration for enabling password protected access for remote TCP client (when M11x modem is in TCP-server mode). ALLOWED: exec-info Note: Refer to AT#TCPTERM on the sequence for AT#SERVAUTH AT#SERVAUTH=(mode), [(password)] mode:...
  • Page 34: At#Ioftppara

    7: System 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 state: AT#MURC? #MURC: 1 info: AT#MURC=? #MURC:(0-1) AT#IOFTPPARA Configures the FTP parameters for FTP services. ALLOWED: exec-state-info •...
  • Page 35 7: System port: Remote FTP server listening port.(1-65535) FTP mode: • 0 – Active mode. • 1- Passive mode. user_name: User name for FTP login procedure. password: Password for FTP login procedure.exec: AT#IOFTPPARA=2,2,"52.172.43.161",21,0,"analog","AN11**ogAZ99" state: AT#IOFTPPARA? #IOFTPPARA:1,0,"59.181.166.3",21,0,"maestro","HeritageW1rele$$" #IOFTPPARA:2,0,"52.172.43.161",21,0,"analog","AN11**ogAZ99" #IOFTPPARA: 3,0,"",21,0,"","" info: #IOFTPPARA: (0-2),(1-3),(1-120),(0-65535),(0-1),(1-24),(1-24) mPACK Command Reference M110 Series Cellular Modem...
  • Page 36: Remote Control Commands

    8: Remote Control Commands Remote Control Commands AT#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.
  • Page 37: At#Tcpterm

    8: Remote Control Commands • 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 •...
  • Page 38 8: Remote Control Commands state: AT#TCPTERM? #TCPTERM: 0, “000000”, 23, 30 info: AT#TCPTERM=? #TCPTERM: (0-2), (16), (1-65535), (1-43200) mPACK Command Reference M110 Series Cellular Modem...
  • Page 39: Firmware Update Commands

    9: Firmware Update Commands Firmware Update Commands AT#WEBUPDATE Command to configure DOTA parameter & initiate HTTP DOTA for firmware update ALLOWED: exec-state-info Note: If only the filename is given, default IP and port are "updates.d2sphere.com" and 80 respectively • If the filename is correct, the download starts immediately. AT#WEBUPDATE=(filename), [(port), (ip)] •...
  • Page 40 9: Firmware Update Commands AT#UPDATE? #UPDATE: 0 info: AT#UPDATE=? ERROR mPACK Command Reference M110 Series Cellular Modem...
  • Page 41: O Triggering Commands

    10: I/O Triggering Commands I/O Triggering Commands AT#DITRIG Configure DI high low threshold parameter ALLOWED: exec-state-info AT#DITRIG=(pin_number), (min_val), (max_val), (debounce) pin_number: 1-2 • min_val: 0-32, in V • max_val: 0-32, in V (must be >= min_val) • • debounce: 0-500 (in seconds) exec: AT#DITRIG= 1, 3000, 11250, 10 state:...
  • Page 42: At#Msgper

    10: I/O Triggering Commands state: AT#DITRIGENB? #DITRIGENB: 1, 0, 1 #DITRIGENB: 2, 1, 3 info: AT#DITRIGENB=? #DITRIGENB: (1-2), (0-1), (0-3) AT#MSGPER ALLOWED: exec-state-info AT#MSGPER=(pin_number), (interval), (count) – pin_number: 1-2 – interval: how often messages are generated, in sec. Value 0-60000 –...
  • Page 43: At#Transmode

    Device_ID for DI1 msg2: concatenated with Device_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) AT#TRANSMODE Configure I/O event reporting mode ALLOWED: exec-state-info Note: To configure the remote IO event recipient use the following commands: SMS: AT#LGPARA= 2, <phone number>...
  • Page 44 10: I/O Triggering Commands AT#TRANSMODE? #TRANSMODE:1 info: AT#TRANSMODE=? #TRANSMODE: (0-7) mPACK Command Reference M110 Series Cellular Modem...
  • Page 45: Location Commands

    11: Location Commands Location Commands AT#MLOC Get the location of the device. The following information is returned by 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=?
  • Page 46: Application Notes

    12: Application Notes Application Notes Cellular 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: AT#IPCELLULAR=<SIM>,” <APN>”,” <Username>”,” <Password>” where: SIM: 1 for bottom SIM, 2 for top SIM. Use 1 for mono-SIM models •...
  • Page 47: Autotcp Server Setup Example

    12: Application Notes Command Response Description AT#IPTCP=? This command is used to give #IPTCP: the valid range of all (1-2),(0-65535), parameters. ("C","S"),"(120)” AT#IPTCP=1,50000,"C", This command is used to set "162.242.170.48” the IP address and port of the TCP Client Socket for UART. #IPTCP: AT#IPTCP? This command reads what is...
  • Page 48 12: Application 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. •...
  • Page 49: Flow Diagram Of Auto Tcp/Udp Connection

    12: Application Notes Flow diagram of Auto TCP/UDP Connection Fig13.4.1: Auto TCP / UDP Flow Diagram mPACK Command Reference M110 Series Cellular Modem...
  • Page 50: Troubleshooting

    13: Troubleshooting Troubleshooting The modem’s LED does not light Check if the modem has been properly connected to a 5-32 V power supply • • Check if the power connector is properly inserted Check the fuse in the power cord •...

This manual is also suitable for:

Mpack m111Mpack m112Mpack m113Mpack m114Mpack m115

Table of Contents