Trying to sniff can bus for RAV4 2020 Hybrid. Unsuccessful to get any data from the PI. It fails every time. Auto detected bus details: [6] ISO 15765-4 (CAN 11/500), 500000
Tried a variety of alternate settings with no luck.
I am getting basic OBD2 messages from the vehicle - just nothing interesting.
Expected behaviour
Sniff packets to allow reverse engineering of some messages to allow integration with AutoPI
Actual behaviour
In the gui, I see âNo connection to the device - No responseâ in a red popup. When I try in terminal, I see:
autopi1@Toyota RAV 4 $ obd.dump protocol=6 baudrate=500000 duration=1 CAN sending or receiving failed
I got a different message another time - something about RS232 buffer fullâŚ
What output do you get when you run obd.commands in the terminal?
obd.commands
_stamp: â2020-11-09T03:31:33.607855â
supported:
ELM_VOLTAGE: Voltage detected by OBD-II adapter
RUN_TIME_MIL: Time run with MIL on
MONITOR_CATALYST_B1: Catalyst Monitor Bank 1
MONITOR_MISFIRE_CYLINDER_2: Misfire Cylinder 2 Data
ABSOLUTE_LOAD: Absolute load value
LONG_O2_TRIM_B1: Long term secondary O2 trim - Bank 1
DTC_TIMING_ADVANCE: DTC Timing Advance
DTC_STATUS: DTC Status since DTCs cleared
MIDS_B: âSupported MIDs [21-40]â
MIDS_C: âSupported MIDs [41-60]â
INTAKE_TEMP: Intake Air Temp
MIDS_A: âSupported MIDs [01-20]â
MIDS_F: âSupported MIDs [A1-C0]â
MIDS_D: âSupported MIDs [61-80]â
MIDS_E: âSupported MIDs [81-A0]â
DISTANCE_SINCE_DTC_CLEAR: Distance traveled since codes cleared
O2_SENSORS: O2 Sensors Present
DTC_LONG_O2_TRIM_B1: DTC Long term secondary O2 trim - Bank 1
TIMING_ADVANCE: Timing Advance
SHORT_FUEL_TRIM_1: Short Term Fuel Trim - Bank 1
ELM_VERSION: ELM327 version string
DTC_SPEED: DTC Vehicle Speed
BAROMETRIC_PRESSURE: Barometric Pressure
MONITOR_EGR_B1: EGR Monitor Bank 1
MONITOR_VVT_B1: VVT Monitor Bank 1
DTC_O2_S1_WR_CURRENT: DTC 02 Sensor 1 WR Lambda Current
LONG_FUEL_TRIM_1: Long Term Fuel Trim - Bank 1
THROTTLE_POS_B: Absolute throttle position B
CLEAR_DTC: Clear DTCs and Freeze data
DTC_RPM: DTC Engine RPM
MAF: Air Flow Rate (MAF)
CATALYST_TEMP_B1S1: âCatalyst Temperature: Bank 1 - Sensor 1â
OIL_TEMP: Engine oil temperature
AMBIANT_AIR_TEMP: Ambient air temperature
CATALYST_TEMP_B1S2: âCatalyst Temperature: Bank 1 - Sensor 2â
ENGINE_LOAD: Calculated Engine Load
DTC_THROTTLE_POS: DTC Throttle Position
DTC_COMMANDED_EQUIV_RATIO: DTC Commanded equivalence ratio
DTC_ABSOLUTE_LOAD: DTC Absolute load value
DTC_DISTANCE_W_MIL: DTC Distance Traveled with MIL on
EVAPORATIVE_PURGE: Commanded Evaporative Purge
DTC_LONG_FUEL_TRIM_1: DTC Long Term Fuel Trim - Bank 1
DTC_TIME_SINCE_DTC_CLEARED: DTC Time since trouble codes cleared
DTC_EVAPORATIVE_PURGE: DTC Commanded Evaporative Purge
GET_DTC: Get DTCs
DTC_COOLANT_TEMP: DTC Engine Coolant Temperature
MONITOR_MISFIRE_GENERAL: Misfire Monitor General Data
TIME_SINCE_DTC_CLEARED: Time since trouble codes cleared
DTC_O2_SENSORS: DTC O2 Sensors Present
DTC_ENGINE_LOAD: DTC Calculated Engine Load
COMMANDED_EQUIV_RATIO: Commanded equivalence ratio
DTC_OIL_TEMP: DTC Engine oil temperature
OBD_COMPLIANCE: OBD Standards Compliance
DTC_AMBIANT_AIR_TEMP: DTC Ambient air temperature
COOLANT_TEMP: Engine Coolant Temperature
GET_CURRENT_DTC: Get DTCs from the current/last driving cycle
DTC_SHORT_FUEL_TRIM_1: DTC Short Term Fuel Trim - Bank 1
DTC_SHORT_O2_TRIM_B1: DTC Short term secondary O2 trim - Bank 1
FUEL_STATUS: Fuel System Status
DTC_O2_S2_WR_CURRENT: DTC 02 Sensor 2 WR Lambda Current
DTC_CONTROL_MODULE_VOLTAGE: DTC Control module voltage
DTC_BAROMETRIC_PRESSURE: DTC Barometric Pressure
DTC_DISTANCE_SINCE_DTC_CLEAR: DTC Distance traveled since codes cleared
WARMUPS_SINCE_DTC_CLEAR: Number of warm-ups since codes cleared
DTC_OBD_COMPLIANCE: DTC OBD Standards Compliance
MONITOR_MISFIRE_CYLINDER_4: Misfire Cylinder 4 Data
MONITOR_MISFIRE_CYLINDER_1: Misfire Cylinder 1 Data
DISTANCE_W_MIL: Distance Traveled with MIL on
MONITOR_MISFIRE_CYLINDER_3: Misfire Cylinder 3 Data
DTC_INTAKE_TEMP: DTC Intake Air Temp
THROTTLE_POS: Throttle Position
DTC_MAF: DTC Air Flow Rate (MAF)
DTC_FUEL_TYPE: DTC Fuel Type
CONTROL_MODULE_VOLTAGE: Control module voltage
DTC_RUN_TIME_MIL: DTC Time run with MIL on
THROTTLE_ACTUATOR: Commanded throttle actuator
SPEED: Vehicle Speed
DTC_THROTTLE_POS_B: DTC Absolute throttle position B
PIDS_A: âSupported PIDs [01-20]â
PIDS_C: âSupported PIDs [41-60]â
PIDS_B: âSupported PIDs [21-40]â
DTC_FUEL_STATUS: DTC Fuel System Status
O2_S1_WR_CURRENT: 02 Sensor 1 WR Lambda Current
FUEL_TYPE: Fuel Type
MONITOR_O2_B1S1: O2 Sensor Monitor Bank 1 - Sensor 1
MONITOR_O2_B1S2: O2 Sensor Monitor Bank 1 - Sensor 2
DTC_RELATIVE_THROTTLE_POS: DTC Relative throttle position
RUN_TIME: Engine Run Time
RPM: Engine RPM
STATUS: Status since DTCs cleared
RELATIVE_THROTTLE_POS: Relative throttle position
DTC_CATALYST_TEMP_B1S2: âDTC Catalyst Temperature: Bank 1 - Sensor 2â
DTC_CATALYST_TEMP_B1S1: âDTC Catalyst Temperature: Bank 1 - Sensor 1â
DTC_THROTTLE_ACTUATOR: DTC Commanded throttle actuator
DTC_RUN_TIME: DTC Engine Run Time
DTC_PIDS_C: âDTC Supported PIDs [41-60]â
DTC_PIDS_B: âDTC Supported PIDs [21-40]â
SHORT_O2_TRIM_B1: Short term secondary O2 trim - Bank 1
DTC_WARMUPS_SINCE_DTC_CLEAR: DTC Number of warm-ups since codes cleared
O2_S2_WR_CURRENT: 02 Sensor 2 WR Lambda Current
protocol:
baudrate: 500000
ecus:
- 2
- 1
- 1
id: â6â
name: ISO 15765-4 (CAN 11/500)
autodetected: true
Yes
$ obd.dump protocol=6 duration=0.1
Unknown format code âdâ for object of type âfloatâ
It seems that you are able to get information from the vehicle.
Try running the command obd.query RPM with the engine running to see what results you get.
Some manufacturers create a âfirewallâ of sorts that blocks outside sources from listening to internal car system data. This means that if you are experiencing an issue of not being able to sniff any data, it might be the case that you canât listen at all and youâll have to instead query for that data.
Looking at the responses that youâve received, it may very well be the case that the RAV4 uses PIDs instead of CAN Messages and CAN Signals. What this means is that the vehicle is waiting for requests of information instead of broadcasting that information all the time.
This means that you will be able to get information about your vehicle by using the obd.query command. The way that you executed the command is a perfect example for a pre-defined query:
obd.query RPM
If youâd like to execute a more specific query, you can do it like this:
Bear in mind however that it might be the case that information for the internal combustion engine uses one protocol and the electric information is on another protocol. What I can suggest if you would like to find more information on this is to browse forums for your specific vehicle.