Message Type PEVENT
Proprietary NMEA message alert containing Trigger or Event details.
$PEVENT,hhmmss.ss,v,ddmmyy,xxxxxxxxxxx,yyyyyyy*hh<CR><LF>
triggers or events | event label | event detail |
GPS | GPSx | one or more of: d>dist, a>b, hchg>c, t>timer, accela>b, decela<b |
IDLE | IDLEx | one of: START or END |
Input condition | GPIOx | one or more of: inab where a is input number 1 to 6 and b is A=analog or D=digital:(one of c<HIGH, c>LOW, c~HIGH (digital), or c<dV, c>dV, c~d (analog)), ipchg=<IP>, t>timer |
IGNITION | IGNx | one of: ON or OFF |
OBDII-J1939 | OBDx | one or more of p<param>:curValue<setValue, curValue>setValue, p<param>=setValue (no transition) OR p<param>:curValue=setValue (transition), t > timer |
POWERUP | PUPx | |
VOLTAGE LEVEL | VCCx | one of: a.aa>b.bbV ,a.aa<b.bbV |
ACCELERATION | ACCELx | one or more of: accela>b, latacca>b, deca<b |
GEOROUTE | GEOx | one of: AINa, AOUTa, RINa, ROUTa, ALRMAa, ALRMRa |
DATA | DATAx | |
MAN DOWN | MANDOWNx | |
BOOMTRACKER | BOOMx | |
SWIPE REPORT or IBUTTON | RFIDx | |
EXTERNAL EQUIP (saltspreader, ETC) | EXTz |
For cases where multiple conditions can exist the x will define which condition triggered (1 thru 8), ie, gpscond 1 2 30 50 would cause GPS1 to be included as the event message. For external equipment z would define the type of external equipment, ie EXT1 is for chlorobyte saltspreader.
For GPIO events:
- digital values are based on the voltage value dropping below 2 V or going above 3V, these values are fixed and cannot be changed.
- ~ indicates a transition from LOW to HIGH or HIGH to LOW trigger for both Digital and Analog
Where:
hhmmss.ss is the UTC time in hours, minutes, seconds, and decimal seconds
v is the data validity flag: A = valid current data, B = valid stored data, V = invalid current data, W = invalid stored data
ddmmyy is the day, month and year
xxxxxxxxxxxxxxx is the gateway’s unique 11 or 15 digit ESN or IMEI number
Note: For non-cellular devices (Wi-Fi) the gateway unique ID is generated automatically from the LAN1 MAC address.
yyyyyyy is the Event description, see table above
hh is the message checksum
Examples:
Message containing OBD condition 1:
cmd obdcond 1 1 0 0 'p1>10' 'p2>100'
$PEVENT,233614.00,A,081211,356215040095550,OBD1:p1:32.00>10.00,p2:576.00>100.00*03
Triggers or events | Event Label | Example |
GPS | GPSx | $PEVENT,004733.00,A,091211,355782040000402,GPS1:t>30*6C (triggers on time based reporting every 30 sec) |
IDLE | IDLEx | $PEVENT,005704.00,A,030312,00000000000,IDLE1:START*25 $PEVENT,005704.00,A,030312,00000000000,IDLE2:START*26 $PEVENT,005719.00,A,030312,00000000000,IDLE1:END*26 $PEVENT,005719.00,A,030312,00000000000,IDLE3:END*24 |
Input condition | GPIOx | $PEVENT,002155.00,A,091211,355782040000402,GPIO1:t>30*39 (triggers on time based reporting, every 30 sec) $PEVENT,192953.00,A,191211,355782040000402,GPIO2:in5D:0.00<LOW*4E (input 5, digital triggered when voltage 0.00 dropped below 2.0 V) $PEVENT,193240.00,A,191211,355782040000402,GPIO2:in3A:10.23>8.00V*63 (input 3, analog triggered when 10.23 volts exceeded set value of 8.00 V) $PEVENT,193308.00,A,191211,355782040000402,GPIO2:in5D:0.93<LOW,in3A:10.23>8.00V*72 (input 5 digital triggered low when 0.93V dropped below 2V, input 3 analog triggered when 10.23 volts exceeded 8.0 V) $PEVENT,193433.00,A,191211,355782040000402,GPIO2:in5D:3.74>HIGH,in3A:10.23>8.00V*2F $PEVENT,193522.00,A,191211,355782040000402,GPIO2:in5D:3.41>HIGH,in3A:0.06<8.00V*1C $PEVENT,193555.00,A,191211,355782040000402,GPIO2:in5D:3.70~HIGH,in3A:5.02<8.00V*5F $PEVENT,193603.00,A,191211,355782040000402,GPIO2:in5D:0.04~HIGH,in3A:5.02<8.00V*5F $PEVENT,193800.00,A,191211,355782040000402,GPIO2:in5D:3.80>HIGH,in3A:0.00~8.00V*58 $PEVENT,193811.00,A,191211,355782040000402,GPIO2:in5D:3.80>HIGH,in3A:10.23~8.00V*68 $PEVENT,002940.00,A,091211,355782040000402,GPIO4:ipchg=10.142.21.139*11 |
IGNITION | IGNx | $PEVENT,001850.00,A,091211,355782040000402,IGN1:OFF*61 $PEVENT,001854.00,A,091211,355782040000402,IGN2:ON*28 $PEVENT,001850.00,A,091211,355782040000402,IGN3:OFF*63 |
OBDII-J1939 | OBDx | $PEVENT,000938.00,A,221211,355782040000402,OBD1:p5=1.00*47 $PEVENT,000658.00,A,221211,355782040000402,OBD3:p1:0.25>100.00,p5:1.00=1.00*06 $PEVENT,000508.00,A,221211,355782040000402,OBD2:p6:1.00>0.00*6F |
POWERUP | PUPx | $PEVENT,000912.00,A,091211,355782040000402,PUP1*07 |
VOLTAGE LEVEL | VCCx | $PEVENT,000641.00,A,091211,355782040000402,VCC1:7.90<9.00V*5A $PEVENT,003520.00,A,091211,355782040000402,VCC2:10.97>10.00V*55 $PEVENT,000641.00,A,091211,355782040000402,VCC3:7.90<9.50V*5D |
ACCELERATION | ACCELx | $PEVENT,000101.00,A,091211,355782040000402,ACCEL1:accel035.3>001.0*78 $PEVENT,000035.00,A,091211,355782040000402,ACCEL2:decel-37.0<-01.0*7D $PEVENT,235941.00,A,081211,355782040000402,ACCEL3:latacc001.0>001.0*07 |
GEOROUTE | GEOx | $PEVENT,235700.00,A,081211,355782040000402,GEO1:AOUT0*12 $PEVENT,235735.00,A,081211,355782040000402,GEO1:AIN1*5C $PEVENT,235804.00,A,081211,355782040000402,GEO1:RIN32*72 |
DATA | DATAx | $PEVENT,235441.00,A,081211,355782040000402,DATA1*4C |
MAN DOWN | MANDOWNx | $PEVENT,234413.00,A,081211,00000000000,MANDOWN1*06 |
BOOMTRACKER | BOOMx | $PEVENT,234413.00,A,081211,00000000000,BOOM1*05 |
SWIPE REPORT or IBUTTON | RFIDx | $PEVENT,234008.00,A,081211,00000000000,RFID1*41 |
EXTERNAL EQUIP. | EXTx | $PEVENT,234413.00,A,081211,00000000000,EXT1*05 |