NMEA Sentence Syntax - OBDII/NMEA-Sentence-Syntax

CAN Bus Vehicle Telemetry Guide and General Information

ft:locale
en-US
ft:sourceName
Paligo_Prod

NMEA sentences reported from a vehicle's on-board diagnostic system contain a header value ($PCPTOBD) and the enabled PIDs, with each PID followed by its value. It is important to note that only enabled PIDs are sent with an NMEA OBD-II sentence.

Enabled PIDs are sent in sequential order starting with PID 0. PID numbers are shown on the OBD-II Status page. SeeSupported OBD-II PIDs for complete list of available PIDs.

The general structure of the NMEA OBD-II sentence takes the form of:

$PCPTOBD, Enabled PID #, corresponding parameter value, Enabled PID #, corresponding parameter

The following example shows the format of an NMEA OBD-II sentence with PIDs enabled for vehicle speed, engine speed, throttle position, and fuel level:

$PCPTOBD,0,0,1,760,2,13,4,67.487*4E

The meaning of this sentence, from left to right, is shown in the following table.

Table 3. NMEA OBD-II Sentence Parameters and Enabled Values Example

Field

Value

Header

$PCPTOBD

PID 0 (PID for VEHICLE_SPEED)

0

PID 1 (PID for ENGINE_SPEED)

760

PID 2 (PID for THROTTLE_POSITION)

13

PID 4 (PID for FUEL LEVEL)

67.487

Checksum

4E***


If the protocol adapter is unable to get a value for an enabled PID, it sends a null value in its place. For example, using the same example sentence from above but the LD3IC-S adapter failed to send the THROTTLE_POSITION value, the sentence received by the router would take the following form:

$PCPTOBD,0,0,1,760,2,,4,67.487*4E

Similarly, if a PID is enabled but unsupported, the LD3IC-S adapter would also return a null value.