forked from Pbartek/pyobd-pi
-
Notifications
You must be signed in to change notification settings - Fork 380
Query responses
brendanwhitfield edited this page Nov 30, 2014
·
5 revisions
The query()
function returns Response
objects. These objects have the following properties:
Property | Description |
---|---|
value | The decoded value from the car |
unit | The units of the decoded value (see utils.py) |
raw_data | The raw serial data recieved from the car |
The value
property typically contains numeric values, but can also hold complex structures (depending upon the command being decoded).
If python-OBD is unable to retrieve a response from the car, an empty Response
object will be returned. Use is_null()
to check for empty responses.