User Guide

Table Of Contents
COMPANY CONFIDENTIAL: CalAmp reserves all rights to these documents and any information contained therein. Page
Reproduction use or disclosure to third parties without express permission is strictly prohibited. ©2021 CalAmp 27 of 40
LMU-3x40 Training Guide
Revision & Date
1.6 – 03/24/2021
6.4 PEG2 Lines
As stated in section 5.1.3 above, PEG2 lines are no longer considered “parameters”. A PEG2
“line” is only a virtual line, but in reality they are not enumerated the same way as in a PEG1
script.
The Script (!SCR) section of a PEG2 file is one whole section that requires either deleting or
updating the whole section at once. No individual “line” can be updated.
The following differences should be noted from the LMU32/PEG1 environment:
o Individual PEG “lines” cannot be updated via Param Write or SMS.
o When updating a PEG2 script section, you must provide the complete script.
Note: Configuration Parameters (!CP section) can still be updated as individual parameters via
Param Write or SMS.
6.5 Event Index Field
The LMDirect protocol defines the Event Index field as the PEG1 Config Parameter index number
of the event that generated the report.
Since this field is limited to 1-byte in the LMDirect protocol and the LMU-3x40 uses PEG2 which
can have an indefinite amount of PEG Lines, this field has a slightly new definition. The table
below indicates the differences:
PEG1 Event Index
PEG2 Event Index
Values should range from 0-249.
255 representing a Real Time PEG Action
request.
Values should range from 0-253.
254 representing any PEG line number
exceeding 253.
255 still representing a Real Time PEG Action
request
6.6 Remote Debug PEG Action
Unlike the LMU32 platforms, EdgeCore (LMU-3x40) is always logging at a default level. There is
no need to “start capturing” data using Peg Action 144, Modifier 1. To use this PEG Action on the
EdgeCore there is a different definition of the modifiers as shown in the following table.
LMU-3030: PEG Action 144 Definition
LMU-3x40: PEG Action 144 Definition
Peg Action 144 0
- Stop capturing the LMU
debug in SPI Flash
Peg Action 144 1
- Start capturing the LMU
debug into SPI Flash.
Peg Action 144 2
- Stop capturing and send
the debug captured so far as a file to the
server
Peg Action 144 0
- Save log files in a tar ball in
/data/backup/. This is useful for someone at
the AT Console to save logs when desired.
Peg Action 144 1
- Upload the existing saved
log if the URL specified by Param 2328 is
present.