Adding specific expected message sizes for certain requests
authorPaul Robinson <darkraver@gmail.com>
Wed, 7 Nov 2012 21:57:16 +0000 (21:57 +0000)
committerPaul Robinson <darkraver@gmail.com>
Wed, 7 Nov 2012 21:57:16 +0000 (21:57 +0000)
obd_sensors.py

index 1f8c6d2..ebf323b 100644 (file)
@@ -146,12 +146,12 @@ SENSORS = [
     Sensor("long_term_fuel_trim_2" , "     Long Term Fuel Trim", "0109", fuel_trim_percent,"%"      ),
     Sensor("fuel_pressure"         , "      Fuel Rail Pressure", "010A", cpass            ,""       ),
     Sensor("manifold_pressure"     , "Intake Manifold Pressure", "010B", intake_m_pres    ,"psi"    ),
-    Sensor("rpm"                   , "              Engine RPM", "010C", rpm              ,""       ),
-    Sensor("speed"                 , "           Vehicle Speed", "010D", speed            ,"MPH"    ),
+    Sensor("rpm"                   , "              Engine RPM", "010C1", rpm              ,""       ),
+    Sensor("speed"                 , "           Vehicle Speed", "010D1", speed            ,"MPH"    ),
     Sensor("timing_advance"        , "          Timing Advance", "010E", timing_advance   ,"degrees"),
     Sensor("intake_air_temp"       , "         Intake Air Temp", "010F", temp             ,"C"      ),
     Sensor("maf"                   , "     Air Flow Rate (MAF)", "0110", maf              ,"lb/min" ),
-    Sensor("throttle_pos"          , "       Throttle Position", "0111", throttle_pos     ,"%"      ),
+    Sensor("throttle_pos"          , "       Throttle Position", "01111", throttle_pos     ,"%"      ),
     Sensor("secondary_air_status"  , "    Secondary Air Status", "0112", cpass            ,""       ),
     Sensor("o2_sensor_positions"   , "  Location of O2 sensors", "0113", cpass            ,""       ),
     Sensor("o211"                  , "        O2 Sensor: 1 - 1", "0114", fuel_trim_percent,"%"      ),