Common AT/SMS Commands January 28, 2010
INSTRUCTIONS:
• Text you see in blue italics should be replaced with what fits your application
• If you see quotation marks “ ”, include these in your command
• Example:
o To change APN for context 0 to [Link]
Instructions: at$app gprs context X “IP:apn for context X”
You type: at$app gprs context 0 “IP:[Link]”
GPRS Context String (parameter 2306, index 0..1), also known as APN
• Query via AT Command
at$app gprs context?
at$app param? 2306,*
• Change via AT Command
at$app gprs context X “IP:apn for context X”
at$app param 2306,X,“IP:apn for context X”
• Change via SMS Command
!R1,2306,X,“apn for context X”
Network Username (parameter 2314, index 0..1)
• Query via AT Command
at$app param? 2314,*
• Change via AT Command
at$app param 2314,X,“username for context X”
• Change via SMS Command
!R1,2314,X,“username for context X”
Network Password (parameter 2315, index 0..1)
• Query via AT Command
at$app param? 2315,*
• Change via AT Command
at$app param 2315,X,“password for context X”
• Change via SMS Command
!R1,2315,X,“password for context X”
Inbound URL (parameter 2319, index 0..1)
• Query via AT Command
at$app inbound?
o NOTE: Shows message format, URL, address, port with an * by the active
indexes
at$app param? 2319,*
• Change via AT Command
at$app inbound X url “url for context X”
at$app param 2319,X,“url for context X”
• Change via SMS Command
!R1,2319,X,url for context X
Page 1
Common AT/SMS Commands January 28, 2010
Inbound IP Address List (parameter 768, index 0..3)
• 4000/4100 only
o NOTE: If you change the Inbound IP and you have an Inbound URL, on the next
reset/power-up the device will perform a DNS lookup on the Inbound URL and use
this IP, overwriting your Inbound IP. (Example: Inbound URL “[Link]” points to
IP [Link]. You then change the Inbound IP to [Link]. On the next
reset/powerup, the DNS lookup on the Inbound URL of “[Link]” finds IP
[Link] and overwrites this value into your Inbound IP parameter.) If you have
no Inbound URL, you may change the Inbound IP worry free.
• Query via AT Command
at$app inbound?
o NOTE: Shows message format, URL, address, port with an * by the active
indexes
at$app param? 768,*
• Change via AT Command
o 4000/4100
at$app inbound X addr ip address for context X:port for context X
o NOTE: Must input IP and port using above command
at$app param 768,X,“ip address for context X”
• Change via SMS Command
o 4100
!R1,768,X,“ip address for context X”
Inbound Port List (parameter 769, index 0..3)
• Query via AT Command
at$app inbound?
o NOTE: Shows message format, URL, address, port with an * by the active
indexes
at$app param? 769,*
• Change via AT Command
o 4000/4100
at$app inbound X addr ip address for context X:port for context X
o NOTE: Must input IP and port using above command
at$app param 769,X,“port for context X”
o 1000/1500
at$app param 769,X,“port for context X”
• Change via SMS Command
!R1,769,X,“port for context X”
Send Event Report to Inbound Server (acknowledged)
• AT Command
at$app peg sndrpt EventCode
at$app peg 1 EventCode
• SMS Command
!R3,1,EventCode
Page 2
Common AT/SMS Commands January 28, 2010
Send ID Report to PULS Server
• AT Command
at$app peg sndid 129
• SMS Command
!R3,49,129
General Debug
• AT Command – Note other bit settings
ats125=7 (to turn on)
ats125=0 (to turn off)
HEX Message Display Debug
• AT Command - Note other bit settings
ats124=16 (to turn on)
ats124=0 (to turn off)
GPS Information
• Query via AT Command
ati4
atig
• Query via SMS Command
!R5
!RG
o NOTE: Returns above information to mobile device that sent SMS request
The following AT and SMS commands are the same for all devices (1000/1500/4000/4100)
Current wireless device status
• Query via AT Command
o atic
o at$app comm status?
NOTE: Shows registration status, network acquisition status, RSSI, network
identifiers, phone # if available, associated serial numbers. Exact contents of
above will vary between radio networks
Version Information
• Query via AT Command - NOTE: Shows firmware version, processor features, device
S/N, GPS receiver type and version, wireless modem/phone type and version
o ati0
Serial Number Identification - NOTE: Shows ESN, IMEI, EID, IMSI, ICC-ID if applicable
• Query via AT Command
o ati1
Page 3
Common AT/SMS Commands January 28, 2010
Modem Information - NOTE: Shows modem type and application version
• Query via AT Command
o ati2
Query LMU - NOTE: Shows firmware version, RSSI, connection status, APN/IP, GPS status,
Input status/voltage, Mobile ID, Inbound server IP:port
• Query via AT Command
o ati3
• Query via SMS
o !R0
Reset LMU
• AT Command
o atreset
• SMS Command
o !R3,70,0
Factory Reset LMU
• AT Command
o at#factory
Receive modified Hex Event Report on mobile device that sent SMS request
• SMS Command
o !R4
For further information, refer to the following CalAmp documentation:
• TechnoCom AT Command Set (4000/4100)
• LMU Users Guide (1000/1500/4000/4100)
o Parameters: Appendix A
o S-Register Settings: Appendix B
• LMU-1000 Hardware and Installation Guide (1000/1500)
• LMU-4000 Hardware and Installation Guide
• LMU-4100 Hardware and Installation Guide
• LMDirect Reference Manual (1000/1500/4000/4100)
• PEG Programming Guide (1000/1500/4000/4100)
• PULS Users Guide (1000/1500/4000/4100)
• LMU-4000/4100 Troubleshooting Guide
Any questions, e-mail M2Msupport@[Link]
Page 4