This command, can be used to query informations supported by M22 mode proprietary PIDs.

Synopsis

OBD QUERY M22 <2bytePID>

Arguments

Param DescriptionRange
<2bytePID>PID of witch query value.0x00 - 0xFFFF

Availability Notes

  1. Not all profiles stored in Carberry allow M02 PIDs queries.
    If this mode is unavailable for the actual CAN bus car profile, Carberry returns UNAVAILABLE token, followed by OK.
  2. Depending on vehicle kind, not all PIDs are available.
    If the requested PID isn't available, Carberry returns TIMEOUT token, followed by OK.

Return

Then the ECU in the car, replies with its message containing requested data.
Query command returns OBD data values returned by the vehile.
The format of the data returned to user terminal is the following:

<VAL> [<VAL>] [<VAL>] [<VAL>]
OK

Examples

Query oil temperature:

OBD QUERY M22 19AF
64 33
OK