Closed waynehuangplus closed 2 years ago
Thank you for reaching out.
In the J1979DA standard there are two different PIDs about Engine Coolant Temperature
The one with PID 0x5 is already in the json: https://github.com/aws/aws-iot-fleetwise-edge/blob/v0.1.3/tools/cloud/obd-decoders.json#L51 but because the names inside the json must be unique we called it Vehicle.OBD.CoolantTemperature
. This might be indeed confusing.
The PID 103 (0x67) consists of 3 signals (3 bytes). The first EngineCoolantTemperature
(that you modified here) is a bit mask and tells you if ECT1 or ECT2 are present then the following two EngineCoolantTemperature1
and EngineCoolantTemperature2
give the temperature from the corresponding sensor.
So i close this CR. If you have problem reading PID 0x5 Vehicle.OBD.CoolantTemperature
from your car please reach out again.
According to
./datamanagement/types/include/OBDDataTypes.h
definition, the pid of EngineCoolantTemperature should be 0X05.When the campaign is triggered on the demo script, it will use
obd-decoders.json
as the decoder manifest with OBD signals, however, thepid
definition on theobd-decoders.json
is different to theOBDDataTypes.h
defined. It causes the issue that theVehicle.OBD.EngineCoolantTemperature
data can't be collected on FleetWise.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.