Download as pdf or txt
Download as pdf or txt
You are on page 1of 123

AT Command Set

LMUTM AT Command Set Guide

Version 1.0.4
November 2010

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - ii - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

License Agreement

FOR SOFTWARE, APPLICATION PROGRAMING INTERFACES (APIS) & DOCUMENTATION

IMPORTANT: DO NOT INSTALL OR USE THE SOFTWARE OR DOCUMENTATION UNTIL YOU


HAVE READ AND AGREED TO THIS LICENSE AGREEMEET.

This is a legal agreement between you, the Customer, and CalAmp DataCom Incorporated ("CalAmp"). By installing and/or using the
software or documentation you are consenting to the terms of this License. If you do not agree to the terms of this non-exclusive
License Agreement, DO NOT INSTALL OR USE THE SOFTWARE, APIs OR DOCUMENTATION. For a full refund, return
the unused media package and all accompanying materials within seven (7) days to CalAmp. Where there is no packaging or
media, use of the software and/or documentation constitutes acceptance.

DEFINITIONS: As used in this License Agreement, "Software" means CalAmp’s LM Exchange™, LMU Manager™, LapTop
Locator™, LMU Application/Programmable Event Generator™, CDMA LMU Provisioning Tool, GPRS LMU Provisioning Tool,
iDen™ Provisioning Tool, LMU Status, Clone Config, Hex Dump, LM Exchange™ Traffic Monitor, Freewave Base Station Config,
Remote Serial Port, App Watcher Service and/or other software products licensed by CalAmp for use in computer applications
development or integration including the computer programs, libraries and related materials either contained on the media provided
to you by or from CalAmp, or which you have received or downloaded electronically. "Application" means a compiled or executable
software program created by Developer that uses some or all of the functionality of the Software. "Software Copies" means the actual
copies of all or any portion of the Software including backups, updates, merged or partial copies permitted hereunder or subsequently
licensed to you. "Documentation" means the non-Software information contained on the media provided with this package or
downloaded and which is used with and describes the operation and use of the Software. "Documentation Copies" means the actual
copies of all or any portion of the Documentation including backups, updates, merged or partial copies permitted hereunder or
subsequently provided to you. "Related Materials" means all other materials and whatever is provided by or from CalAmp, and the
non-Software and non-Documentation contained on the media supplied, downloaded, or otherwise supplied by or from CalAmp for
use with the Software and Documentation. "Server" means a single, networked computer that is accessible to other client machines on
the network. "User" means (i) a single person using an Application for his/her internal, use or (ii) a single terminal or a single
workstation of a computer used only by a person (and not accessed otherwise) for accessing an Application. "Use License" means
limited rights granted by CalAmp for deployment of a single Application to a User. "Developer" means a single programmer
developing an Application. "Developer License" means the grant of certain limited rights to use and maintain the Software, Software
Copies, Documentation, Documentation Copies and Related Materials in development of Applications.

BACKGROUND: A Developer License is required for each Developer who uses the Software in building Application(s). A Use License
is required and must be purchased by Customer for each User to which Customer provides access to an Application (unless a Server
or Site license for unlimited or a specified number of users has been purchased). Each Use License is specific to one client-side
Application only and may not be used for any other client-side Application. Each Server license is limited to Server-based
Applications deployed on that Server for which the license has been purchased as specified in a CalAmp License Certificate. The
Software is licensed on a per Developer, and on a per User, per Application basis. In order to preserve and protect its rights under
applicable law, CalAmp is not selling you ownership rights to Software or Documentation (owned by or licensed to CalAmp).
CalAmp specifically retains title to all CalAmp Software, Documentation and Related Materials and CalAmp licensors retain title to
items owned by them.

DURATION: This License Agreement is effective from the day you install or start using the Software, or receive or download it
electronically, and continues until terminated. If you fail to comply with any provision of the License, termination is automatic,
without notice from CalAmp and without the necessity for recourse to any judicial authority. Upon termination, you must destroy the
Related Materials, the Software, Documentation and all Software and Documentation copies. CalAmp can also enforce its other legal
and equitable rights.

DEVELOPER LICENSE ONLY—USES PERMITTED: Software and Documentation may be used for the sole purpose of developing
Applications and only by a licensed Developer. Software and Documentation may be installed onto a hard disk drive or a Server,
access to which is restricted to Developers for which a Developer License has been purchased and may also be stored or installed on a
storage device such as a network server, used only to install or access the Software or Documentation on your other computers over
an internal network; however, you must have acquired a license for each separate computer on which the Software or Documentation
is installed or accessed from the storage device. A Developer License may not be shared or used concurrently on different computers.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - iii - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

One backup copy may be made for each legally obtained media copy or electronic copy you have received, provided that all CalAmp
and third party licensor information — including copyright notices — are maintained and possession of the copy is retained in a
secure location. In addition, you agree to use reasonable efforts to protect the Software and Documentation from unauthorized use,
reproduction, distribution or publication. All rights not specifically granted in this License are reserved by CalAmp.

Customer agrees to include the notice "Copyright © 1999 - 2007 CalAmp DataCom Inc., All Rights Reserved" in Applications
developed with the Software. Customer agrees to include the following CalAmp Copyright and Government Restricted Use notice in
all documentation and in any Application on-line help or readme file.

"Portions of this computer program are owned by CalAmp DataCom Inc., Copyright © l999 - 2005, CalAmp DataCom
Inc., All Rights Reserved. Use, duplication or disclosure by the Government is subject to restrictions as set forth in
subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or
subparagraphs (c)(l) and (2) of the Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable.
Manufacturer is CalAmp DataCom Inc., 1401 North Rice Ave. Oxnard, CA 93030. Rights are reserved under copyright
laws of the United States with respect to unpublished portions of the Software."

DEVELOPER(S) LICENSE—USES NOT PERMITTED: UNLESS OTHERWISE AGREED TO IN WRITING WITH CALAMP, YOU MAY NOT
(1) Make derivative works including but not limited to translations, adaptations, arrangements or any other alteration (each of which
would become the property of CalAmp or its licensors, as applicable) or make copies of the Software or Documentation except as
permitted above; (2) Make copies of the Related Materials; (3) Use any CalAmp product to translate the product of another licensor
unless you have the legal right to do so; (4) Allow a greater number of Developers to access the Software at any one time than the
total number of Developer licenses for which you have paid; (5) Rent, lease, sublicense or lend the Software, Software Copies,
Documentation, Documentation Copies, Related Materials or your rights under this License or allow access to the Software for
unlicensed users; (6) Alter, decompile (except to the limited extent that decompilation by the licensed Developer only is necessary as
the only available way to achieve interoperability with other programs and, in that situation, any resulting information cannot be used
in developing, producing or marketing any software substantially similar in expression to the Software), disassemble or reverse
engineer the Software; (7) Make any attempt to unlock or bypass any initialization system or encryption techniques utilized by the
Software or Documentation; (8) Alter, remove or obscure any proprietary legend, copyright or trademark notice contained in or on
Software, Documentation or Related Materials; or (9) use the Software to create an Application intended solely to duplicate
functionality of an existing CalAmp end user software product.

USE LICENSES: For each Server or Site License purchased, CalAmp grants the Customer the right to distribute Applications on a
single Server or at a single Site, as the case may be, accessible to the number of individual users (not concurrent users) for which the
Server or Site License has been purchased as evidenced by a CalAmp License Certificate. For each Use License purchased, as
evidenced by a CalAmp License Certificate, CalAmp grants the Customer the right to distribute a single Application to a single User.
In no circumstance may Customer distribute an Application under a site license or concurrent use license unless a comparable license
has been purchased for the Software as evidenced by a CalAmp License Certificate. Customer agrees that distribution of an
Application to a User will in all cases be accompanied by a license agreement containing at a minimum terms and conditions
substantially similar to and at least as restrictive as the following:

The User may not (1) Make derivative works including but not limited to translations, adaptations, arrangements or any
other alteration of the Application or make copies of the Application, except one backup copy may be made for each
legally obtained copy of the Application, provided that all CalAmp and third party licensor information — including
copyright notices — are maintained and possession of the copy is retained in a secure location; (2) Allow access to the
Application for unlicensed users; (3) Rent, lease, sublicense or lend the Application or its rights under the license; (4)
Alter, decompile, disassemble or reverse engineer the Application; (5) Make any attempt to unlock or bypass any
initialization system or encryption technique utilized by the Application; or (6) Alter, remove or obscure any proprietary
legend, copyright or trademark notice contained in or on the Application.

The User agrees to use reasonable efforts to protect the Application from unauthorized use, reproduction, distribution or
publication.

AUDIT: Customer shall keep records of all transactions involving Software for five (5) years after the transaction. CalAmp shall have
the right upon written notice to audit Customer's records to verify compliance with this License including the number of Use Licenses
granted by Customer. Audit may take place at Customer's place or business during normal working hours. In the event that there is a
discrepancy in excess of five percent (5%) between the number of Use Licenses granted and the number paid for, Customer shall pay
all costs related to performing the audit in addition to remitting payment for those licenses granted in excess of those paid for as
evidenced by a CalAmp License Certificate.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - iv - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

GENERAL: This Agreement represents our entire understanding and agreement regarding the Software, Software Copies,
Documentation, Documentation Copies and Related Materials and supersedes any prior purchase order, communication, advertising
or representation and may only be modified in a written amendment signed by an authorized CalAmp representative or by a specific
prior or subsequent written agreement between the parties. If any provision of this Agreement shall be unlawful, void or for any
reason unenforceable, that provision shall be deemed severable from, and shall in no way affect the validity or enforceability of, the
remaining provisions.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -v- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Limited Warranty

COVERING THE PHYSICAL MEDIA AND PRINTED MATERIALS: CalAmp warrants to you, the original licensee, that the media on
which the Software is recorded are free from defects in materials and workmanship under normal use and service FOR A PERIOD
OF NINETY (90) DAYS FROM THE DATE OF DEVELOPER LICENSE PURCHASE. CalAmp's entire liability and your
exclusive remedy as to defective media, Documentation or Related Material(s) shall be replacement of the media, Documentation or
Related Material(s) by CalAmp. Each defective item, along with proof of license purchase and date, must be sent in a traceable
manner to: CalAmp DataCom Inc., 1401 North Rice Ave. Oxnard, CA 93030.

DISCLAIMER REGARDING THE SOFTWARE, DOCUMENTATIONS AND RELATED MATERIALS: THE SOFTWARE,
DOCUMENTATION AND RELATED MATERIALS ARE PROVIDED "AS IS." EXCEPT AS MAY OTHERWISE BE
EXPRESSLY SET FORTH HEREIN, CALAMP MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED, WITH RESPECT TO THE SOFTWARE, DOCUMENTATION OR RELATED MATERIALS INCLUDING BY
WAY OF EXAMPLE, AND NOT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE. BY WAY OF FURTHER EXAMPLE AND NOT LIMITATION, CALAMP MAKES NO
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, WITH RESPECT TO THE ACCURACY, RELIABILITY
OR COMPLETENESS OF THE DOCUMENTATION OR THE RELATED MATERIALS. THE ENTIRE RISK AS TO THE
USE OF THE SOFTWARE, DOCUMENTATION AND RELATED MATERIALS IS ASSUMED BY YOU. IN NO EVENT
SHALL CALAMP BE LIABLE TO YOU OR ANY OTHER PERSON, REGARDLESS OF THE CAUSE, FOR THE
EFFECTIVENESS OR ACCURACY OF THE SOFTWARE, DOCUMENTATION OR RELATED MATERIALS OR FOR
ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM OR OCCASIONED BY
YOUR USE OF THE SOFTWARE, DOCUMENTATION OR RELATED MATERIALS, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. IN THE EVENT THE FOREGOING IS FOUND BY A COURT OF COMPETENT
JURISDICTION TO BE INEFFECTIVE, YOU HEREBY AGREE THAT CALAMP'S MAXIMUM LIABILITY FOR ANY
CLAIM ARISING IN CONNECTION WITH THE SOFTWARE, DOCUMENTATION AND/OR RELATED MATERIALS
(WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE, PRODUCT LIABILITY OR OTHERWISE) SHALL
NOT EXCEED THE LICENSE FEES PAID BY YOU WITH RESPECT TO THE SOFTWARE, DOCUMENTATION
AND/OR RELATED MATERIALS AT ISSUE. SOME STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF
INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE FOREGOING PROVISION, WITH RESPECT TO
EXCLUDING OR LIMITING SUCH DAMAGES, MAY NOT APPLY TO YOU.

ACKNOWLEDGEMENT: You acknowledge that you have read this LIMITED WARRANTY, understand it and agree to be bound by
its terms and conditions. You also agree that: (1) No oral or written information or advice given by CalAmp, its dealers, distributors,
agents or employees shall in any way increase the scope of this Limited Warranty and you may not rely on any such information or
advice; (2) Unless a written governing agreement signed by you and CalAmp exists, this License Agreement is the complete and
exclusive statement of agreement between CalAmp and you regarding the licensing of the Software, Documentation and Related
Materials and supersedes all proposals, oral or written, and any other communications you may have had prior to purchasing your
license; (3) Except for the price and delivery terms agreed upon by both parties, the terms and conditions of this License Agreement
shall supersede those set forth in any purchase order where the purchase order conflicts or is inconsistent with or adds to the terms
and conditions of this License and those superseded purchase order terms and conditions shall be null and void; (4) You agree to
assure that copies of this License Agreement are distributed, read and agreed to by each Developer using the Software and/or
Documentation.

GOVERNING LAW: This Agreement shall be governed by the laws of the State of California, United States, excluding its conflicts of
law principles and excluding the United Nations Convention on Contracts for the International Sale of Goods. You agree to exclusive
jurisdiction of California State federal and state courts, Ventura County, for resolution of any dispute related to this Agreement.

U.S. GOVERNMENT PROTECTED RIGHTS: The Software Documentation and Related Materials are provided with RESTRICTED
RIGHTS. Use, duplication or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the
Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial
Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable. Manufacturer is CalAmp DataCom Inc., 1401 North Rice
Ave. Oxnard, CA 93030. Rights are reserved under copyright laws of the United States with respect to unpublished portions of the
Software.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - vi - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Table of Contents
License Agreement .................................................................................................................................................... iii

Limited Warranty.......................................................................................................................................................vi

Table of Contents ...................................................................................................................................................... vii

Introduction .................................................................................................................................................................2
About The Reader .....................................................................................................................................................2
About CalAmp – Who we are… ...............................................................................................................................2
About CalAmp – What we do… ...............................................................................................................................2
AT Commands .............................................................................................................................................................3
Overview...................................................................................................................................................................3
CalAmp AT Command Line Settings ....................................................................................................................3
AT Command Line Format...................................................................................................................................3
Information Responses and Result Code Format .................................................................................................3
Identification Commands ............................................................................................................................................4
Query LMU/TetheredLocator ESN - $APP ESN?....................................................................................................4
Version Identification - $APP VER? ........................................................................................................................4
Version Identification - I0 .........................................................................................................................................5
Serial Number Identification - I1 ..............................................................................................................................5
Technology Type – I2 ...............................................................................................................................................7
Status Response – I3 .................................................................................................................................................8
GPS Status Response – I4 .........................................................................................................................................9
Comm Status Response – I5 ................................................................................................................................... 10
Google Maps URL – IJ ........................................................................................................................................... 11
Unit Status Commands ............................................................................................................................................. 12
Query for Unit Status - $APP UNIT? ..................................................................................................................... 12
Query Current Accumulator States - $APP ACC? ................................................................................................. 13
Query Current Analog to Digital Input Readings - $APP ADC?............................................................................ 13
Query Current IP Address - $APP ADDR? ............................................................................................................ 14
Query Current Flag States - $APP FLAGS? ........................................................................................................... 14
Query Current Timer States - $APP TIMERS? ...................................................................................................... 15
Query Current Input States - $APP INPUT? .......................................................................................................... 16
Query Current Output States - $APP OUTPUT? .................................................................................................... 16
Query Comm Status - $APP COMM? .................................................................................................................... 17
Query Comm Connection - $APP COMM CONNECT?........................................................................................ 17
Query Detailed Comm Status - $APP COMM STATUS? ..................................................................................... 18
Query Detailed Comm Status -IC ........................................................................................................................... 20
Query GPS Location - $APP GPS? ........................................................................................................................ 22
Query Current TIME - $APP TIME? ..................................................................................................................... 22
Query Detailed GPS Status - $APP GPS STATUS? .............................................................................................. 23
Query Detailed GPS Status -IG .............................................................................................................................. 24
Query Bluetooth Device Status -$APP BT? ........................................................................................................... 25
Query Log Status - $APP LOG? ............................................................................................................................. 26
Query Detailed Log Status - $APP LOG SNF ........................................................................................................ 26
Query Detailed Log Status - $APP LOG BATCH.................................................................................................. 26

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - vii - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Detailed Log Status - $APP LOG STATUS? .............................................................................................. 27


Query Zone Status - $APP ZONES? ...................................................................................................................... 27
Hayes Compatible AT Commands ........................................................................................................................... 29
Dial Command - D<Service><DialString> ............................................................................................................ 29
Enable AT Command Echoing - E1 ....................................................................................................................... 29
Disable AT Command Echoing - E0 ...................................................................................................................... 30
Set Modem Speaker Volume Adjustment - L<n>................................................................................................... 30
Set Modem Speaker Control - M<n>...................................................................................................................... 30
Enable Quiet Mode - Q1 ......................................................................................................................................... 31
Disable Quiet Mode - Q0 ........................................................................................................................................ 31
Set Call Progress Result Code - X<n> .................................................................................................................... 31
Enable Verbose Response Format - V1 .................................................................................................................. 32
Enable Terse Response Format - V0....................................................................................................................... 32
Reset Hayes Settings - Z> ....................................................................................................................................... 33
Set CD Options - &C<n>........................................................................................................................................ 33
Set DTR Options - &D<n> ..................................................................................................................................... 34
Query Host Port Baud Rate - +IPR? ....................................................................................................................... 34
Set Host Port Baud Rate - +IPR=<BaudRate> ....................................................................................................... 35
Query the available Host Port Baud Rates - +IPR=? .............................................................................................. 36
Terminate Data (PPP/SLIP) Session - +++ ............................................................................................................. 36
Wireless Modem Configuration Commands ........................................................................................................... 37
Query the active Comm Index - $APP COMM INDEX? ....................................................................................... 37
Set the active Comm Index - $APP COMM INDEX <index> ............................................................................... 37
Query the Active Packet Dial String and Index - $APP DIAL? ............................................................................. 38
Set the Packet Dial String - $APP DIAL <index> <dial_string> ........................................................................... 38
Query the DNS Value - $APP DNS? ...................................................................................................................... 39
Perform A DNS Look Up on the Inbound URL - $APP DNS INBOUND ............................................................ 39
Perform a DNS Look Up on the Maintenance URL - $APP DNS MAINT............................................................ 39
Set the DNS Value - $APP DNS SERVER <ip address> ....................................................................................... 40
Perform a DNS Look Up on a Specific URL - $APP DNS <url> .......................................................................... 40
GPRS LMU: Query the GPRS Context (APN) Settings - $APP GPRS CONTEXT? ............................................ 41
GPRS LMU: Set the GPRS Context (APN) Settings - $APP GPRS CONTEXT <index> “<Context>” ............... 41
GPRS LMU: Query the Current GPRS Context Index in Use - $APP GPRS CONTEXT INDEX?...................... 42
GPRS LMU: Set the active GPRS Context (APN) Settings - $APP GPRS CONTEXTINDEX <index> .............. 42
GPRS LMU: Query the SIM PIN - $APP PIN? ..................................................................................................... 43
GPRS LMU: Set the SIM PIN - $APP PIN <SIM-PIN> ........................................................................................ 43
CDMA LMU: Force Modem OTASP Activation Update - $APP MODEM ACTIVATE ..................................... 44
CDMA LMU: Set Phone Number - $APP MODEM MIN <PhoneNumber> <SPC> <MSID>............................. 44
CDMA LMU: Query the Phone Number - $APP MODEM MIN? ........................................................................ 45
CDMA LMU: Force Modem PRL Update - $APP MODEM UPDATE ................................................................ 45
CDMA LMU: Force IOTA Session - $APP MODEM IOTA ................................................................................ 45
Query the Network Username and Password - $APP PPP?.................................................................................... 46
Set the Network Username - $APP PPP <index> USER “<username>”................................................................ 46
Set the Network Password - $APP PPP <index> PASSWORD “<password>” ..................................................... 47
Pass an AT Command to the Wireless Device - $APP MODEM CMD <command> ............................................ 47
Unit Configuration Commands ................................................................................................................................ 48
Enter AT Command Password - $PW “<password>” ............................................................................................ 48
Set Accumulator Value - $APP ACC SET <acc> <value> .................................................................................... 48
Set the IP Address of the LMU - $APP ADDR <IP address> ................................................................................ 49
Query the Inbound Settings - $APP INBOUND? ................................................................................................... 49

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - viii - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the Inbound IPAddress - $APP ADDR INBOUND <IP Address> .................................................................. 50
Set the Inbound Address - $APP INBOUND <ip address>:<port number> ........................................................... 50
Set the Inbound Reporting Format - $APP INBOUND <format> .......................................................................... 51
Set Inbound Options - $APP INBOUND <index> <option> <value>.................................................................... 52
Set the Current Inbound Index - $APP INBOUND INDEX <index> .................................................................... 53
Erase/Format the Geo-Zone Memory Space - $APP GZ ERASE .......................................................................... 54
Read Geo-Zone point definitions - $APP GZ READ <record index> [<number of records>]............................... 55
Write a Geo-Zone point definition - $APP GZ WRITE <record index> <type> <id> <range> <latitude>
<longitude> ............................................................................................................................................................. 56
Clear the Event List - $APP CLEAR EVENTS...................................................................................................... 57
Clear the Environment Masks - $APP CLEAR EMASKS ..................................................................................... 57
Default the Modem Settings - $APP DEFAULT <modem type>........................................................................... 57
Default All Settings - $APP DEFAULT ALL ........................................................................................................ 58
Default Configuration Settings - $APP DEFAULT CONFIG ................................................................................ 58
Default Environment Masks - $APP DEFAULT EMASKS .................................................................................. 58
Default Event List - $APP DEFAULT EVENTS ................................................................................................... 59
Default Trigger Parameters - $APP DEFAULT TPARAMS ................................................................................. 59
Default S-Registers Masks - $APP DEFAULT SREGS ......................................................................................... 59
Set Mobile ID Type - $APP MOBID <type> ......................................................................................................... 60
Set the Value of the MIN Mobile ID Type - $APP MOBID MIN <value> ............................................................ 61
Set the Value of the USER Mobile ID Type - $APP MOBID USER <value> ....................................................... 61
Query the Mobile ID Type and Value - $MOBID? ................................................................................................ 62
Set a Parameter Value - $APP PARAM <ParamID>,<ParamIndex>,<Value1>,<Value2>… ............................... 62
Query a Parameter Value - $APP PARAM? <ParamID>,<ParamIndex> .............................................................. 63
Begin Batch Mode Parameter Programming - $APP PARAM BEGIN.................................................................. 63
End Batch Mode Parameter Programming - $APP PARAM END......................................................................... 64
Set the Primary Port Password - $APP PASSWORD <ddd.ddd.ddd.ddd> ............................................................ 64
Set S-Register Value - $APP S<Reg>=<value> ..................................................................................................... 65
Query S-Register Value - $APP S<Reg>? .............................................................................................................. 65
MDT Quick Setup Command - $APP SERIAL <device> ...................................................................................... 66
Configure the Unit for TAIP RADIO Mode - $APP TAIP RADIO ....................................................................... 67
Set the Local Time Daylight Savings - $APP TIME DAYLIGHT <state> ............................................................ 68
Set the Local Time Offset of the LMU - $APP TIME OFFSET <offset> .............................................................. 68
Unit Control Commands – PEG ............................................................................................................................... 69
Override the GPS Position Reading - $APP GPS POS <latitude> <longitude> ..................................................... 69
Override the GPS Speed Reading - $APP GPS SPEED <speed>........................................................................... 70
Simulate a Speed Threshold Crossing (Above or Below) - $APP PEG SPEED <speed> ...................................... 70
Set the Active Comm Index and Inbound Address - $APP PEG COMMSEL <param> ........................................ 71
Force the Unit to Send in an Event Report - $APP PEG SNDRPT <event code>.................................................. 72
Force the Unit to Send in an Event Report - $APP PEG SNFRPT <event code> .................................................. 72
Force the Unit to Log an Event Report - $APP PEG LOGRPT <event code> ....................................................... 73
Force the Unit to Send in an Unacknowledged Event Report - $APP PEG SUNRPT <event code> ..................... 73
Force the Unit to Send in an Alert Report - $APP PEG SNDALRT <event code>................................................ 74
Force the Unit to Send a User Message - $APP MSG <byte> <disposition> ......................................................... 74
Force the Unit to Send in an ID Report - $APP PEG SNDID <source port> ......................................................... 75
Force the Unit to Send in an ID Report to a Specific Address and Port - $APP SENDTO <IP Address>:<Port>
<Format> ................................................................................................................................................................ 76
Force the Unit to Send in an SMS Event Report - $APP PEG SNDSMS <event code> ........................................ 77
Force the LMU to Send a Text Message via SMS - $APP SMS <destination> “<message>” ............................... 77
Force the Unit to Send in TAIP Formatted Event Report - $APP PEG SNDTAIP <event code>.......................... 78
Force the Unit to Sleep - $APP PEG SLEEP <timer index> .................................................................................. 78
Control an Output - $APP OUTPUT <output> <state> .......................................................................................... 79

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - ix - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query PEG State Variable - $APP STATE?........................................................................................................... 79


Force a PEG Action - $APP PEG ACTION <action index> <action parameter> .................................................. 80
Unit Control Commands – Log ................................................................................................................................ 81
Clear the Log - $APP CLEAR LOG ....................................................................................................................... 81
Clear the Log - $APP LOG CLEAR ....................................................................................................................... 81
Enable/Disable Log Debug Messaging - $APP LOG DEBUG <state> .................................................................. 82
Fill the Log - $APP LOG FILL <event Code> <record count>.............................................................................. 83
Quick Fill the Log - $APP LOG QFILL <record count> ....................................................................................... 83
Query the Organization of the Log Memory - $APP LOGMEM?.......................................................................... 84
Query the Size and Organization of the Log Memory - $APP LOGMEM SIZE? .................................................. 85
Read Part of the Log Memory Space - $APP LOGMEM READ <block> <starting offset> <octets>................... 86
Write Data to Part of the Log Memory Space - $APP LOGMEM WRITE <block> <starting offset>
<data>,<data>,<data>,. . . ....................................................................................................................................... 87
Erase Part of the Log Memory Space - $APP LOGMEM ERASE<page_number>............................................... 88
Clear the Log - $APP LOGMGR CLEAR .............................................................................................................. 88
Get Data from the Next Log Record - $APP LOGMGR GETREC <record-state>................................................ 89
Initialize the Log Manager - $APP LOGMGR INIT .............................................................................................. 90
Put Data into the Next Log Record - $APP LOGMGR PUTREC <data>,<data><data>,. . . ................................. 90
Display the Detailed Log Status - $APP LOGMGR STATUS? ............................................................................. 91
Unit Control Commands – Other ............................................................................................................................. 92
Set the State of the Wireless Device - $APP COMM <state> <debug level> ........................................................ 92
Query the Comm Debug Level - $APP COMM DEBUG? .................................................................................... 93
Enable/Disable Debug Output - $APP DEBUG <state> ........................................................................................ 93
Query the Debug Output State - $APP DEBUG? ................................................................................................... 94
Power the GPS Receiver On or Off - $APP GPS <state>....................................................................................... 94
Set the GPS Debug Level - $APP GPS DEBUG <debug options> ........................................................................ 95
Reset the GPS Receiver - $APP GPS RESET <flags> <reset type> ...................................................................... 96
Set the IP Debug Level - $APP IP DEBUG <debug level>.................................................................................... 98
Enable/Disable KMIP Polling (Kyocera CDMA LMU Only) - $APP KMIP <enable>......................................... 99
Send a KMIP Command (CDMA LMU Only) - $APP KMIP POLL .................................................................... 99
Set the KMIP Network Version (CDMA LMU Only) - $APP KMIP PREV <service> ...................................... 100
Force the LMU to Send a Ping - $APP PING <IP Address> ................................................................................ 101
Set the PPP Debug Level - $APP PPP DEBUG <debug level> ........................................................................... 102
Force a Soft-Reset of the Unit - $APP QUIT ....................................................................................................... 103
Force a Soft-Reset of the Unit - $APP REBOOT ................................................................................................. 103
Perform a Hard Reset of the Unit - RESET .......................................................................................................... 103
Begin Local Firmware Download - DNLD .......................................................................................................... 104
Enter Modem Passthru Mode - PASSTHRU <baud rate> <UART>.................................................................... 105
Enter GPS Passthru Mode – #GPSPASS <baud rate> .......................................................................................... 106
Enter Reprog Mode - #REPROG <baud rate> <serial port> ................................................................................ 107
Appendix A – AT Command Compatibility Chart...................................................................................................1

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -x- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Introduction
This document describes the proprietary AT commands available for CalAmp Fleet Management
and Vehicle Tracking product line.

About The Reader


In order to limit the size and scope of this manual we have made some assumptions about
you, the reader:

• You are familiar with the operation and functions of the LMU products (refer to
the LMU Users Guide)
• You are familiar with the use of AT Commands
• You are familiar with a terminal application such as HyperTerminal or PuTTY
(see LMU Users Guide for set-up instructions)

About CalAmp – Who we are…


Founded in 1981, CalAmp stands at the forefront of technology evolution as a result of strategic
collaborations with forward thinking customers. By anticipating technology and industry trends, we
rapidly develop cutting-edge solutions to help our customers effectively realize time and cost
savings. Based on our long history of successful product deployment we help our customers by
managing the entire product lifecycle - from design to manufacturing to implementation.

About CalAmp – What we do…


We are a recognized and trusted leader in satellite DBS technology, wireless networks, software
application development, embedded computing and enterprise mobility. We are considered the
solution industry’s foremost specialist in networking applications, wireless technologies, digital
multimedia delivery, residential broadband data delivery, healthcare and medical and public safety.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -2- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

AT Commands
Overview

CalAmp AT Command Line Settings


The host port of the CalAmp LMUTM product line is set with the following default values
(factory settings):

115200 baud
8 bits data
1 stop bit
No parity
No flow control

The baud rate may be changed with the +IPR, all other serial line settings are static for host
devices. 2.

AT Command Line Format


Commands always start with AT (which means ATtention) and finish with a <CR>
character. The only exception is the repeat last command request which starts with A/ and is
finished with a <CR> character.

Information Responses and Result Code Format


Responses end with <CR><LF>.
If command syntax is incorrect, an ERROR string is returned
If the command line has been performed successfully, an OK string is returned

2 Serial port setup for MDTs and Generic Serial Devices are independent of the host port settings.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -3- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Identification Commands
Query LMU/TetheredLocator ESN - $APP ESN?
Description
This command queries the LMUTM for its serial number. The response will be in a decimal
format.

Syntax
Command Syntax: AT$APP ESN?
Command Possible Responses
AT$APP ESN? ESN: 4141000100
OK

Version Identification - $APP VER?


Description
This command queries the LMUTM for the version information of each of the following:

The firmware version


The features available to the processor
The type and version of GPS Receiver being used
The type and version of wireless modem/phone being used

Syntax
Command Syntax: AT$APP VER?
Command Possible Responses
AT$APP VER? APP:LMU,082 V8.3d (Feb 6 2009 16:05:14)
PIC:STM S/N 4141000100
GPS:UBLOX-00040001 -5.00 Jan 09 2006
12:00:00
Radio:Kyocera Wireless Corp. Model 79-S/W VER:
LF1.2.11 LF1211 PRL: 11951

OK
APP:LMU,121 V1.1a (Jul 21 2009 18:09:57)
PIC:STM S/N 4231016583
GPS:UBLOX-00040005 -5.00 (28483)
Radio:SIEMENS TC65-REVISION 02.800

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -4- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Version Identification - I0
Description
This command queries the LMU for the version information of each of the following:

The firmware version


The features available to the processor
The type and version of GPS Receiver being used
The type and version of wireless modem/phone being used

Syntax
Command Syntax: ATI0
Command Possible Responses
ATI0 APP:LMU,082 V8.3d (Feb 6 2009 16:05:14)
PIC:STM S/N 4141000100
GPS:UBLOX-00040001 -5.00 Jan 09 2006
12:00:00
Radio:Kyocera Wireless Corp. Model 79-S/W VER:
LF1.2.11 LF1211 PRL: 11951

OK
APP:LMU,121 V1.1a (Jul 21 2009 18:09:57)
PIC:STM S/N 4231016583
GPS:UBLOX-00040005 -5.00 (28483)
Radio:SIEMENS TC65-REVISION 02.800

OK

Serial Number Identification - I1


Description
This command queries the LMU for the serial number of each of the following:

The ESN of the LMU


The ESN, IMEI, EID of the wireless device
The IMSI value of the wireless device
The ICC-ID value of the GSM/GPRS SIM or the PRL version for a CDMA device

Syntax
Command Syntax: ATI1
Command Possible Responses
ATI1 ESN: 4141000100
IMEI: 06902480369,4525D8F1

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -5- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Command Possible Responses


IMSI: 302864168737483
ICC-ID: 11951

OK
ESN: 4231016583
IMEI: 354745030519351
IMSI: 302720300768716
ICC-ID: 89302720400012690736

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -6- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Technology Type – I2
Description
This command queries the LMU for the technology type of the unit’s firmware:

Syntax
Command Syntax: ATI2
Command Possible Responses
ATI2 GSM (GSM,GENERIC)

OK
CDMA (CDMA,GENERIC)

OK
iDEN (iDEN, GENERIC)

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -7- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Status Response – I3
Description
This command queries the LMU for each of the following:

LMU Firmware version


RSSI
Data Connection (d/D)
Acknowledgement Received (a/A)
Current IP Address (if available)
GPS Antenna Status
GPS Fix Status
GPS Satellite Count
Input Status
Internal A/D reading (ie power supply voltage)
Mobile ID
Mobile ID Type
Inbound Address
Inbound Port
Inbound Reporting Format

Syntax
Command Syntax: ATI3
Command Possible Responses
ATI3 CDMA
APP:082 8.3d
COM:-82 D 10.73.83.73
GPS:No Time Sync
INP:11110111 13.7V
MID:4141000100 ESN
INB:207.71.209.248:20500 LMD
OK
GPRS
APP:106 1.3c
COM:-91 D.. m2m.t-mobile.com
GPS:3D-RTIME 9
INP:00101100 0.0V
MID:352024025301973 IMEI
INB:172.254.1.10:5557
OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -8- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

GPS Status Response – I4


Description
This command queries the LMU for each of the following:

GPS Time
Current Latitude
Current Longitude
Heading
Speed (km/h and mph)
Mobile ID and Mobile ID Type
Antenna Gain

Syntax
Command Syntax: ATI4
Command Possible Responses
ATI4 GPS:2D-RTIME 3
LAT:43.3289311
LON:-79.8134880
HDG:295
SPD:1 kph, 1 mph
MID:4231016583 ESN
AGC:62%

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -9- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Comm Status Response – I5


Description
This command queries the LMU for each of the following:

<RSSI>:
This is the signal strength the wireless modem sees from the network. In general the LMU is
at least scanning for the network if the RSSI is not -113.
[./d/D]:
If the character ‘D’ is present, it indicates the LMU had a data session established when it
responded to the status request. For the 8-Bit product line an upper case ‘D’ indicates both
the Inbound and Maintenance sockets are ready. The lower case ‘d’ indicates that only the
Maintenance socket is ready. A ‘.’ indicates no sockets are ready.
[./a/A]:
This field indicates if the LMU has received an Acknowledgement from the Inbound server.
This field will be empty if the LMU has never received an ACK.The lower case ‘a’ will be
present if it has received an ACK since the last cold boot (i.e. power cycle) but not the last
warm boot (App Restart or Sleep). The upper case ‘A’ will be present if the LMU has
received an ACK since the last warm boot. A ‘.’ Indicates no acknowledgement has been
received.
[./L]:
This field indicates if the LMU’s log is currently active. An ‘L’ indicates that the log is
currently in use (i.e. one or more records have been stored) where a ‘.’ indicates the log is
inactive.
<Session Duration>:
This is the length of time the current PDP session has been active represented in a 2
character field. If duration is less than 1 hour, the display will indicate tenths of hour (ie. .1
or .6). If the duration is in the range of 1 to 99 hours, the display will indicate whole hours
(i.e. 01 or 15). If the duration is greater than 99 hours the display will indicate "9+".
<IP Address>:
This is an optional field if and is only present if the LMU has established a valid data session.
This field will contain the current IP address of the LMU as assigned by the wireless
network. Note that if you see a value of 192.168.0.0, this is an indication that the LMU has
not been able to establish a data session.
<Local Port>:
This field contains the current Local Port Number in use by the LMU. Typically this value is
set to 20510 via Parameter 774.
M/I/O:
The first character of each line indicates which socket the status indicates apply to. The three
lines are M = Maintenance Socket, I = Inbound Socket, O = Outbound Socket.
[O/C/E]:
This field indicates the current status of the referenced socket. The three possible states are,
OPEN (O), CLOSED (C) or ERROR (E).

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 10 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

[./S]
This field indicates if the LMU has sent data thru the referenced socket. An ‘S’ indicates data
has been sent. A ‘.’ indicates no data has been sent.
[./R]
This field indicates if the LMU has received data thru the referenced socket. An ‘R’ indicates
data has been received. A ‘.’ indicates no data has been received.
<URL>:
The current URL associated with the referenced socket. Please note that the URL is
truncated to 18 characters in length.
<Port>:
The current UDP Port associated with the referenced socket. In each case this should be the
port on the remote server used for LMU communications.

Syntax
Command Syntax: ATI5
Command Possible Responses
ATI5 -93 DA. 9+ 10.10.4.142 20510
M:O.. 207.71.209.248 20500
I:Osr 172.254.1.10 5557
O:Osr 172.254.1.10 20510

OK

Google Maps URL – IJ


Description
This command returns a URL that will link to the map location of the LMU:

Syntax
Command Syntax: ATIJ
Command Possible Responses
ATIJ http://maps.google.com/maps?q=32.875687,-
117.210678

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 11 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Unit Status Commands


Query for Unit Status - $APP UNIT?
Description
This command queries the LMU for each of the following:

LMU Firmware version


RSSI
Current IP Address (if available)
GPS Antenna Status
GPS Fix Status
GPS Satellite Count
Input Status
Internal A/D reading (ie power supply voltage)
Mobile ID
Mobile ID Type
Inbound Address
Inbound Port
Inbound Reporting Format

Syntax
Command Syntax: AT$APP UNIT?
Command Possible Responses
AT$APP UNIT? APP:082 8.3d
COM:-84 D 10.73.83.73
GPS:No Time Sync
INP:11110111 13.6V
MID:4141000100 ESN
INB:207.71.209.248:20500 LMD

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 12 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Current Accumulator States - $APP ACC?


Description
This command returns the current value, threshold and type for each of the LMU’s
accumulators.

Syntax
Command Syntax: AT$APP ACC?
Command Possible Responses
AT$APP ACC? Acc Value Limit Type
0 0 25
1 0 5
2 0 0
3 0 200 Distance
4 0 0
5 600 120 Time
6 999999 5 Pos Accuracy
7 999999 15 Pos Accuracy
8 0 0
9 0 0
10 0 0
11 0 0
12 0 0
13 0 0
14 0 0
15 0 0

Query Current Analog to Digital Input Readings - $APP ADC?


Description
This command returns the current readings of the internal (ADC-0) and external (ADC-1,
ADC-2,. ADC-3, ADC 4 )to digital inputs. The values are in mV.

Syntax
Command Syntax: AT$APP ADC?
Command Possible Responses
AT$APP ADC? ADC-0= 13696 mV
ADC-1= 459 mV
ADC-2= 331 mV
ADC-3= 13836 mV

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 13 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Current IP Address - $APP ADDR?


Description
This command returns the current IP address assigned to the LMU

Syntax
Command Syntax: AT$APP ADDR?
Command Possible Responses
AT$APP ADDR? 166.147.64.158
OK

Query Current Flag States - $APP FLAGS?


Description
This command returns the current states of the 16 PEG Flags. They are displayed from Flag
15 to Flag 0:

Syntax
Command Syntax: AT$APP FLAGS?
Command Possible Responses
AT$APP FLAGS? Flags: 0000000000000001
OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 14 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Current Timer States - $APP TIMERS?


Description
This command returns the current value, threshold and type for each of the LMU’s timers.

Syntax
Command Syntax: AT$APP TIMERS?
Command Possible Responses
AT$APP TIMERS? Tmr Value Set Type
0 40 50 Repeat
1 0 1
2 0 0
3 0 300
4 0 0
5 0 0
6 0 0
7 0 0
8 0 10
9 0 0
10 0 30
11 897 900 1-Shot
12 0 0
13 0 0
14 0 0
15 0 0

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 15 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Current Input States - $APP INPUT?


Description
This command returns the current state of the LMU discreet inputs. The states are displayed
as follows:

Syntax
Command Syntax: AT$APP INPUT?
Command Possible Responses
AT$APP INPUT? INPUT-0: Bias=0 State=1
INPUT-1: Bias=1 State=1
INPUT-2: Bias=1 State=1
INPUT-3: Bias=1 State=0
INPUT-4: Bias=1 State=1

OK
LMU-1000
AUXIN0: true
AUXIN0: true
AUXIN0: true
BIAS1: true
BIAS2: true
OK

Query Current Output States - $APP OUTPUT?


Description
This command returns the current state of the LMU outputs. The states are displayed as
follows:

Syntax
Command Syntax: AT$APP OUTPUT?
Command Possible Responses
AT$APP OUTPUT? OUTPUT-0: State=0
OUTPUT-1: State=0
OUTPUT-2: State=0
OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 16 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Comm Status - $APP COMM?


Description
This command returns current RSSI and registration state of the wireless device. Please note
that the exact contents will vary between radio networks.

Syntax
Command Syntax: AT$APP COMM?
Command Possible Responses
AT$APP COMM? GPRS
GSM RSSI:-71 Comm
OK
CDMA
CDMA RSSI:-65 No-Comm
OK
iDen
iDEN RSSI:-70 Comm

OK

Query Comm Connection - $APP COMM CONNECT?


Description
This command indicates if the LMU is connected to the wireless network. Only two states
are available:

Connected
Disconnected

Syntax
Command Syntax: AT$APP COMM CONNECT?
Command Possible Responses
AT$APP COMM DISCONNECTED
CONNECT? OK
CONNECTED
OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 17 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Detailed Comm Status - $APP COMM STATUS?


Description
This command returns detailed information about the current status of the wireless device.
This information includes:

Registration status
Network acquisition status
RSSI
Network identifiers
Phone number (if available)
Any serial numbers associated with the wireless device

Please note that the exact contents will vary between radio networks.

Syntax
Command Syntax: AT$APP COMM STATUS?
Command Possible Responses
AT$APP COMM GPRS
STATUS? GSM Registered : Yes, Home
GPRS Registered : Yes, Home
Connection : Yes
RSSI : -61 dBm
BER : 99
Channel : 128
Cell ID : 27403
Base Station ID : 21
Local Area Code : 4300
Network Code : 720
Country Code : 302
IMEI (Modem S/N): 355632002476894
IMSI (SIM ID) : 302720300768716
ICC-ID (SIM S/N): 89302720400012690736
Phone Number : 14162783985
GPRS APN : internet.com
Quality of Srvc :
GSM Class :

OK
GPRS
GSM Registered : Yes, Home
GPRS Registered : Yes, Home
Connection : Yes {MIO}
RSSI : -91 dBm
BER : 99
Channel : 680

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 18 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Command Possible Responses


Cell ID : 59183
Base Station ID : 5389
Local Area Code : 128
Network Code : 26
Country Code : 310
IMEI (Modem S/N): 352024025301973
IMSI (SIM ID) : 310260930230449
ICC-ID (SIM S/N): 8901260930002304495
Phone Number :
GPRS APN : m2m.t-mobile.com
Maint. Server : 207.71.209.248:20500
Inbound Server : 172.254.1.10:5557
Outbound Server : 172.254.1.10:20510

OK
CDMA
CDMA Service : IS-2000
Connection : Yes
RSSI : -82 dBm
Channel : 550
Band:Side : 1900:B
Base Station ID : 0
Network ID : 1
System ID : 17500
ESN (Modem S/N) : 06902480369
[4525D8F1]
Phone Number : 4168737483
IMSI : 302864168737483
CarrierConfig : 13

OK
iDEN
IDEN Service : Yes
Packet Service : Available,
Registered, Idle
Connection : Yes
RSSI : -77 dBm
SQE : 28
Channel : 1971
Color : 12
Phone Number : 4166779496
IMEI : 001500003146600
Modem S/N : 364YGL1SB4
ICC-ID (SIM S/N): 000830657563310
CodePlug Ver : 0x0060
NEI : 10.17.187.207

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 19 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Detailed Comm Status -IC


Description
This command returns detailed information about the current status of the wireless device.
This information includes:

Registration status
Network acquisition status
RSSI
Network identifiers
Phone number (if available)
Any serial numbers associated with the wireless device

Please note that the exact contents will vary between radio networks.

Syntax
Command Syntax: ATIC
Command Possible Responses
ATIC GPRS
GSM Registered : Yes, Home
GPRS Registered : Yes, Home
Connection : Yes
RSSI : -61 dBm
BER : 99
Channel : 128
Cell ID : 27403
Base Station ID : 21
Local Area Code : 4300
Network Code : 720
Country Code : 302
IMEI (Modem S/N): 355632002476894
IMSI (SIM ID) : 302720300768716
ICC-ID (SIM S/N): 89302720400012690736
Phone Number : 14162783985
GPRS APN : internet.com
Quality of Srvc :
GSM Class :

OK
GPRS
GSM Registered : Yes, Home
GPRS Registered : Yes, Home
Connection : Yes {MIO}
RSSI : -91 dBm
BER : 99
Channel : 680

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 20 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Command Possible Responses


Cell ID : 59183
Base Station ID : 5389
Local Area Code : 128
Network Code : 26
Country Code : 310
IMEI (Modem S/N): 352024025301973
IMSI (SIM ID) : 310260930230449
ICC-ID (SIM S/N): 8901260930002304495
Phone Number :
GPRS APN : m2m.t-mobile.com
Maint. Server : 207.71.209.248:20500
Inbound Server : 172.254.1.10:5557
Outbound Server : 172.254.1.10:20510

OK
CDMA
CDMA Service : IS-2000
Connection : Yes
RSSI : -82 dBm
Channel : 550
Band:Side : 1900:B
Base Station ID : 0
Network ID : 1
System ID : 17500
ESN (Modem S/N) : 06902480369
[4525D8F1]
Phone Number : 4168737483
IMSI : 302864168737483
CarrierConfig : 13

OK
iDEN
IDEN Service : Yes
Packet Service : Available,
Registered, Idle
Connection : Yes
RSSI : -77 dBm
SQE : 28
Channel : 1971
Color : 12
Phone Number : 4166779496
IMEI : 001500003146600
Modem S/N : 364YGL1SB4
ICC-ID (SIM S/N): 000830657563310
CodePlug Ver : 0x0060
NEI : 10.17.187.207

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 21 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query GPS Location - $APP GPS?


Description
This command returns the location information as provided by the GPS receiver. The values
included are:

Latitude (lat)
Longitude (long)
Altitude (alt)
Heading (hdg)
Speed (spd)
Fix Status
HDOP
Number of satellites (nSats)

Syntax
Command Syntax: AT$APP GPS?
Command Possible Responses
AT$APP GPS? Lat=4332887, Lon=-7981363, Alt=62
Hdg=73 Spd=0 3D-DIFF HDOP=89 nSats=9

OK

Query Current TIME - $APP TIME?


Description
This command returns the current Time based on GMT and the Local Time Offset value as
known by the GPS receiver. If a time is not available from the receiver, then the time since
last power up will be displayed.

Syntax
Command Syntax: AT$APP TIME?
Command Possible Responses
AT$APP TIME? GMT 22:44:06 Mon 12 Sep 2005 DOY=254
Loc 17:44:06 Mon 12 Sep 2005 DOY=254
OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 22 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Detailed GPS Status - $APP GPS STATUS?


Description
This command returns the current time, location, speed, heading and altitude as well as
detailed status information about the GPS Receiver including PRN, Az, El, SNR and usage
values for each visible satellite.

Syntax
Command Syntax: AT$APP GPS STATUS?
Command Possible Responses
AT$APP GPS Fix Status : 3D-RTIME
STATUS? Latitude : 33.1321436
Longitude : -117.2584921
Altitude : 73 m (above datum)
Speed : 0 mph, 8 cm/s
Heading : 92
Accuracy Est : Hor 10m
GPS Time : GMT 22:25:10 Thu 8 Oct
2009 DOY=280
Time-of-Fix : GMT 22:25:11 Thu 8 Oct
2009 DOY=280
Antenna : Unknown
HDOP : 1.13
Sats : 8
Quality : Yes (7/2)
Power : On
Chan SVID Az El C/No Used
1. 1 315 22 0
2. 2 84 85 31 U
3. 4 47 49 23 U
4. 5 161 16 0 U
5. 9 222 39 20 U
6. 10 154 19 27 U
7. 12 326 61 37 U
8. 17 72 10 0
9. 27 214 35 26 U
10. 29 271 9 17
11. 30 315 26 0 U

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 23 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Detailed GPS Status -IG


Description
This command returns the current time, location, speed, heading and altitude as well as
detailed status information about the GPS Receiver including PRN, Az, El, SNR and usage
values for each visible satellite.

Syntax
Command Syntax: ATIG
Command Possible Responses
ATIG Fix Status : 3D-RTIME
Latitude : 33.1321436
Longitude : -117.2584921
Altitude : 73 m (above datum)
Speed : 0 mph, 8 cm/s
Heading : 92
Accuracy Est : Hor 10m
GPS Time : GMT 22:25:10 Thu 8 Oct
2009 DOY=280
Time-of-Fix : GMT 22:25:11 Thu 8 Oct
2009 DOY=280
Antenna : Unknown
HDOP : 1.13
Sats : 8
Quality : Yes (7/2)
Power : On
Chan SVID Az El C/No Used
1. 1 315 22 0
2. 2 84 85 31 U
3. 4 47 49 23 U
4. 5 161 16 0 U
5. 9 222 39 20 U
6. 10 154 19 27 U
7. 12 326 61 37 U
8. 17 72 10 0
9. 27 214 35 26 U
10. 29 271 9 17
11. 30 315 26 0 U

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 24 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Bluetooth Device Status -$APP BT?


Description
This command returns the current status of the Bluetooth adapter. The response includes
the following:
Which port the Bluetooth Adapter is using (Host/Modem)
If the Bluetooth Adapter is connected to another device
The name of the connected device
The addresses of the last 3 devices the Bluetooth Adapter was connected to.

Syntax
Command Syntax: AT$APP BT?
Command Possible Responses
AT$APP BT? AT$APP BT?
Port : None
Connected : No
Device : None
RemAddr[1] : 00:00:00:00:00:00
RemAddr[2] : 00:00:00:00:00:00
RemAddr[3] : 00:00:00:00:00:00

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 25 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Log Status - $APP LOG?


Description
This command returns the basic status of the LMU’s log space. The included information is:

Current number of records (Event Reports, User Messages, and ID Reports) in the
log
The percentage of the log being used by these records
The number of log delivery retry attempts remaining
The number of seconds remaining until the next log send attempt will be made

Syntax
Command Syntax: AT$APP LOG?
Command Possible Responses
AT$APP LOG? Log Status: 4441 Records, 99% Full, SNF, Retry
0, 227 sec
OK

Query Detailed Log Status - $APP LOG SNF


Description
This command sets the current mode of the log to be Store and Forward (SNF). This
change occurs regardless of how the logs were created.

Syntax
Command Syntax: AT$APP LOG SNF
Command Possible Responses
AT$APP LOG SNF OK

Query Detailed Log Status - $APP LOG BATCH


Description
This command sets the current mode of the log to be Batch. This change occurs regardless
of how the logs were created.

Syntax
Command Syntax: AT$APP LOG BATCH
Command Possible Responses
AT$APP LOG BATCH OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 26 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query Detailed Log Status - $APP LOG STATUS?


Description
This command returns the detailed status of the LMU/TetheredLocator’s log space.

Syntax
Command Syntax: AT$APP LOG STATUS?
Command Possible Responses
AT$APP LOG StructAddr : 0x00012a28
STATUS? MemoryAddr : 0x01080000
Status : OK
Free : 505698
Num Blocks : 11
Total Log : 524200
Unread Records : 0
Max Report Length : 912
Next Sequence : 1
Read Block : 0
Read Offset : 18510
Write Block : 0
Write Offset : 18510
OK
LMU-1000
Max Messages :128
Num Messages :0
Current RAM Avail: 104352
OK

Query Zone Status - $APP ZONES?


Description
This command returns the detailed status zones states on the LMU

Syntax
Command Syntax: AT$APP ZONES?
Command Possible Responses
AT$APP ZONES? Zone Latitude Longitude East North Geom Hyst State Status
0 0.0000000 0.0000000 0 0 0 0 Out Enabled
1 0.0000000 0.0000000 0 0 0 0 Out Enabled
2 0.0000000 0.0000000 0 0 0 0 Out Enabled
3 0.0000000 0.0000000 0 0 0 0 Out Enabled
4 0.0000000 0.0000000 0 0 0 0 Out Enabled
5 0.0000000 0.0000000 0 0 0 0 Out Enabled
6 0.0000000 0.0000000 0 0 0 0 Out Enabled
7 0.0000000 0.0000000 0 0 0 0 Out Enabled
8 0.0000000 0.0000000 0 0 0 0 Out Enabled
9 0.0000000 0.0000000 0 0 0 0 Out Enabled
10 0.0000000 0.0000000 0 0 0 0 Out Enabled
11 0.0000000 0.0000000 0 0 0 0 Out Enabled
12 0.0000000 0.0000000 0 0 0 0 Out Enabled
13 0.0000000 0.0000000 0 0 0 0 Out Enabled

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 27 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Command Possible Responses


14 0.0000000 0.0000000 0 0 0 0 Out Enabled
15 0.0000000 0.0000000 0 0 0 0 Out Enabled
16 0.0000000 0.0000000 0 0 0 0 Out Enabled
17 0.0000000 0.0000000 0 0 0 0 Out Enabled
18 0.0000000 0.0000000 0 0 0 0 Out Enabled
19 0.0000000 0.0000000 0 0 0 0 Out Enabled
20 0.0000000 0.0000000 0 0 0 0 Out Enabled
21 0.0000000 0.0000000 0 0 0 0 Out Enabled
22 0.0000000 0.0000000 0 0 0 0 Out Enabled
23 0.0000000 0.0000000 0 0 0 0 Out Enabled
24 0.0000000 0.0000000 0 0 0 0 Out Enabled
25 0.0000000 0.0000000 0 0 0 0 Out Enabled
26 0.0000000 0.0000000 0 0 0 0 Out Enabled
27 0.0000000 0.0000000 0 0 0 0 Out Enabled
28 0.0000000 0.0000000 0 0 0 0 Out Enabled
29 0.0000000 0.0000000 0 0 0 0 Out Enabled
30 0.0000000 0.0000000 0 0 0 0 Out Enabled
31 0.0000000 0.0000000 0 0 0 0 Out Enabled

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 28 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Hayes Compatible AT Commands


Dial Command - D<Service><DialString>
Description
This command forces the LMU to enter PPP or SLIP mode with the host device based on
the Dial String.

Syntax
Command Syntax: ATD<Service><DialString>
Command Possible Responses
ATD0 CONNECT
Invalid AT Command

ERROR
ATDT0 CONNECT
ATDP0 CONNECT

Command Options
Option Range Description
<Service> T (optional) Tone Dial
P Pulse Dial
<DialString> 0 Setup a PPP connection
10.0.0.1 Setup a PPP connection
1 Setup a SLIP
connection

Enable AT Command Echoing - E1


Description
This command will force the LMU to echo AT Commands back to the user as they are
entered.

Syntax
Command Syntax: ATE1
Command Possible Responses
ATE1 OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 29 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Disable AT Command Echoing - E0


Description
This command will disable the LMU from echoing AT Commands back to the user as they
are entered.

Syntax
Command Syntax: ATE0
Command Possible Responses
ATE0 OK

Set Modem Speaker Volume Adjustment - L<n>


Description
This command is handled by the LMU but not supported (i.e., it has no effect).

Syntax
Command Syntax: ATL<n>
Command Possible Responses
ATL0 OK

Command Options
Option Range Description
<n> 0-9 Speaker Volume

Set Modem Speaker Control - M<n>


Description
This command is handled by the LMU but not supported (i.e., it has no effect).

Syntax
Command Syntax: ATM<n>
Command Possible Responses
ATM0 OK

Command Options
Option Range Description
<n> 0-9 Speaker Control

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 30 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Enable Quiet Mode - Q1


Description
This command is handled by the LMU but not supported (i.e., it has no effect)

Syntax
Command Syntax: ATQ1
Command Possible Responses
ATQ1 OK

Disable Quiet Mode - Q0


Description
This command is handled by the LMU but not supported (i.e., it has no effect)

Syntax
Command Syntax: ATQ0
Command Possible Responses
ATQ0 OK

Set Call Progress Result Code - X<n>


Description
This command is handled by the LMU but not supported (i.e., it has no effect).

Syntax
Command Syntax: ATX<n>
Command Possible Responses
ATX0 OK

Command Options
Option Range Description
<n> 0-9 Call Progress Result
Code

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 31 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Enable Verbose Response Format - V1


Description
This command will force the LMU to respond to AT Commands using plain text messages.
The possible responses are:

OK
Connect
Error

Syntax
Command Syntax: ATV1
Command Possible Responses
ATV1 OK

Enable Terse Response Format - V0


Description
This command will force the LMU to respond to AT Commands using numeric codes. The
possible responses are:

0 (Ok)
1 (Connect)
4 (Error)

Syntax
Command Syntax: ATV0
Command Possible Responses
ATV0 OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 32 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Reset Hayes Settings - Z>


Description
This command is handled by the LMU but not supported (i.e., it has no effect).

Syntax
Command Syntax: ATZ
Command Possible Responses
ATZ OK

Set CD Options - &C<n>


Description
This command is handled by the LMU but not supported (i.e., it has no effect).

Syntax
Command Syntax: AT&C<n>
Command Possible Responses
AT&C0 OK

Command Options
Option Range Description
<n> 0-9 Carrier Detect
Settings

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 33 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set DTR Options - &D<n>


Description
This command serves to control the host port DTR action.

Syntax
Command Syntax: AT&D<n>
Command Possible Responses
AT&D0 OK

Command Options
Option Range Description
<n> 0 = do not disconnect Data Terminal Ready
the data session if Settings.
DTR drops
1 = disconnect data
session on a dropping
DTR

Query Host Port Baud Rate - +IPR?


Description
This command returns the current baud rate of the LMU’s host port.

Syntax
Command Syntax: AT+IPR?
Command Possible Responses
AT+IPR? +IPR: 19200
OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 34 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set Host Port Baud Rate - +IPR=<BaudRate>


Description
This command will change the host port baud rate of the LMU. Note that the baud rate
change will take effect immediately after the response is returned.

Syntax
Command Syntax: AT+IPR=<BaudRate>
Command Possible Responses
AT+IPR=115200 OK

Command Options
Option Range Description
<BaudRate> 4800 Host port baud rate
9600
19200
38400
57600
115200

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 35 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the available Host Port Baud Rates - +IPR=?


Description
This command displays the list of baud rates supported by the LMU.

Syntax
Command Syntax: AT+IPR=?
Command Possible Responses
AT+IPR=? +IPR: (4800,9600,19200, 38400,57600,115200)
OK

Terminate Data (PPP/SLIP) Session - +++


Description
This command will end the PPP or SLIP session with LMU™.

Syntax
Command Syntax: +++
Command Possible Responses
+++ OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 36 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Wireless Modem Configuration Commands


Query the active Comm Index - $APP COMM INDEX?
Description
This command queries for the current Comm Index used by the LMU.

Syntax
Command Syntax: AT$APP COMM INDEX?
Command Possible Responses
AT$APP COMM Comm Index 0
INDEX? OK

Set the active Comm Index - $APP COMM INDEX <index>


Description
This command sets the active Comm Index of the LMU. The Comm index controls the
indexes of the PPP Username and Password and the Packet Dial String.

Syntax
Command Syntax: AT$APP COMM INDEX <index>
Command Possible Responses
AT$APP COMM Comm Index 0
INDEX 0 OK

Command Options
Option Range Description
<index> 0 -1 The Comm Index to be
used by the LMU. The
same index value will
be used for the PPP
settings and packet
dial string.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 37 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the Active Packet Dial String and Index - $APP DIAL?
Description
This command queries the current packet dial strings programmed into the LMU and
highlights which is active.

Syntax
Command Syntax: AT$APP DIAL?
Command Possible Responses
AT$APP DIAL? Dial 0 #777 *
Dial 1 #777
OK

Set the Packet Dial String - $APP DIAL <index> <dial_string>


Description
This command programs the dial string(s) to be used to access the wireless data network.

Syntax
Command Syntax: AT$APP DIAL <index> <dial_string>
Command Possible Responses
AT$APP DIAL 1 OK
*99***1#

Command Options
Option Range Description
<index> 0 -1 The index of the dial
string to be
programmed.
<dial_string> up to 15 character The ‘phone number’ the
dial string LMU must dial to
access the wireless
data network.
CDMA Default: #777
GSM Default: *99***1#
iDEN Default: 0

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 38 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the DNS Value - $APP DNS?


Description
This command queries the current IP Address for the Primary and Secondary DNS Servers
given to the LMUTM.

Syntax
Command Syntax: AT$APP DNS?
Command Possible Responses
AT$APP DNS? DNS SERVER: Pri 66.174.6.7, Sec 66.174.3.7
OK

Perform A DNS Look Up on the Inbound URL - $APP DNS INBOUND


Description
This command will attempt to perform a DNS lookup for the Inbound URL. An ERROR
response will be returned if the Inbound URL is not defined.

Syntax
Command Syntax: AT$APP DNS INBOUND
Command Possible Responses
AT$APP DNS DNS LOOKUP:inbound.vehilce-location.com
INBOUND OK
DNS LOOKUP: 63.200.203.51
ERROR

Perform a DNS Look Up on the Maintenance URL - $APP DNS MAINT


Description
This command will attempt to perform a DNS lookup for the Maintenance URL. An
ERROR response will be returned if the maintenance URL is not defined

Syntax
Command Syntax: AT$APP DNS MAINT
Command Possible Responses
AT$APP DNS MAINT DNS LOOKUP: maint.vehicle-location.com
OK
DNS LOOKUP: 63.200.203.51
ERROR

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 39 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the DNS Value - $APP DNS SERVER <ip address>


Description
This command sets the DNS Server IP Address the LMU will use to resolve the inbound
URL. Please note that this setting is only necessary if you are using the Inbound URL feature
and if the wireless network provider does not support automatic DNS Server assignment.

Syntax
Command Syntax: AT$APP DNS SERVER <ip address>
Command Possible Responses
AT$APP DNS OK
SERVER 10.2.3.29

Command Options
Option Range Description
<ip address> 000.000.000.000 – The IP address of the
255.255.255.255 DNS Server used by
your wireless network
provider.

Perform a DNS Look Up on a Specific URL - $APP DNS <url>


Description
This command will attempt to perform a DNS lookup for the specified URL.

Syntax
Command Syntax: AT$APP DNS <url>
Command Possible Responses
AT$APP DNS DNS LOOKUP: YAHOO.COM
yahoo.com OK
DNS LOOKUP: 216.109.112.135

AT$APP DNS DNS LOOKUP: WWW.YALHOO.COM


www.yalhoo.com OK
DNS LOOKUP: FAIL

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 40 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

GPRS LMU: Query the GPRS Context (APN) Settings - $APP GPRS CONTEXT?
Description
This command queries the APN values the LMU will use to access the GPRS wireless
network.

Syntax
Command Syntax: AT$APP GPRS CONTEXT?
Command Possible Responses
AT$APP GPRS Context 0 IP:apnValue
CONTEXT? Context 1 IP:apn
OK

GPRS LMU: Set the GPRS Context (APN) Settings - $APP GPRS CONTEXT <index>
“<Context>”
Description
This command sets the APN values the LMU will use to access the GPRS wireless network.

Syntax
Command Syntax: AT$APP GPRS CONTEXT <index> “<context>”
Command Possible Responses
AT$APP GPRS OK
CONTEXT 0
“apnValue”

Command Options
Option Range Description
<index> 0-1 The index of the
GPRS context
setting. The LMU
can store two APN
settings.
“<context>” apnValue.Operator.Com The APN settings
as given by the
GPRS network
operator.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 41 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

GPRS LMU: Query the Current GPRS Context Index in Use - $APP GPRS CONTEXT
INDEX?
Description
This command queries the LMU for the index value of the current GPRS context being used

Syntax
Command Syntax: AT$APP GPRS CONTEXT?
Command Possible Responses
AT$APP GPRS Context Index 0
CONTEXT INDEX? OK

GPRS LMU: Set the active GPRS Context (APN) Settings - $APP GPRS
CONTEXTINDEX <index>
Description
This command sets the current index for the GPRS Context the LMU should use when
establishing a data session.

Syntax
Command Syntax: AT$APP GPRS CONTEXT INDEX <index>
Command Possible Responses
AT$APP GPRS OK
CONTEXT Index 0

Command Options
Option Range Description
<index> 0-1 The index of the GPRS
context setting. The
LMU/TetheredLocator
can store two APN
settings.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 42 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

GPRS LMU: Query the SIM PIN - $APP PIN?


Description
This command queries the current SIM PIN value stored in the LMU™.

Syntax
Command Syntax: AT$APP PIN?
Command Possible Responses
AT$APP PIN? PIN: 1234
OK

GPRS LMU: Set the SIM PIN - $APP PIN <SIM-PIN>


Description
This command sets the SIM’s PIN so the LMU can access the GPRS modem.

Syntax
Command Syntax: AT$APP PIN <SIM-PIN>
Command Possible Responses
AT$APP PIN 1234 PIN: 1234

OK

Command Options
Option Range Description
<SIM-PIN> 0000-9999 The PIN of the
GSM/GPRS SIM as
assigned by the
GSM/GPRS network
operator.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 43 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

CDMA LMU: Force Modem OTASP Activation Update - $APP MODEM ACTIVATE
Description
This command will reset the wireless modem. On the next dial attempt it will use the active
PRL Dial string to attempt to activate the wireless modem. Following this attempt, the
LMU will once again establish a data session. The attempt will take approximately 2 minutes
to complete. Note that this feature only works if the CDMA operator supports automatic
provisioning through the PRL dial string.

Users should also be aware that re-activating an already active modem may cause it to lose is
credentials and be unable to register to the wireless network. USE THIS COMMAND
WITH CAUTION.

Syntax
Command Syntax: AT$APP MODEM ACTIVATE
Command Possible Responses
AT$APP MODEM OK
ACTIVATE

CDMA LMU: Set Phone Number - $APP MODEM MIN <PhoneNumber> <SPC> <MSID>
Description
This command programs the phone number of the CDMA 1xRTT modem.

Syntax
Command Syntax: AT$APP MODEM MIN <PhoneNumber> <SPC> <MSID>
Command Possible Responses
AT$APP MODEM MIN OK
760 555 1010
000000

Command Options
Option Range Description
<PhoneNumber> 0000000000 – The phone number of
9999999999 the CDMA 1xRTT modem
as assigned by the
CDMA Network Operator.
<SPC> 000000 – 999999 The SPC (Service
Programming Code) as
reported by the CDMA
network provider.
<MSID> 0000000000 - The MIN/MSID value for
9999999999 the CDMA 1xRTT modem
as assigned by the
network operator.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 44 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

CDMA LMU: Query the Phone Number - $APP MODEM MIN?


Description
This command queries the phone number of the CDMA 1xRTT modem.

Syntax
Command Syntax: AT$APP MODEM MIN?
Command Possible Responses
AT$APP MODEM MIN: 1234567890
MIN? OK

CDMA LMU: Force Modem PRL Update - $APP MODEM UPDATE


Description
This command will reset the wireless modem. On the next dial attempt it will use the active
PRL Dial string to attempt to update its PRL. Following this attempt, the LMU will once
again establish a data session. The attempt will take approximately 2 minutes to complete.
Note that the PRL will only update if the CDMA operator supports automatic updates
through the PRL dial string (i.e. the LMU cannot ‘Press 1 to update PRL’ after the call has
been answered)

Syntax
Command Syntax: AT$APP MODEM UPDATE
Command Possible Responses
AT$APP MODEM OK
UPDATE

CDMA LMU: Force IOTA Session - $APP MODEM IOTA


Description
This command will force the CDMA modem to initiate an IOTA session for network
activation. This command only applies to Sprint devices.

Syntax
Command Syntax: AT$APP MODEM IOTA
Command Possible Responses
AT$APP MODEM OK
IOTA

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 45 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the Network Username and Password - $APP PPP?


Description
This command queries the username and the password the LMU will use to access the
wireless network for all available Comm Indexes.

Syntax
Command Syntax: AT$APP PPP?
Command Possible Responses
AT$APP PPP? PPP 0 USER 7603103478@vzw3g.com *
PPP 0 PASSWORD vzw *
PPP 1 USER
PPP 1 PASSWORD
OK

Set the Network Username - $APP PPP <index> USER “<username>”


Description
This command sets the username the LMU will use to access the wireless network.

Syntax
Command Syntax: AT$APP PPP <index> USER “<username>”
Command Possible Responses
AT$APP PPP 0 PPP 1 USER MyUserName
USER
“MyUserName” OK

Command Options
Option Range Description
<index> 0 - 1 The Comm Index to use
when programming the
username. If an index
is not present, a
value of 0 is assumed.
<username> - 64 character string The username as
assigned by the
wireless network
provider.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 46 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the Network Password - $APP PPP <index> PASSWORD “<password>”


Description
This command sets the password the LMU will use to access the wireless network for the
give Comm Index.

Syntax
Command Syntax: AT$APP PPP <index> PASSWORD “<password>”
Command Possible Responses
AT$APP PPP 1 PPP 1 PASSWORD MyPassWord
PASSWORD
“MyPassWord” OK

Command Options
Option Range Description
<index> 0 - 1 The Comm Index to use
when programming the
password. If an index
is not present, a
value of 0 is assumed.
<password> - 16 character string The password as
assigned by the
wireless network
provider.

Pass an AT Command to the Wireless Device - $APP MODEM CMD <command>


Description
This command passes the referenced at command to the wireless device. Note that the
devices response will not be seen unless the unit is in debug mode.

Syntax
Command Syntax: AT$APP MODEM CMD <command>
Command Possible Responses
AT$APP MODEM CMD OK
“AT+GMM”

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 47 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Unit Configuration Commands


Enter AT Command Password - $PW “<password>”
Description
This command allows a user to enter the AT Command password (if set) so AT Commands
will be processed by the LMU

Syntax
Command Syntax: AT$PW “<password>”
Command Possible Responses
AT$PS “AbCdEf” OK

Command Options
Option Range Description
<password> 15 character string The AT Command
Password of the LMU.

Set Accumulator Value - $APP ACC SET <acc> <value>


Description
This command sets the value of the specified accumulator.

Syntax
Command Syntax: AT$APP ACC SET <acc> <value>
Command Possible Responses
AT$APP ACC SET 0 OK
10

Command Options
Option Range Description
<acc> 0-15 The index of the
accumulator to be set.
<value> 0 – 4294967296 The value the
accumulator will be
set to.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 48 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the IP Address of the LMU - $APP ADDR <IP address>


Description
This command sets the current IP Address of the LMU. Please note that this value is
TEMPORARY. It will be updated as soon as the LMU establishes an active data session
with the wireless device.

Syntax
Command Syntax: AT$APP ADDR <IP address>
Command Possible Responses
AT$APP ADDR Addr 1.3.2.4
1.3.2.4? OK

Command Options
Option Range Description
<IP Address> 000.000.000.000 – The new IP address of
255.255.255.255 the LMU.

Query the Inbound Settings - $APP INBOUND?


Description
This AT Command queries the LMU for its current inbound settings. This includes the
following:
Inbound report format (LMD)
Inbound Addresses and Ports (index 0-3)
Inbound URLs (index 0-1)
Current inbound address/port/URL in use (*)

Syntax
Command Syntax: AT$APP INBOUND?
Command Possible Responses
AT$APP INBOUND? INBOUND LMD
INBOUND 0 ADDR 10.1.2.3:20500 *
INBOUND 0 URL *
INBOUND 1 ADDR 0.0.0.0:20500
INBOUND 1 URL
INBOUND 2 ADDR 0.0.0.0:20500
INBOUND 3 ADDR 0.0.0.0:20500

OK
INBOUND 10.1.2.3:20500

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 49 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the Inbound IPAddress - $APP ADDR INBOUND <IP Address>


Description
This AT Command sets the Inbound IP address in index 0 to the specified value.

Syntax
Command Syntax: AT$APP ADDR INBOUND <ip address>
Command Possible Responses
AT$APP ADDR Set Inbound Addr to 10.1.2.3
INBOUND 10.1.2.3
OK

Set the Inbound Address - $APP INBOUND <ip address>:<port number>


Description
This command sets the first (i.e. index 0) Inbound IP Address and port of the LMU. That is,
the address to which the LMU will send location data.

Syntax
Command Syntax: AT$APP INBOUND <ip address>:<inbound port)
Command Possible Responses
AT$APP ADDR INBOUND
63.200.203.51:20500 OK

Command Options
Option Range Description
<ip address> 000.000.000.000 – The IP Address of the
255.255.255.255 server the LMU will
report to.
<port number> 0-65535 The UDP port number
used by the server to
receive LMU messages.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 50 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the Inbound Reporting Format - $APP INBOUND <format>


Description
This command sets the message format the LMU will use when delivering reports to the
Inbound Address.

Syntax
Command Syntax: AT$APP INBOUND <format>
Command Possible Responses
AT$APP INBOUND OK
LMD

Command Options
Option Range Description
<format> LMX LMX: Use LM eXchange
LMD message formats
LMD: Use LM Direct
message formats

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 51 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set Inbound Options - $APP INBOUND <index> <option> <value>


Description
This command sets the specified Inbound IP address and port or Inbound URL.

Syntax
Command Syntax: AT$APP INBOUND <index> <option> <value>
Command Possible Responses
AT$APP INBOUND 2 ADDR OK
63.200.203.51:20500
AT$APP INBOUND 1 URL
“inbound.vehicle-
location.com”

Command Options
Option Range Description
<index> 0 – 3 (ADDR only) The index of the
0 – 1 (URL) Inbound parameter to
be changed.
<option> ADDR ADDR – program the IP
URL address and port for
the specified index.
URL – program a URL
value for the
specified index.
<value> 000.000.000.000:000000 – Depending on the
255.255.255.255:65535 Option used, either
(ADDR Only) the Inbound IP address
and Port or a 64
character URL string.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 52 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the Current Inbound Index - $APP INBOUND INDEX <index>


Description
This command sets the active Inbound IP address, port and Inbound URL combination.

Syntax
Command Syntax: AT$APP INBOUND INDEX <index>
Command Possible Responses
AT$APP INBOUND Inbound Index 1
INDEX 1 OK

Command Options
Option Range Description
<index> 0 – 3 The index of the
Inbound Settings to be
used.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 53 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Erase/Format the Geo-Zone Memory Space - $APP GZ ERASE


Description
This command erases and formats the memory space used by the LMU to store Geo-Zone
point definitions..

Syntax
Command Syntax: AT$APP GZ ERASE
Command Possible Responses
AT$APP GZ ERASE OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 54 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Read Geo-Zone point definitions - $APP GZ READ <record index> [<number of


records>]
Description
This command reads the specified number of point definitions from the Geo-Zone memory
space. If no [<number of records>] field appears only a single point definition is returned.
Note that no more than 30 records can be displayed at one time.

Syntax
Command Syntax: AT$APP GZ READ <record index> [<number of records>]
Command Possible Responses
AT$APP GZ READ 0 GZ 0, Type=255, ID=255, Range=65535, Lat=-
10 .0000001, Lon=-.0000001
GZ 1, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
GZ 2, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
GZ 3, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
GZ 4, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
GZ 5, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
GZ 6, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
GZ 7, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
GZ 8, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
GZ 9, Type=255, ID=255, Range=65535, Lat=-
.0000001, Lon=-.0000001
OK

Command Options
Option Range Description
<record index> 0 - 5400 The record index (ie
point) to start the
read process at.
[<number of 1 - 30 The number of records
records>] to return in the read
response

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 55 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Write a Geo-Zone point definition - $APP GZ WRITE <record index> <type> <id>
<range> <latitude> <longitude>
Description
This command writes a single Geo-Zone point definition to the reference index. Note that
LMU will stop processing Points at the first all 0 entry, that is, all points should be stored
contiguously.

Syntax
Command Syntax: AT$APP GZ READ WRITE <record index> <type> <id> <range>
<latitude> <longitude>
Command Possible Responses
AT$APP GZ WRITE OK
0 1 30 500
33.118726 -
117.279618

Command Options
Option Range Description
<record index> 0 - 5400 The record index in
which to store the
Geo-Zone point.
<type> 0 - 255 This field is broken
into two parts. Bits 0
-3 define the type,
bits 4-7 define the
SuperGroup ID.
Type:
0 = reserved
1 = Point Zone
2 = Polygon Zone
3 – 15 = reserved
SuperGroup ID
0 – 3 = SuperGroup ID
4-15 = reserved
<id> 0 - 255 The Geo-Zone ID value.
<range> 0 -65535 The range/radius (in
meters) of a point
zone. This value is
not used by polygon
zones
<latitude> -90 - 90 The latitude of the
point being defined in
decimal degrees.
<longitude> -180 - 180 The longitude of the
point being defined in
decimal degrees.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 56 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Clear the Event List - $APP CLEAR EVENTS


Description
This AT Command will clear all events settings each to No Trigger, No Conditions and No
Action.

Syntax
Command Syntax: AT$APP CLEAR EVENTS
Command Possible Responses
AT$APP CLEAR OK
EVENTS

Clear the Environment Masks - $APP CLEAR EMASKS


Description
This AT Command will clear all 8 Environment Masks to 0.

Syntax
Command Syntax: AT$APP CLEAR EMASKS
Command Possible Responses
AT$APP CLEAR OK
EMASKS

Default the Modem Settings - $APP DEFAULT <modem type>


Description
This command sets the Modem Selection Register, PPP Echo Interval and Packet Dial string
based on the specified modem type.

Syntax
Command Syntax: AT$APP DEFAULT <type>
Command Possible Responses
AT$APP DEFAULT OK
CDMA

Command Options
Option Range Description
<modem type> CDMA The network type of
GENERIC the wireless device.
GSM
IDEN
TAIP

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 57 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Default All Settings - $APP DEFAULT ALL


Description
This AT Command will default all of the settings in the LMU.

Syntax
Command Syntax: AT$APP DEFAULT ALL
Command Possible Responses
AT$APP DEFAULT OK
ALL

Default Configuration Settings - $APP DEFAULT CONFIG


Description
This AT Command will default all of the configuration settings in the LMU. That is,
everything but the Events, Trigger Parameters, Environment Masks and S-Registers

Syntax
Command Syntax: AT$APP DEFAULT CONFIG
Command Possible Responses
AT$APP DEFAULT OK
CONFIG

Default Environment Masks - $APP DEFAULT EMASKS


Description
This AT Command will default all of the Environment Mask settings in the LMU.

Syntax
Command Syntax: AT$APP DEFAULT EMASKS
Command Possible Responses
AT$APP DEFAULT OK
EMASKS

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 58 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Default Event List - $APP DEFAULT EVENTS


Description
This AT Command will default the PEG Event List.

Syntax
Command Syntax: AT$APP DEFAULT EVENTS
Command Possible Responses
AT$APP DEFAULT OK
EVENTS

Default Trigger Parameters - $APP DEFAULT TPARAMS


Description
This AT Command will default all of the Trigger Parameter settings except the Environment
Masks.

Syntax
Command Syntax: AT$DEFAULT TPARAMS
Command Possible Responses
AT$APP DEFAULT OK
TPARAMS

Default S-Registers Masks - $APP DEFAULT SREGS


Description
This AT Command will default all of the S-Register settings in the LMU. Note that the unit
must be rebooted for some settings to take effect.

Syntax
Command Syntax: AT$APP DEFAULT SREGS
Command Possible Responses
AT$APP DEFAULT OK
SREGS

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 59 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set Mobile ID Type - $APP MOBID <type>


Description
This command tells the LMU what value to use for its Mobile ID.

Syntax
Command Syntax: AT$APP MOBID <type>
Command Possible Responses
AT$APP MOBID ESN OK

Command Options
Option Range Description
<Type> ESN The value to use and the
IMEI Mobile ID:
IMSI ESN = CalAmp ESN
USER IMEI = EID, IMEI, ESN of the
MIN wireless device
ADDR IMSI = The subscriber ID as
reported by the mobile device
USER = a 15 numeric.User
defined value
MIN = the phone number of the
wireless device (if available.
ADDR = the IP Address of the
wireless device

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 60 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the Value of the MIN Mobile ID Type - $APP MOBID MIN <value>
Description
This command sets the value of the MIN defined mobile ID. Note that this command does
not set the Mobile ID Type.

Syntax
Command Syntax: AT$APP MOBID USER <value>
Command Possible Responses
AT$APP MOBID MIN OK
7605551010

Command Options
Option Range Description
<Value> 0 – 999999999999999 The 15 digit User
defined Mobile ID
value. Not that this
value generally should
be set to the phone
number assigned to the
wireless modem.

Set the Value of the USER Mobile ID Type - $APP MOBID USER <value>
Description
This command sets the value of the USER defined mobile ID. Note that this command
does not set the Mobile ID Type.

Syntax
Command Syntax: AT$APP MOBID USER <value>
Command Possible Responses
AT$APP MOBID OK
USER 12345

Command Options
Option Range Description
<Value> 0 – 999999999999999 The 15 digit User
defined Mobile ID
value.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 61 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the Mobile ID Type and Value - $MOBID?


Description
This command returns the type of mobile ID being used by the LMU as well as its current
value.

Syntax
Command Syntax: AT$APP MOBID?
Command Possible Responses
AT$APP MOBID? Mobile ID: ESN 4141000100

OK

Set a Parameter Value - $APP PARAM


<ParamID>,<ParamIndex>,<Value1>,<Value2>…
Description
This command allows users to set the values of a specific parameter and index. Please refer
to the LMU Users Guide for parameter formats and definitions.

Syntax
Command Syntax: AT$APP PARAM <ParamID>,<ParamIndex>, <Value1>,<Value2>…
Command Possible Responses
AT$APP PARAM? OK
2319,0,
“lmu.vehicle-
location.com”

Command Options
Option Range Description
<ParamID> 0 – 65535 The ID value of the
parameter to be set.
<ParamIndex> 0 – 255 The index of the
parameter to be set.
<ValueN> Parameter Dependant See LMU Users Guide

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 62 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query a Parameter Value - $APP PARAM? <ParamID>,<ParamIndex>


Description
This command allows users to query a specific parameter and index for its current setting.
Please refer to the LMU Users Guide for parameter formats and definitions.

Syntax
Command Syntax: AT$APP PARAM? <ParamID>,<ParamIndex>
Command Possible Responses
AT$APP PARAM? 2319,0,”inbound.vehicle-location.com”
2319,0 OK

Command Options
Option Range Description
<ParamID> 0 – 65535 The ID value of the
parameter to be
queried.
<ParamIndex> 0 – 255 The index of the
parameter to be
queried. This value is
optional. If this
value is left off, all
indexes will be
displayed.

Begin Batch Mode Parameter Programming - $APP PARAM BEGIN


Description
This command sets the LMU into batch mode programming for parameters. Parameter
settings do not take effect until batch mode is exited.

Syntax
Command Syntax: AT$APP PARAM BEGIN
Command Possible Responses
AT$APP PARAM OK
BEGIN

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 63 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

End Batch Mode Parameter Programming - $APP PARAM END


Description
This command exits the LMU out of batch mode programming for parameters. All changed
parameter settings are applied after this command is entered.

Syntax
Command Syntax: AT$APP PARAM END
Command Possible Responses
AT$APP PARAM END OK

Set the Primary Port Password - $APP PASSWORD <ddd.ddd.ddd.ddd>


Description
This command will set the LMU password. This password is used to authenticate incoming
messages and requests.

Syntax
Command Syntax: AT$APP PASSWORD <ddd.ddd.ddd.ddd>
Command Possible Responses
AT$APP PASSWORD OK
10.20.30.40

Command Options
Option Range Description
<ddd.ddd.ddd.ddd> 000.000.000.000 – The password used
255.255.255.255 by the LMU to
authenticate
incoming requests
and messages.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 64 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set S-Register Value - $APP S<Reg>=<value>


Description
This command will set the current value of the specified S-Register. Please refer to the LMU
Users Guide for a list of S-Registers and their available settings.

Syntax
Command Syntax: AT$APP S<REG>=<VALUE>
Command Possible Responses
AT$APP S120=11 OK

Command Options
Option Range Description
<REG> 120-175 The S-Register to be
set.
<VALUE> 0-255 The value of the S-
Register

Query S-Register Value - $APP S<Reg>?


Description
This command will query the current value of the specified S-Register. Please refer to the
LMU Users Guide for a list of S-Registers and their available settings.

Syntax
Command Syntax: AT$APP S<REG>?
Command Possible Responses
AT$APP S120? 11
OK

Command Options
Option Range Description
<REG> 120-175 The S-Register to be
query.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 65 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

MDT Quick Setup Command - $APP SERIAL <device>


Description
This command configures the LMU for MDT mode with specific serial port and message
settings.

Syntax
Command Syntax: AT$APP SERIAL <device>
Command Possible Responses
AT$APP SERIAL OK
MAGTEK

Command Options
Option Range Description
<device> MAGTEK The device type and
PVEND settings to be used in
HEAT GSD mode.
P201 MAGTEK:
BAUD 9600
Data Bits 8
Parity none
Stop Bits 1
PVEND:
BAUD 2400
Data bits 7
Parity Even
Stop Bits 1
HEAT: (SLIP)
BAUD 19200
Data bits 8
Parity none
Stop Bits 1
P201:
BAUD 9600
Data bits 8
Parity None
Stop Bits 1

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 66 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Configure the Unit for TAIP RADIO Mode - $APP TAIP RADIO
Description
This AT Command will configure the LMU so it sends a TAIP message out the modem
port. Note that messages are sent either via the SEND TAIP PEG action or based on the
active Time-Distance profile if TAIP Event Reporting is enabled. The following settings are
applied:

Set S120 to 8
Set TAIP message type to PV
Set TAIP Remote Address to 1.1.1.1
Enable <CR><LF>
Enable CheckSum
Enable Non-Volatile Reporting
Enable TAIP Event Code Reporting
Enable TAIP Input State Reporting
Enable TAIP Accumulator Value Reporting

NOTE: The LMU must be RESET for these settings to take effect.

Syntax
Command Syntax: AT$APP TAIP RADIO
Command Possible Responses
AT$APP TAIP OK
RADIO

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 67 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the Local Time Daylight Savings - $APP TIME DAYLIGHT <state>
Description
This command tells the LMU if it should perform a daylight savings time calculation when
determining the local time.

Syntax
Command Syntax: AT$APP TIME DAYLIGHT <state>
Command Possible Responses
AT$APP TIME OK
DAYLIGHT 1

Command Options
Option Range Description
<state> 0 = Calculation Disabled Whether or not to
1 = Calculation Enabled perform the daylight
savings calculation
when determining local
time.

Set the Local Time Offset of the LMU - $APP TIME OFFSET <offset>
Description
This command sets local time offset from GMT the LMU will use for local time
calculations.

Syntax
Command Syntax: AT$APP TIME OFFSET <offset>
Command Possible Responses
AT$APP TIME OK
OFFSET -8

Command Options
Option Range Description
<Offset> -12 – 12 The local time offset
measure in hours from
GMT.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 68 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Unit Control Commands – PEG


Override the GPS Position Reading - $APP GPS POS <latitude> <longitude>
Description
This command overrides the current position value reported by the GPS receiver. This
command will affect all position based triggers such as PEG Zones. This value is volatile so
it is lost on a power cycle.

Syntax
Command Syntax: AT$APP GPS POS <latitude> <longitude>
Command Possible Responses
AT$APP GPS POS OK
33.118726 -
117.279618

Command Options
Option Range Description
<latitude> -90.0000000 – 90.0000000 The latitude value
used by the LMU set in
decimal degrees.
<longitude> -180.0000000 – The longitude value
180.0000000 used by the LMU set in
decimal degrees

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 69 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Override the GPS Speed Reading - $APP GPS SPEED <speed>


Description
This command overrides the current speed value reported by the GPS receiver. Unlike the
$APP PEG SPEED command, this one will affect the Moving/Not Moving status if the
LMU along with the Speed Above and Below triggers. Again this value is volatile so it is lost
on a power cycle.

Syntax
Command Syntax: AT$APP GPS SPEED <speed>
Command Possible Responses
AT$APP GPS SPEED OK
75

Command Options
Option Range Description
<speed> 0-255 The speed used by the
LMU set in MPH.

Simulate a Speed Threshold Crossing (Above or Below) - $APP PEG SPEED <speed>
Description
This command forces the LMU to ignore the GPS speed in relation to Speed Above or
Speed Below triggers. The <speed> value will be used instead. Keep in mind that this value
is volatile and will be lost on the next power cycle.

Syntax
Command Syntax: AT$APP PEG SPEED <speed>
Command Possible Responses
AT$APP PEG SPEED OK
75

Command Options
Option Range Description
<speed> 0-255 The speed to be used
in the Speed
Above/Below detection
logic. The value is in
MPH.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 70 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the Active Comm Index and Inbound Address - $APP PEG COMMSEL <param>
Description
This command sets the active Comm Index and Inbound settings of the LMU™.

Syntax
Command Syntax: AT$APP PEG COMMSEL <index>
Command Possible Responses
AT$APP PEG
COMMSEL 0 OK

Command Options
Option Range Description
<param> 0 -255 This value is broken
into an upper nibble
and lower nibble. The
lower nibble (4 bits)
defines the Inbound
Index, the upper
nibble defines the
Comm Index.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 71 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force the Unit to Send in an Event Report - $APP PEG SNDRPT <event code>
Description
This command forces the LMU to attempt to send in an Event Report. If the send attempt
fails, the message is logged. If Comm is not available, or the log is already active, the message
will be logged immediately. Note that the Event Index for this event report will be 255.

Syntax
Command Syntax: AT$APP PEG SNDRPT <event code>
Command Possible Responses
AT$APP PEG OK
SNDRPT 234

Command Options
Option Range Description
<event code> 0-255 The event code to be
reported in the Event
Report

Force the Unit to Send in an Event Report - $APP PEG SNFRPT <event code>
Description
This command forces the LMU to attempt to send in an Event Report. If the send attempt
fails, the message is logged. If Comm is not available, or the log is already active, the message
will be logged immediately. Note that the Event Index for this event report will be 255.

Syntax
Command Syntax: AT$APP PEG SNFRPT <event code>
Command Possible Responses
AT$APP PEG OK
SNFRPT 234

Command Options
Option Range Description
<event code> 0-255 The event code to be
reported in the Event
Report.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 72 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force the Unit to Log an Event Report - $APP PEG LOGRPT <event code>
Description
This command forces the LMU to log an Event Report. Note that the Event Index for this
event report will be 255.

Syntax
Command Syntax: AT$APP PEG LOGRPT <event code>
Command Possible Responses
AT$APP PEG OK
LOGRPT 234

Command Options
Option Range Description
<event code> 0-255 The event code to be
reported in the Event
Report.

Force the Unit to Send in an Unacknowledged Event Report - $APP PEG SUNRPT
<event code>
Description
This command forces the LMU to attempt to send in an unacknowledged Event Report. If
the send attempt fails, the message is lost. Note that the Event Index for this event report
will be 255.

Syntax
Command Syntax: AT$APP PEG SUNRPT <event code>
Command Possible Responses
AT$APP PEG OK
SUNRPT 234

Command Options
Option Range Description
<event code> 0-255 The event code to be
reported in the Event
Report.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 73 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force the Unit to Send in an Alert Report - $APP PEG SNDALRT <event code>
Description
This command forces the LMU to attempt to send in a PEG Alert Report. This command
will produce three messages: One Unacknowledged Event Report, one Acknowledged Event
Report and one SMS Event Report.

Syntax
Command Syntax: AT$APP PEG SNDALRT <event code>
Command Possible Responses
AT$APP PEG OK
SNDALRT 241

Command Options
Option Range Description
<event code> 0-255 The event code to be
reported in the Event
Report.

Force the Unit to Send a User Message - $APP MSG <byte> <disposition>
Description
This command forces the LMU to attempt to send in a User message containing a single
byte of data using the specified message disposition. The message type of will always be 2.

Syntax
Command Syntax: AT$APP MSG <byte> <disposition>
Command Possible Responses
AT$APP MSG 53 2 OK

Command Options
Option Range Description
<byte> 0-255 The single byte
contents of the user
message
<disposition> 0 – Send The inbound
1 – Send / Log disposition of the
2 – Log user message.
3 - Priority

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 74 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force the Unit to Send in an ID Report - $APP PEG SNDID <source port>
Description
This command forces the LMU to attempt to send in an ID Report. If the send attempt
fails, the message is lost.

Syntax
Command Syntax: AT$APP PEG SNDID <source port>
Command Possible Responses
AT$APP PEG SNDID OK
0

Command Options
Option Range Description
<source port> 0-255 128 = Send thru
Inbound Port to the
Maintenance Address
129 = Send thru the
interface selected by
the Maint Config to
the Maintenance
Address
130 = Send thru the LM
Direct port to the
Maintenance Address
131 = Send thru the
LMX port to the
Maintenance Address
132 = Send thru the LM
Direct port to the
Maintenance Address on
the LM Direct Port
number
133 = Send thru the
LMX Port to the
Maintenance address on
the LMX Port
140=Send Log version
report to Inbound
Server
141=Send unACK version
report to Maint Server
Default = Send thru
the Inbound port to
the Inbound Address

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 75 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force the Unit to Send in an ID Report to a Specific Address and Port - $APP
SENDTO <IP Address>:<Port> <Format>
Description
This command forces the LMU to attempt to send in an ID Report to the specified IP
address and port using the specified format. If the send attempt fails, the message is lost.

Syntax
Command Syntax: AT$APP SENDTO <IP Address>:<Port> <Format>
Command Possible Responses
AT$APP SENDTO OK
63.200.203.51:20500
LMD

Command Options
Option Range Description
<IP Address> 000.000.000.000 – The IP address to send
255.255.255.255 the ID report to.
<port> 0-65535 The destination port
to send the ID report
to.
<format> LMX – send from port The format and source
20200 to an LM eXchange port for the ID
service message.
LMD – send from port
20510 to an LM Direct
server
LMSTAT – send an ACK
message from port 20400,
to an LM Stat server
TAIP – send a PV Report
from the TAIP Port to a
TAIP server

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 76 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force the Unit to Send in an SMS Event Report - $APP PEG SNDSMS <event code>
Description
This command forces the LMU to attempt to send in an Event Report via SMS to the SMS
Inbound Address. If the send attempt fails, the message is lost. Note that the Event Index
for this event report will be 255.

Syntax
Command Syntax: AT$APP PEG SNDSMS <event code>
Command Possible Responses
AT$APP PEG OK
SNDSMS 234

Command Options
Option Range Description
<event code> 0-255 The event code to be
reported in the Event
Report.

Force the LMU to Send a Text Message via SMS - $APP SMS <destination>
“<message>”
Description
This command forces the LMU (CDMA or GPRS only) to send an SMS message to the
specified phone number.

Syntax
Command Syntax: AT$APP SMS <destination> “<message>”
Command Possible Responses
AT$APP SMS OK
7605551000
“Hello world”

Command Options
Option Range Description
<destination> 0000000000-9999999999 The 10 digit phone
number you wish to
send an SMS message
to.
<message> 64 characters This may be a text
message up to 64
characters in length.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 77 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force the Unit to Send in TAIP Formatted Event Report - $APP PEG SNDTAIP <event
code>
Description
This command forces the LMU to attempt to send in an unacknowledged TAIP formatted
Event Report. If the send attempt fails, the message is lost. Note that the TAIP formatting
and destination are define in the using the TAIP parameters.

Syntax
Command Syntax: AT$APP PEG SNDTAIP <event code>
Command Possible Responses
AT$APP PEG OK
SNDTAIP 234

Command Options
Option Range Description
<event code> 0-255 The event code to be
reported in the TAIP
Report.

Force the Unit to Sleep - $APP PEG SLEEP <timer index>


Description
This command forces the LMU to go to sleep. The sleep duration is defined by the timer
reference by the index value (e.g., timer 1(index) is set to 30(duration)).

Syntax
Command Syntax: AT$APP PEG SLEEP <timer index>
Command Possible Responses
AT$APP PEG SLEEP OK
1

Command Options
Option Range Description
<timer index> 0-15 The index value of a
timer that defines the
sleep duration.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 78 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Control an Output - $APP OUTPUT <output> <state>


Description
This command allows users to Set, Clear or Pulse the specified output.

Syntax
Command Syntax: AT$APP OUTPUT <output> <state>
Command Possible Responses
AT$APP OUTPUT 4 OK
ON

Command Options
Option Range Description
<output> 0-5 The output to control.
<state> ON – Set the output
OFF – Clear the output
PULSE – Pulse the output
for 1 sec

Query PEG State Variable - $APP STATE?


Description
This command will display the current value of the PEG State variable.

Syntax
Command Syntax: AT$APP STATE?
Command Possible Responses
AT$APP STATE? State: 0

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 79 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force a PEG Action - $APP PEG ACTION <action index> <action parameter>
Description
This command will force the LMU to perform the requested PEG Action

Syntax
Command Syntax: AT$APP PEG ACTION <action index> <action parameter>
Command Possible Responses
AT$APP PEG OK
ACTION 13 0

Command Options
Option Range Description
<action index> 0-90 The index of the
desired PEG Action.
See PEG Programming
Guide
<action 0-255 The action parameter
parameter> for the requested
action

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 80 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Unit Control Commands – Log


WARNING: Log Commands can have serious effects on the performance and operation of
an LMU. DO NOT use them unless specifically directed to by CalAmp Support personnel.

Clear the Log - $APP CLEAR LOG


Description
This command erases the log memory completely.

Syntax
Command Syntax: AT$APP CLEAR LOG
Command Possible Responses
AT$APP CLEAR LOG OK

Clear the Log - $APP LOG CLEAR


Description
This command erases the log memory completely.

Syntax
Command Syntax: AT$APP LOG CLEAR
Command Possible Responses
AT$APP LOG CLEAR OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 81 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Enable/Disable Log Debug Messaging - $APP LOG DEBUG <state>


Description
This command turns log debug messaging on or off. Like all debug commands, the LMU
must have general debug turned on in order to see any messages.

Syntax
Command Syntax: AT$APP LOG DEBUG <state>
Command Possible Responses
AT$APP LOG DEBUG OK
1

Command Options
Option Range Description
<State> 0- Disable Log Debug Enable or disable the
Messages log debug messaging.
1-10 – Enable Log Debug
Messages
the value indicates the
priority level of the
messages 1 = high
priority, 10 = low

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 82 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Fill the Log - $APP LOG FILL <event Code> <record count>
Description
This command fills the log with the specified number of records at the rate of 10 per
second. The log mode is set to be Store and Forward (SNF)

Syntax
Command Syntax: AT$APP LOG FILL <event-Code> <record-count>
Command Possible Responses
AT$APP LOG FILL OK
255 10

Command Options
Option Range Description
<event-code> 0 – 255 Optional.
The event code to use
with each logged
report.
<record-count> 0-12000 The number of records
to put into the log.

Quick Fill the Log - $APP LOG QFILL <record count>


Description
This command fills the log with the specified number of records as fast as possible. The Log
mode is set to be Batch.

Syntax
Command Syntax: AT$APP LOG QFILL <record-count>
Command Possible Responses
AT$APP LOG QFILL OK
10

Command Options
Option Range Description
<record-count> 0-12000 The number of records
to put into the log

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 83 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the Organization of the Log Memory - $APP LOGMEM?


Description
This command shows the log memory organization.

Syntax
Command Syntax: AT$APP LOGMEM?
Command Possible Responses
AT$APP LOGMEM? Flash Type : 0x88c3
Manufacturer Id : 0x89
Base_Address : 0x60000000
Total_Space : 0x200000
LogSpace : 0x80000
First_Address : 0x60180000
Last_Address : 0x601ffffe
First_Sector : 31
Last_Sector : 38
LogSectors : 8
OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 84 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the Size and Organization of the Log Memory - $APP LOGMEM SIZE?
Description
This command shows the log memory organization. It prints the number of memory blocks
and the size of each block in octets.

Syntax
Command Syntax: AT$APP LOGMEM SIZE?
Command Possible Responses
AT$APP LOGMEM 8 Blocks
SIZE?
Block 0, Size 65536
Block 1, Size 65536
Block 2, Size 65536
Block 3, Size 65536
Block 4, Size 65536
Block 5, Size 65536
Block 6, Size 65536
Block 7, Size 65536

OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 85 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Read Part of the Log Memory Space - $APP LOGMEM READ <block> <starting offset>
<octets>
Description
This command dumps the contents of the log memory starting at given block number and
given offset. It displays the number of octets passed in the <octets> parameter.

Syntax
Command Syntax: AT$APP LOGMEM READ <block> <starting offset> <octets>?
Command Possible Responses
AT$APP LOGMEM LOGMEM DATA at page 0 offset 0x0000 length
READ 0 0 128 128:
00 00 00 00 FF FC FF E8 00 2C FF FF 00 12 79
4C 00 00 00 3C
00 00 00 00 00 00 00 00 00 00 00 60 00 00 00
00 80 00 00 00
00 04 00 00 00 00 00 00 0F 02 00 00 01 01 00
00 FF E8 00 2C
FF FF 00 12 79 4C 00 00 00 78 00 00 00 00 00
00 00 00 00 00
00 70 00 00 00 00 80 00 00 00 00 04 00 00 00
00 00 00 0F 02
00 00 01 01 00 00 FF E8 00 2C FF FF 00 12 79
4C 00 00 00 B4
00 00 00 00 00 00 00 00
OK

Command Options
Option Range Description
<block> 0-7 The memory block to
read data from.
<starting 0-65535 The byte to start
offset> reading data from
within the specified
block.
<octet> 0-(65535-<Starting The amount of data (in
Offset>) bytes) to read.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 86 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Write Data to Part of the Log Memory Space - $APP LOGMEM WRITE <block>
<starting offset> <data>,<data>,<data>,. . .
Description
This command write the data passed to the given block number starting at the given offset.
Data is in decimal format, and can be between 0 and 255 (octet). A maximum of 64 bytes
can be written at one time.

Syntax
Command Syntax: AT$APP LOGMEM WRITE <block> <starting offset>
<data>,<data>,<data>,<data>,. . .
Command Possible Responses
AT$APP LOGMEM WRITE 0 0 LOGMEM WRITE at page 0 offset
255,255,255,255,255,255 0x0000 length 6.
OK

Command Options
Option Range Description
<block> 0-7 The memory block to
read data from.
<starting 0-65535 The byte to start
offset> reading data from
within the specified
block.
<data> 0-255 The data to write into
the log space.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 87 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Erase Part of the Log Memory Space - $APP LOGMEM ERASE<page_number>


Description
This command erases the given page number or the entire log memory if “ALL” is specified.
Erasing memory sets all memory locations to 0xFF value.

Syntax
Command Syntax: AT$APP LOGMEM ERASE <page_number>
Command Possible Responses
AT$APP LOGMEM OK
ERASE ALL

Command Options
Option Range Description
<page_number> 0-7 or ALL The page of memory to
erase.

Clear the Log - $APP LOGMGR CLEAR


Description
This command erases the log memory completely.

Syntax
Command Syntax: AT$APP LOGMGR CLEAR
Command Possible Responses
AT$APP LOGMGR OK
CLEAR

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 88 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Get Data from the Next Log Record - $APP LOGMGR GETREC <record-state>.
Description
This command retrieves the next record from the log. If the last parameter is 0, the retrieved
record is not removed from the log. If a 1 is passed, the record is removed. This parameter is
ignored if this command is used after a “STARTREPORT” command. Error will be
returned if the next log record is > 64 octets or if no records are in the log.

Syntax
Command Syntax: AT$APP LOGMGR GETREC <record-state>
Command Possible Responses
AT$APP LOGMGR GET RECORD:
GETREC 0 00 12 79 00 40 18 41 4F 13 B2 9B 9E BA 18 E7
57 8B 00 0F 06
00 00 00 00 84 00 50 49 00 04 00 00 00 00 00
00 0C 03 00 00
FF 01 00 00
OK
ERROR

Command Options
Option Range Description
<record-state> 0 = Save Record The state of the
1 = Erase Record record after it is
read.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 89 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Initialize the Log Manager - $APP LOGMGR INIT


Description
This command forces the Log Manager to reinitialize itself. This is the same operation that
the Log Manager performs on a cold boot. If RAM based log memory is being used, this will
cause all data to be lost. On a FLASH based system, the Log Manager will go through all
blocks. And initialize its internal housekeeping structures to point to the next record to read,
and to the location to write the next record.

Syntax
Command Syntax: AT$APP LOGMGR INIT
Command Possible Responses
AT$APP LOGMGR OK
INIT

Put Data into the Next Log Record - $APP LOGMGR PUTREC <data>,<data><data>,. .
.
Description
This command stores the data given as the next log record.

Syntax
Command Syntax: AT$APP LOGMGR PUTREC <data>,<data>,<data> , . . .
Command Possible Responses
AT$APP LOGMGR OK
PUTREC
255,255,255

Command Options
Option Range Description
<data> 0-255 The data to write into
the memory record.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 90 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Display the Detailed Log Status - $APP LOGMGR STATUS?


Description
This command prints the current status of the log:

StructAddr : Address of this structure in memory.


MemoryAddr : Address of first log memory block.
Status: Log Status.
Flags: Bit 0 indicated mode (1= batch, 0=store-and-forward).
Free: Free log memory (in octets).
Num Blocks: Number of blocks.
Block Size: Size of each block (in octets).
Unread Records: Number of log records not read.
Max Report Length: The maximum length of a report (set during initialization).
Next Sequence: Sequence number to be assigned to the next block.
Read Block: Block number for next record to read.
Read Offset: Offset in the block.
Write Block: Block number for next record to write.
Write Offset: Offset in the block.

Syntax
Command Syntax: AT$APP LOGMGR STATUS?
Command Possible Responses
AT$APP LOGMGR StructAddr : 0x00012a0c
Status? MemoryAddr : 0x01080000
Status : OK
Free : 468950
Num Blocks : 11
Total Log : 524200
Unread Records : 0
Max Report Length : 912
Next Sequence : 1
Read Block : 0
Read Offset : 55258
Write Block : 0
Write Offset : 55258
OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 91 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Unit Control Commands – Other


Set the State of the Wireless Device - $APP COMM <state> <debug level>
Description
This command allows users to control the power state and connection state of the wireless
modem in the LMU. If a Debug state is used, then the Debug Level setting will apply.
Remember that debug messages only appear if Debug is on.

Syntax
Command Syntax: AT$APP COMM <state> <debug level>
Command Possible Responses
AT$APP COMM ON OK

Command Options
Option Range Description
<state> ON – turn the modem on The state of the
(Reset if already on) wireless modem.
OFF – turn the modem off
CONNECT – Force the
modem to connect to the
network. (reconnect if
already connected)
DISCONNECT – force the
modem to hang up from
the network.
DEBUG – enable debug
messages from the
wireless modem
<debug level> 0-255 This sets the COMM
debug message
priority, the higher
the priority the more
messages that appear.
Note that higher
priorities also slow
the unit down.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 92 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the Comm Debug Level - $APP COMM DEBUG?


Description
This command queries the current Comm debug level being used by the LMU.

Syntax
Command Syntax: AT$APP COMM DEBUG?
Command Possible Responses
AT$APP COMM Comm Debug Level = 1
DEBUG? OK

Enable/Disable Debug Output - $APP DEBUG <state>


Description
This command causes the LMU to display debug information based on the various debug
levels..

Syntax
Command Syntax: AT$APP DEBUG <state>
Command Possible Responses
AT$APP DEBUG ON OK
… Debug data…

Command Options
Option Range Description
<state> ON Enables or
disables the debug
OFF output.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 93 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Query the Debug Output State - $APP DEBUG?


Description
This command queries the LMU to its current debug state, On (display debug messages) or
Off (suppress debug messages).

Syntax
Command Syntax: AT$APP DEBUG?
Command Possible Responses
AT$APP DEBUG? DEBUG OFF
OK

Power the GPS Receiver On or Off - $APP GPS <state>


Description
This command allows users to control the power state of the GPS receiver.

Syntax
Command Syntax: AT$APP GPS <state>
Command Possible Responses
AT$APP GPS ON OK

Command Options
Option Range Description
<state> ON Enables or disables
OFF the GPS receiver.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 94 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the GPS Debug Level - $APP GPS DEBUG <debug options>
Description
This command allows users to specify what GPS debug items will be displayed. Remember,
debug must be on for any GPS debug information to be visible.

Syntax
Command Syntax: AT$APP GPS DEBUG <debug options>
Command Possible Responses
AT$APP GPS DEBUG OK
1

Command Options
Option Range Description
<debug Bit 0: Enables (1) / This 16 bit value
options> disables (0) GPS status represents the debug
with odometer function level of the GPS
BIT 1: Enables (1) / receiver.
disables (0) GPS
position updates
Bit 2: Enables (1) /
disables (0) GPS debug
Bit 3: Enables (1) /
disables (0) the routing
of the serial port
handler debug out the
GPS port

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 95 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Reset the GPS Receiver - $APP GPS RESET <flags> <reset type>
Description
This command will issue a UBX Configuration Reset command to the GPS receiver. If no
parameters are provided (i.e. <flags> and <reset type> fields are null) then a full GPS Reset
command is issued.

Syntax
Command Syntax: AT$APP GPS RESET <flags> <reset type>
Command Possible Responses
AT$APP GPS RESET OK

Command Options
Option Range Description
<flags> <TBD> Select which GPS sub-
systems are to be
cleared.
<reset type> <TBD> Indicates the type of
reset to be performed
(hardware/software/etc…)

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 96 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Restart the GPS Receiver - $APP GPS RESTART

Description
This command will issue a software reset command to the LMU’s GPS receiver.

Syntax
Command Syntax: AT$APP GPS RESTART
Command Possible Responses
AT$APP GPS OK
RESTART

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 97 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the IP Debug Level - $APP IP DEBUG <debug level>


Description
This command sets the current IP debug level used by the unit. Note that debug information
is only displayed if debug is on.

Syntax
Command Syntax: AT$APP IP DEBUG <debug level>
Command Possible Responses
AT$APP IP DEBUG OK
1

Command Options
Option Range Description
<debug level> 0 – Off Enable/Disable IP
1 – Minimal IP Debug debug messages.
messages
2 – Maximum IP debug
messaging

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 98 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Enable/Disable KMIP Polling (Kyocera CDMA LMU Only) - $APP KMIP <enable>
Description
This command enables or disables the KMIP polling done by the LMU to the Kyocera
Wireless M200 module.

Syntax
Command Syntax: AT$APP KMIP <enable>
Command Possible Responses
AT$APP KMIP OK
DISABLE

Command Options
Option Range Description
<enable> ENABLE Enable/Disable KMIP
DISABLE messages

Send a KMIP Command (CDMA LMU Only) - $APP KMIP POLL


Description
This command issues a KMIP status request to the Kyocera Wireless M200 module.
Note that KMIP must be enabled for this command to work.

Syntax
Command Syntax: AT$APP KMIP POLL
Command Possible Responses
AT$APP KMIP POLL OK

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 99 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the KMIP Network Version (CDMA LMU Only) - $APP KMIP PREV <service>
Description
This command allows users to change the network version seen by the Kyocera Wireless
M200 module. This value is volatile and is lost on a power cycle.

Syntax
Command Syntax: AT$APP KMIP PREV <service>
Command Possible Responses
AT$APP KMIP PREV OK
2

Command Options
Option Range Description
<Service> 0: Unrecognized/non-CDMA The network service
1: IS-95/J-STD-008 type.
2: IS-95-A
3: IS-95-A + TSB74
4: TIA/EIA-95-B Phase 1
5: TIA/EIA-95-B Phase 2
6: IS-2000 (Release 0)
7: IS-2000-A (Release A)

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 100 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force the LMU to Send a Ping - $APP PING <IP Address>


Description
This command sets forces the LMU to issue a Ping to the IP address specified

Syntax
Command Syntax: AT$APP PING <IP Address>
Command Possible Responses
AT$APP PING PING: 10.1.2.3 Len=32
63.200.203.51
OK

PING: SUCCESS
PING: 10.1.2.3 Len=32

OK

PING: FAIL

Command Options
Option Range Description
<IP address> 000.000.000.000 – The IP Address to
255.255.255.255 ping.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 101 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Set the PPP Debug Level - $APP PPP DEBUG <debug level>
Description
This command sets the current PPP debug level used by the unit. Note that debug
information is only displayed if debug is on.

Syntax
Command Syntax: AT$APP PPP DEBUG <debug level>
Command Possible Responses
AT$APP PPP DEBUG OK
1

Command Options
Option Range Description
<debug level> 0-7 This sets the PPP
debug message
priority. The higher
the priority the more
messages that appear.
Note that higher
priorities also slow
the unit down.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 102 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Force a Soft-Reset of the Unit - $APP QUIT


Description
This command forces the LMU to reset but it will first perform a clean shutdown of the
GPS receiver and wireless device.

Syntax
Command Syntax: AT$APP QUIT
Command Possible Responses
AT$APP QUIT OK

Force a Soft-Reset of the Unit - $APP REBOOT


Description
This command forces the LMU to reset but it will first perform a clean shutdown of the
GPS receiver and wireless device.

Syntax
Command Syntax: AT$APP REBOOT
Command Possible Responses
AT$APP REBOOT OK

Perform a Hard Reset of the Unit - RESET


Description
This command forces the LMU to reset without a clean shutdown of the GPS receiver and
wireless device. It simulates a Cold Boot/Power UP situation.

Syntax
Command Syntax: AT RESET
Command Possible Responses
AT RESET <CR><LF>

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 103 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Begin Local Firmware Download - DNLD


Description
This command forces the LMU into firmware download mode.

Syntax
Command Syntax: AT DNLD
Command Possible Responses
AT DNLD Ready forWaiting for the file to be sent ...
(press 'a' to abort)

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 104 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Enter Modem Passthru Mode - PASSTHRU <baud rate> <UART>


Description
Passthru mode allows users to talk directly to the wireless modem/device. While in this
mode PEG Event processing is suspended. To exit the character sequence of CTRL ^C is
used.

Syntax
Command Syntax: AT PASSTHRU <baud rate> <UART>
Command Possible Responses
AT PASSTHRU OK

Command Options
Option Range Description
<baud rate> 4800 Optionally, the Baud
9600 Rate used to
19200 communicate between
38400 the LMU and Wireless
57600 device. Note that this
115200 baud rate be different
that the one used
between LMU and Host
device.
<UART> 1 – Modem UART 1 The modem UART to
2 – Modem UART 2 passthru to.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 105 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Enter GPS Passthru Mode – #GPSPASS <baud rate>


Description
Passthru mode allows users to talk directly to the GPS receiver. While in this mode PEG
Event processing is suspended. To exit the LMU must be power cycled.

Syntax
Command Syntax: AT#GPSPASS <mode>
Command Possible Responses
AT#GPSPASS 57600 OK
<GPS Data from Recevier>

Command Options
Option Range Description
<mode> 1 Used to control how
GPS Passthru mode can
be exited. If the mode
value is set to 1,
then the LMU must be
power cycled to exit.
If this field is left
blank, then Ctrl^C can
be used.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 106 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Enter Reprog Mode - #REPROG <baud rate> <serial port>


Description
REPROG mode allows users to talk directly to the wireless modem or GPS receiver. Note
that unlike the PASSTHRU command, there is no escape sequence. This means that
programs such as modem firmware update utilities or diagnostic utilities may be used
without fear of accidental interruptions. The LMU must be power cycled to exit REPROG
mode.

Syntax
Command Syntax: AT #REPROG <baud rate> <serial port>
Command Possible Responses
AT#REPROG OK

Command Options
Option Range Description
<baud rate> 4800 Optionally, the Baud
9600 Rate used to
19200 communicate between
38400 the LMU and Wireless
57600 device. Note that this
115200 baud rate be different
that the one used
between LMU and Host
device.
<serial port> 1 – Connect to UART 1 of Optionally which modem
the wireless modem serial port you wish
2 – Connect to UART 2 of to talk to. Note that
the wireless modem a BAUD RATE must be
3 – GPS Port specified is a Serial
Port is to be
specified.

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp - 107 - CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

Appendix A – AT Command Compatibility Chart


The following table indicates what AT Commands are supported by each of the LMU product types. An X or firmware revision indicates
that the command is supported. A blank indicates the command is not supported

AT Command MTU- LMU- LMU- LMU LMU LMU LMU LMU- LMU- LMU-
100 700 900 -1000 -11xx -1200 -2500 2600 4100 4200
RMU-
900
AT$APP ESN? X X
AT$APP VER? X X X X X X
ATI0 X X 1.4b X X X X
ATI1 X X 1.4b X X X X
ATI2 X X 1.4b X X X X
ATI3 X X 1.4b X X X X
ATI4 X X X X X X
ATI5 X X X X X X
ATIJ 1.1l 1.1l
AT$APP UNIT? X X
AT$APP ACC? X X X X X X
AT$APP ADC? X X 1.4b X X X X
AT$APP ADDR? X X
AT$APP FLAGS? X X X X X X
AT$APP TIMERS? X X X X X X
AT$APP INPUT? X X 1.4b X X 1.0h X
AT$APP OUTPUT? X X X X 1.0h X
AT$APP COMM? X X X X X X
AT$APP COMM CONNECT? X X X X X X
AT$APP COMM STATUS? X X 1.4b X X X X

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -1- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

AT Command MTU- LMU- LMU- LMU LMU LMU LMU LMU- LMU- LMU-
100 700 900 -1000 -11xx -1200 -2500 2600 4100 4200
RMU-
900
ATIC X X X X 1.0e X
AT$APP GPS? X X X X X X
AT$APP TIME? X X X X X X
AT$APP GPS STATUS? X X 1.4b X X X X
ATIG X X X X 1.0e X
AT$APP BT? X
AT$APP LOG? X X X X X X
AT$APP LOG SNF X X X X X X
AT$APP LOG BATCH X X X X X X
AT$APP LOG STATUS? X X 1.4b X X X X
AT$APP ZONES? 1.1c 1.1c 1.1c 1.1c 1.0h
ATD<service><Dial-String> X
ATE1 X X X X X X
ATE0 X X X X X X
ATL<n> X X X X X X
ATM<n> X X X X X X
ATQ1 X X X X X X
ATQ0 X X X X X X
ATX<n> X X X X X X
ATV1 X X X X X X
ATV0 X X X X X X
ATZ X X X X X X
AT&C<n> X X
AT&D<n> X X
AT+IPR? X X

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -2- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

AT Command MTU- LMU- LMU- LMU LMU LMU LMU LMU- LMU- LMU-
100 700 900 -1000 -11xx -1200 -2500 2600 4100 4200
RMU-
900
AT+IPR=<baud-rate> X X
AT+IPR=? X X
+++ X
AT$APP COMM INDEX? X X
AT$APP COMM INDEX <index> X X
AT$APP DIAL? X X
AT$APP DIAL <index> <dial-string> X X
AT$APP DNS? X X
AT$APP DNS INBOUND X X
AT$APP DNS MAINT X X
AT$APP DNS SERVER <IP address> X X
AT$APP DNS <url> X X
AT$APP GPRS CONTEXT? X X
AT$APP GPRS CONTEXT <index> “<APN>” X X
AT$APP GPRS CONTEXT INDEX? X X
AT$APP GPRS CONTEXT INDEX <index> X X
AT$APP PIN? X X
AT$APP PIN <pin> X X
AT$APP MODEM MIN <MDN> <SPC>
X
<MSID>
AT$APP MODEM MIN? X
AT$APP MODEM UPDATE X
AT$APP MODEM IOTA X
AT$APP PPP? X X
AT$APP PPP <index> USER “<username>” X X
AT$APP PPP <index> PASSWORD X X

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -3- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

AT Command MTU- LMU- LMU- LMU LMU LMU LMU LMU- LMU- LMU-
100 700 900 -1000 -11xx -1200 -2500 2600 4100 4200
RMU-
900
“<password>”
AT$APP MODEM CMD <command> X
AT$PW “<password>” X X X X X X
AT$APP ACC SET <acc> <value> X X X X X X
AT$APP ADDR <IP address> X
AT$APP INBOUND? X X X X X X
AT$APP ADDR INBOUND <IP Address> X X
AT$APP INBOUND <IP Address>:<Port> X X X X X X
AT$APP INBOUND <format> X
AT$APP INBOUND <index> <option>
X X
<value>
AT$APP INBOUND INDEX <index> X X
AT$APP GZ ERASE X
AT$APP GZ READ <record index> <num
X
records>
AT$APP GZ WRITE <record index> <type>
X
<id> <range> <latitude> <longitude>
AT$APP CLEAR EVENTS X X X X X X
AT$APP CLEAR EMASKS X X
AT$APP DEFAULT <modem type> X X
AT$APP DEFAULT ALL X X X X X X
AT$APP DEFAULT CONFIG X X X X X X
AT$APP DEFAULT EMASKS X X
AT$APP DEFAULT EVENTS X X X X X X
AT$APP DEFAULT TPARAMS X X X X X X
AT$APP DEFAULT SREGS X X X X X X

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -4- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

AT Command MTU- LMU- LMU- LMU LMU LMU LMU LMU- LMU- LMU-
100 700 900 -1000 -11xx -1200 -2500 2600 4100 4200
RMU-
900
AT$APP MOBID <type> X X X X X X
AT$APP MOBID MIN <phone number> X X X X X X
AT$APP MOBID USER <mobile id> X X X X X X
AT$APP MOBID? X X X X X X
AT$APP PARAM <paramID>,<param
X X 1.4b X X X X
index>,<value 1>,<value 2>,…
AT$APP PARAM? <paramID>,<param index> X X 1.4b X X X X
AT$APP PARAM BEGIN X X 1.4b X X X X
AT$APP PARAM END X X 1.4b X X X X
AT$APP PASSWORD <ddd.ddd.ddd.ddd> X
AT$APP S<reg>=<value> X X X X X X
AT$APP S<reg>? X X X X X X
AT$APP SERIAL <device> X
AT$APP TAIP RADIO X
AT$APP TIME DAYLIGHT <state> X X X X X X
AT$APP TIME OFFSET <offset> X X X X X X
AT$APP GPS POS <latitude> <longitude> X X X X X X
AT$APP GPS SPEED <speed> X X 1.4b X X X X
AT$APP PEG SPEED <speed> X X X X X X
AT$APP PEG SNDRPT <event code> X X X X X X
AT$APP PEG SNFRPT <event code> X X
AT$APP PEG LOGRPT <event code> X X
AT$APP PEG SUNRPT <event code> X X X X X X
AT$APP PEG SNDALRT <event code> X X
AT$APP MSG <byte> <disposition> X X
AT$APP PEG SNDID <source> X X X X X X

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -5- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

AT Command MTU- LMU- LMU- LMU LMU LMU LMU LMU- LMU- LMU-
100 700 900 -1000 -11xx -1200 -2500 2600 4100 4200
RMU-
900
AT$APP SENDTO <IP address>:<port>
X X
<format>
AT$APP SMS <destination> “<message>” X X 1.4b X X X X
AT$APP PEG SNDTAIP <event code> X
AT$APP PEG SLEEP <timer index> X X X X X X
AT$APP OUTPUT <output> <state> 1.4b X X
AT$APP STATE? ? ? ? ? X X
AT$APP PEG ACTION <index> <parameter> X X 1.4b X X X X
AT$APP CLEAR LOG X X 1.4b X X X X
AT$APP LOG CLEAR X X X X X X
AT$APP LOG DEBUG <state> X X
AT$APP LOG FILL <event code> <record
X X
count>
AT$APP LOG QFILL <record count> X X
AT$APP LOGMEM? X X
AT$APP LOGMEM SIZE? X X
AT$APP LOGMEM READ <block> <offset>
X X
<octets>
AT$APP LOGMEM WRITE <block> <offset>
X
<data1>,<data2>,<data3>,…
AT$APP LOGMEM ERASE <page number> X X
AT$APP LOGMGR CLEAR X X
AT$APP LOGMGR SETREC <record state> X
AT$APP LOGMGR INIT X X
AT$APP LOGMGR PUTREC
X X
<data1>,<data2>,<data3>,…
AT$APP LOGMGR STATUS? X X

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -6- CalAmp Proprietary & Confidential
LMUTM AT Command Set Guide

AT Command MTU- LMU- LMU- LMU LMU LMU LMU LMU- LMU- LMU-
100 700 900 -1000 -11xx -1200 -2500 2600 4100 4200
RMU-
900
AT$APP COMM ON X X X X X X
AT$APP COMM OFF X X X X X X
AT$APP COMM CONNECT X X X X X X
AT$APP COMM DISCONNECT X X X X X X
AT$APP COMM DEBUG <debug level> X
AT$APP DEBUG <state> X X
AT$APP DEBUG? X
AT$APP GPS ON X X X X X X
AT$APP GPS OFF X X X X X X
AT$APP GPS DEBUG <debug level> X X
AT$APP IP DEBUG <debug level> X X
AT$APP KMIP <enable/disable> X
AT$APP KMIP POLL X
AT$APP KMIP PREV <service> X
AT$APP PING <IP Address> X X
AT$APP PPP DEBUG <debug level> X X
AT$APP QUIT X X X X X X
AT$APP REBOOT X X X X X X
AT RESET X X X X X X
AT DNLD X X X X X X
AT PASSTHRU X X X X X X
AT#GPSPASS <baud rate> X X X X X X
AT#REPROG <baud rate> <port> X X X X 1.0c X

V1.0.4 November 14, 2010


Copyright ©2010 CalAmp -7- CalAmp Proprietary & Confidential

You might also like