CalAmp LM Direct Protocol · LMU / MXT port, PEG scripting
24 devices 1 brands Port 5082 (Traxelio / Traccar default) UDP (canonical) · TCP variant available

CalAmp LM Direct Protocol

Binary UDP / TCP protocol published by CalAmp (Irvine, California, NASDAQ: CAMP) for the LMU, MTM, and MXT vehicle and asset tracker families · the North American fleet-tier alternative to Teltonika and Geotab.

3 min read · ~494 words

Quick answers

Is CalAmp a US company?

Yes · headquartered in Irvine, California (NASDAQ: CAMP). Founded 1981, ~3,000 employees. The dominant North American fleet telematics OEM, with deep penetration into US enterprise fleet, government / municipal, insurance UBI, and connected-car. Trades on the public market · the kind of supplier stability US enterprise procurement teams insist on.

What port does CalAmp LM Direct use?

Traxelio's ingest port is 5082 (UDP, matches Traccar's calamp decoder default). LM Direct is UDP-canonical · TCP variants exist for some firmware but UDP is the spec's default. Port is configurable via the Configuration Tool.

What's PEG scripting?

Programmable Event Generator · CalAmp's on-device scripting language for defining event triggers (geofence, accelerometer threshold, PTO engagement) that fire data reports to specific server URLs. Useful for complex fleet behaviour without round-tripping logic to the server. Most fleet operators don't need PEG · the Configuration Tool's GUI covers standard use cases.

Does CalAmp work with OBD-II?

Yes · the MTM-3640 and MTM-4230 series include OBD-II connectors and report a curated subset of standard PIDs (RPM, speed, throttle, MAF, coolant temp, fuel level). The MXT and LMU vehicle-class lines are typically hardwired to the ignition + accessory bus rather than the OBD-II port.

Can I move my CalAmp fleet from Phantom Web Services to Traxelio?

Yes. The Configuration Tool's Inbound URL setting controls where the device reports. Point it at Traxelio's UDP endpoint (port 5082) and the device starts pushing positions immediately. The ESN, SIM, and PEG scripts stay on the device unchanged · only the destination URL changes.

The CalAmp LM Direct protocol is the wire format CalAmp's LMU, MTM, and MXT GPS hardware families use to report data. CalAmp is a US-listed company (NASDAQ: CAMP) headquartered in Irvine, California, with deep penetration into the North American fleet, insurance telematics, and connected-car markets. LM Direct is documented to integrators · Traccar's open-source decoder is the most-cited third-party implementation.

Protocol-at-a-glance

  • Transport · UDP (canonical) · TCP variant for some firmware
  • Default port · 5082 (Traxelio's ingest port; matches Traccar's calamp decoder default)
  • Encoding · binary, length-prefixed records, big-endian
  • Auth · ESN (electronic serial number, CalAmp's IMEI equivalent) in first packet
  • Inbound messages · "User-Defined" message types (0x01-0x09) carry positions, events, accelerometer data, and OBD-II PIDs
  • Outbound messages · server can push commands, configuration updates, and over-the-air firmware via the same channel

Why CalAmp hardware dominates North American fleets

  • Long-standing US presence · founded 1981, NASDAQ-listed, ~3,000 employees · the kind of supplier stability US enterprise fleets demand
  • Insurance telematics anchor · CalAmp is the OEM behind several major US insurance UBI (usage-based insurance) programs · Allstate Drivewise and others
  • MXT-150 / LMU-3640 / LMU-4230 · the workhorse models for North American fleet (heavy-duty trucks, government / municipal, rental)
  • UDP-first design · LM Direct is UDP-canonical, which suits the spotty cellular coverage patterns of US interstate freight better than TCP's connection-state overhead

The trade-off vs European pros (Teltonika, Ruptela): CalAmp's per-unit cost is higher, sold mostly through CalAmp's direct sales force and integrator partners rather than through reseller channels.

Configuring a CalAmp device for Traxelio

Two paths · PEG Scripting (CalAmp's Programmable Event Generator) or CalAmp Configuration Tool (Windows desktop):

Configuration Tool path:

  1. Connect the device via USB serial
  2. Open CalAmp Configuration Tool
  3. Set the Inbound URL to Traxelio's UDP endpoint, port 5082
  4. Save and reboot
  5. First position usually arrives within a minute

PEG Scripting path (for sophisticated event logic):

CalAmp's PEG (Programmable Event Generator) is a scripting environment that runs on-device · operators write event triggers (geofence, accelerometer threshold, PTO engagement) that fire reports to specific server URLs. Useful for complex fleet behaviour but requires familiarity with the PEG language.

Supported devices in our catalog

24+ devices declare protocol: "calamp" · the headline models: CalAmp LMU-3640, LMU-4230, LMU-2640, MTM-3640, MTM-4230, MXT-150, MXT-110. The MXT line targets asset/trailer tracking (lower power); the LMU line targets vehicle tracking (mid-power); the MTM line targets heavy-vehicle / OBD-II integration.

LM Direct vs MXT vs the CalAmp ecosystem

CalAmp uses several closely-related but distinct wire formats across its product lines:

  • LM Direct · the canonical CalAmp protocol · used by LMU, MTM, and most MXT models
  • MXT protocol · a separate Traccar slug (mxt) for some older MXT-150 variants that pre-date the LM Direct unification · functionally similar, slightly different packet shape
  • Phantom Web Services · CalAmp's web platform · not a wire protocol but the SaaS layer most CalAmp fleets historically sat on

Traxelio's calamp decoder handles LM Direct natively. The legacy mxt slug (14 catalog devices) is handled by Traccar's separate mxt decoder · also supported but historically pinned to the older firmware revisions.

Setup walkthrough

  1. 1

    Download CalAmp Configuration Tool

    Windows desktop tool from CalAmp's developer portal. Works with any LM-Direct-compatible server · not just Phantom Web Services.

  2. 2

    Connect the device via USB serial

    LMU/MTM/MXT devices expose a USB-to-serial config port. Driver auto-installs on Windows 10+; the Configuration Tool's connection wizard auto-detects the COM port.

  3. 3

    Set the Inbound URL

    In the Server section: Inbound URL = your platform's host, Port = your platform's listener (Traccar default for LM Direct is 5082), Transport = UDP (canonical) or TCP.

  4. 4

    Optional · review PEG script

    If the device has a custom PEG (Programmable Event Generator) script for geofence / accelerometer triggers, review the script's sendmsg() IDs to confirm they won't collide with CalAmp's canonical message types on the new server.

  5. 5

    Save and reboot

    Save to Device, power-cycle. First position arrives within a minute.

  6. 6

    Don't have an LM-Direct server yet?

    Traxelio decodes LM Direct natively on UDP port 5082 · point the Configuration Tool at the Traxelio endpoint and the first position lands within a minute. Or self-host Traccar · the open-source calamp decoder handles the full LMU/MTM/MXT family.

Reference

Configuration reference

Parameter Value
Transport UDP (canonical) · TCP variant available
Default port 5082 (Traxelio / Traccar default)
Encoding binary, length-prefixed, big-endian
Authentication ESN (Electronic Serial Number) in first packet · CalAmp's IMEI equivalent
Message types User-Defined 0x01-0x09 (positions, events, accelerometer, OBD-II PIDs)
Configurator CalAmp Configuration Tool (Windows)
On-device scripting PEG (Programmable Event Generator) on-device
Vendor portal www.calamp.com/

Or skip the integration

Traxelio decodes Calamp natively

Point your device at our endpoint, first position lands in under a minute. We handle the protocol, ack the packets, and serve the dashboards.

Protocol Capabilities

Data Points from Calamp Devices

Traxelio processes all telemetry data sent by Calamp trackers for comprehensive fleet insights.

Core Tracking

  • GPS Location
  • Speed
  • Altitude
  • Heading / Direction
  • Street Address
  • GPS Accuracy

Engine & Driving

  • Ignition Status
  • Odometer / Mileage
  • Engine Hours

Sensors

  • Battery Level
  • Fuel Level

Network

  • Network / Cell Info

Event Coverage

Alerts you'll get from devices on this protocol

Device online

The device is back online and transmitting data.

Device offline

The device has stopped reporting. It may have lost connection or power.

Device Moving

The vehicle is currently in motion.

Device Stopped

The vehicle is stationary.

Device overspeed

The vehicle is exceeding the set speed limit.

Geofence enter

The vehicle has entered a defined zone.

Geofence exit

The vehicle has exited a defined zone.

Alarm

Tow

Possible towing activity detected, check vehicle status.

Ignition On

The ignition is ON. The engine has started.

Ignition Off

The ignition is OFF. The engine has been stopped.

Long Idle

The vehicle has been idling for a long period.

Hard Braking

Hard braking detected, driver safety alert.

Hard Acceleration

Rapid acceleration detected, driving behavior alert.

Hard Turning

Sharp turning detected, driving behavior alert.

Impact Detected

Potential impact detected based on sudden deceleration and course change pattern.

Fuel Refill

A fuel refill was detected.

All Models

All Calamp Devices (24)

Show 12 more Calamp devices

Compatible Brands

Brands Using Calamp Protocol

Common troubleshooting

Device sends UDP packets but server doesn't ACK them, then nothing arrives

Some CalAmp firmware variants require server-side ACK for User-Defined messages even though UDP itself doesn't · without the ACK, the device assumes the server is dead and stops sending. Confirm Traxelio's ingestor is sending the ACK opcode (0x80) on each received message. Less common: firewall is dropping UDP return packets · check ingress / egress rules on the cellular APN.

OBD-II PIDs come through on some vehicles but not others

OBD-II PID availability is per-vehicle-make/model · not all cars expose all PIDs via the OBD-II port. Fuel level (0x2F) in particular is optional and rarely exposed on European vehicles · for accurate fuel monitoring on those, use the LMU-3640 wired to the fuel-sender wire instead of the OBD-II MTM variant.

PEG script fires events as expected but Traxelio doesn't decode them

Custom PEG-generated events use User-Defined message IDs that may collide with CalAmp's canonical event IDs · check the PEG script's sendmsg() calls and confirm the message ID isn't reused. If the ID is custom, Traxelio's decoder needs a mapping rule (contact support).

Explore More

Other Protocols

FAQ

Frequently Asked Questions

Is LM Direct an open protocol?

Documented to integrators · CalAmp publishes the LM Direct Integration Guide to its developer portal under standard NDA terms. The spec is implementable by any server with access to the guide · that is why Traccar, Flespi, and Traxelio all support it.

Why is CalAmp hardware more expensive than Concox or Coban?

US-listed company, US-made silicon, deep enterprise sales motion, FCC/Part-15-certified hardware, multi-year warranty. The cost reflects the supplier stability and certification breadth US enterprise procurement teams require. For consumer or small-fleet budget deployments, the comparison is closer to Teltonika or Queclink than to CalAmp.

Does CalAmp ship LTE Cat-M1 / NB-IoT?

Yes on current production · the LMU-46xx series and MTM-46xx series are LTE Cat-M1 / NB-IoT for low-power asset tracking. The legacy 3640 series is LTE Cat-1. The 2G/3G sunset in North America has fully forced the catalog upward.

What's the difference between CalAmp LMU and MXT?

LMU = vehicle-mounted (mid-power, hardwired to ignition + accessory bus, designed for always-on fleet tracking). MXT = asset / trailer / container (low-power, internal battery, designed for periodic-report use cases where the asset isn't powered most of the time). Both speak LM Direct; the form factor and power budget differ.

Can CalAmp devices report to two servers simultaneously?

Some CalAmp firmware supports a primary and secondary Inbound URL · the device sends each report to both. Useful during migration · run dual-stream for a week to validate Traxelio's decoding matches Phantom Web Services, then cancel the Phantom subscription.

T
Trax
Online
Say hello to Trax!