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 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...
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.
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 •...
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:...
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 •...
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 •...
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.
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 •...
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)
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 •...
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 •...
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 •...
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...
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. •...
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) •...
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)] •...
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)] •...
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.
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...
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.
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)] •...
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=?
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 •...
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. •...
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 •...
Need help?
Do you have a question about the mPACK M110 Series and is the answer not in the manual?
Questions and answers