Calamp protocol

Integration level: params + settings
Protocol used by GPS tracking devices manufactured by CalAmp headquartered in the United States.
flespi parses the Calamp protocol messages into a JSON object with the fields listed below in the Parameters tab.
accumulator
number
Custom accumulator, index starting from 1
accumulator.exceed.threshold
number
Bitmask shows which accumulator exceeded its threshold value
channel.id
number
ID of channel that received a message
device.id
number
ID of device that received a message
device.name
string
Name of device that received a message
device.type.id
number
ID of device type of device that received a message
din
number
Digital inputs bitmask
esn
string
Electronic Serial Number of the device
event.enum
number
Event code, full list of codes available at separate table
gnss.status
boolean
GNSS receiver on/off status
gsm.cellid
number
GSM base station ID
gsm.lac
number
GSM location area code
gsm.mcc
string
GSM mobile country code
gsm.mnc
string
GSM mobile network code
ident
string
Device unique identifier like serial number, IMEI, etc
message.buffered.status
boolean
Black box message
network.roaming.status
boolean
Network in roaming mode
network.signal.rssi
number
dbm
Network signal strength
payload.hex
string
HEX Payload received from device
peer
string
IP:port from which device connecting to the channel
position.altitude
number
meters
Altitude value for position
position.direction
number
degrees
Heading angle at position detection moment
position.hdop
number
Horizontal dilution of precision
position.latitude
number
degrees
Latitude coordinate value
position.longitude
number
degrees
Longitude coordinate value
position.satellites
number
Quantity of satellites used to calculate coordinates for given position information
position.speed
number
km/h
Instant speed at position detection moment
position.valid
boolean
Is position information accurate and valid for given timestamp
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
timestamp
number
seconds
Message timestamp
vehicle.vin
string
VIN of vehicle
Properties
AT Command
at
Send custom AT command to device
payload: Command to send, after AT
Query Current IP Address
{"payload":"$APP ADDR?"}
Query Current Output States
{"payload":"$APP OUTPUT?"}

To connect your tracker using the CalAmp protocol, you need to have a calamp channel created first.

Point your tracker to the channel's domain name:port via SMS or configuration tool provided by the vendor.

Then create a device instance for your tracker and use a 15-character IMEI (usually specified on the tracker casing) in the ident field.

Use the Toolbox tab on the device screen to check if the messages are coming.

To connect CalAmp to Wialon or another platform via flespi please read this article.

Note: flespi numerates indexed parameters [including 'accumulator' parameter] starting from 1, unlike CalAmp LMU Toolbox which counts accumulators numbers from 0. 

Thus accumulators numbers are shifted by 1: accumulator.7 value in flespi corresponds Accum 6 value in CalAmp LMU Toolbox.