OBD QUERY M01
This command, can be used to query informations supported by M01 mode PIDs.
Synopsis
OBD QUERY M01 <PID>
Arguments
Param | Description | Range |
---|---|---|
<PID> | PID of witch query value. | 0x00 - 0xFF |
Availability Notes
- Not all profiles stored in Carberry allow M01 PIDs queries.
If this mode is unavailable for the actual CAN bus car profile, Carberry returns UNAVAILABLE token, followed by OK. - 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
The reply can contain from one to four payload bytes, always represented in HEX notation and separed by one ASCII space.
Examples
Query air temperature:
OBD QUERY M01 0F 03 64 OK
Query engine RPMs:
OBD QUERY M01 0C 13 25 OK