beautypg.com

B&B Electronics LDVDSV2-S-P9D - Manual User Manual

Page 25

background image

OBDII Streamer Command & Response

V2.11

Page 25/49

0x22 – GET_PARAMETER

Description:
This command will return the current value for the requested parameter. Since the most
current parameter’s results are stored in the OBDII Streamer the response delay will be
very short.

Command to Send:
0x01 0x01 0x22 DL PARAMETER_ID CS

Response:
0x01 0x01 0xA2 DL PARAMETER_DATA CS

Field Description:
DL

Data Length Byte


PARAMETER_ID

Variable length data field containing one byte for each parameter

requested. Each byte corresponds to a parameter ID.


Multiple parameters can be specified in the PARAMETER_ID field, or
0xFF can be specified to request all enabled parameters.

A maximum of 11 parameters can be specified in one message. If 0xFF is
sent to request all enabled parameters then the response may be broken
into multiple responses depending on the number of enabled parameters.


PARAMETER_DATA

The PARAMETER_DATA field is a variable length data field that
contains both the requested parameter(s) identifier and the parameter data.
All parameter identifiers are one byte long, and parameter data is variable
length. The format of the data field is a repeating pattern of parameter
identifier1, Data1

, parameter identifier2, Data2,.. etc.


CS

Summation checksum


Example:
TX: 0x01 0x01 0x22 0x03 0x01 0x02 0x03 0x2D

RX: 0x01 0x01 0xA2 0x09 0x01 0x01 0x23 0x02 0x98 0x76 0x03 0x55 0x66 0x77 0x88
0x9F

The breakdown of the response is:

Parameter 0x01: Data = 0x0123
Parameter 0x02: Data = 0x9876