***********************************************************************************************************
The J1699-5 software
***********************************************************************************************************


-- Version 02 J1699-5



Revision 02.06.01
	ClearCodes.c
	issue 5-10015 - Change Europe and China compliance types to better match document.

	DetermineProtocol.c
	issue 5-10008 - Fix loss of 29-bit communication after second determination of protocol.

	j1699.c
	Update version number.
	issue 5-10015 - Change Europe and China compliance types to better match document.
	issue 5-10016 - Replace EngineType with EnergyType and FuelType to match document.

	j1699.h
	issue 5-10016 - Add definitions for EnergyType and FuelType and remove EngineType and gbDiesel.
	issue 5-10015 - Change Europe and China compliance types to better match document.

	LogPrint.c
	issue 5-10016 - Replace logging of EngineType with logging of EnergyType and FuelType to match document.

	RequestSID.c
	issue 5-10012 - Fix error in handling response to SID $19 $04 $33 $04 (and $08).

	ResetSIDResponseData.c
	issue 5-10012 - Fix error in handling response to SID $19 $04 $33 $04 (and $08).

	SaveSIDResponseData.c
	issue 5-10012 - Fix error in handling response to SID $19 $04 $33 $04 (and $08).

	Test10_InUseCounters.c
	issue 5-10016 - Replace gbDiesel check with FuelType check.

	Test11_PerformanceCounters.c
	issue 5-10015 - Change Europe and China compliance types to better match document.
	issue 5-10016 - Replace gbDiesel check with FuelType check (replace spark and compression ignition with Gasoline and Diesel in comments) to match document.

	Test5_NoDTC.c
	issue 5-10011 - Remove Freeze Frame Data test.

	Test6_PendingDTC.c
	issue 5-10011 - Remove Freeze Frame Data test.
	issue 5-10015 - Change Europe and China compliance types to better match document.

	Test7_ConfirmedDTC.c
	issue 5-10011 - Remove Freeze Frame Data test.

	Test8_FaultRepaired.c
	issue 5-10011 - Remove Freeze Frame Data test.

	Test9_NoFaultsAfter3DriveCycles.c
	issue 5-10011 - Remove Freeze Frame Data test.

	Test9_8to21_PermanentCodes.c
	issue 5-10015 - Change Europe and China compliance types to better match document.

	VerifyConfirmedDTCData.c
	issue 5-10012 - Fix error in handling response to SID $19 $04 $33 $04 (and $08).

	VerifyINFSupportAndData.c
	issue 5-10016 - Replace gbDiesel check with FuelType check (replace spark and compression ignition with Gasoline and Diesel in comments) to match document.
	issue 5-10015 - Change Europe and China compliance types to better match document.
	issue 3-1062  - Fix support checks for INF $F878
	issue 3-1063  - Fix support checks for INF $F877
	issue 5-10009 - Fix incorrect text in support failure for $F4AD, $F4AF, $F4B0
	issue 3-1065  - Fix loss of accuracy in calculations with large values for INFs $17,$18,$1A-C,$41-6,$48-9,$53-8,$61-4,$66-A,$6C-70,$72-4,$76-7

	VerifyMIDSupportAndData.c
	issue 5-10015 - Replace gbDiesel check with FuelType check and replace bSparkIgnMonSup with bGasolineMonSup (replace spark and compression ignition with Gasoline and Diesel in comments) to match document.

	VerifyMILData.c
	issue 5-10010 - Fix evaluation of IM Readiness bits in $F501

	VerifyPendingDTCData.c
	issue 5-10012 - Fix error in handling response to SID $19 $04 $33 $04 (and $08).

	VerifyPIDSupportAndData.c
	issue 5-10016 - Replace gbDiesel check with FuelType check (replace spark and compression ignition with Gasoline and Diesel in comments) to match document.
	issue 5-10015 - Change Europe and China compliance types to better match document.
	issue 5-10014 - Test 5.6 is failing all ECUs if they do not support EGS, CV, EGR, CSER.
	issue 5-10010 - Fix evaluation of IM Readiness bits in $F501 causing false failures.




Revision 02.06.00
	CheckIDSupport.c
	issue 5-10007 - Allow subtest to continue after failure in DID-Support DID check.

	ClearCodes.c
	issue 3-1054 - EOBD allows ECUs to reply both positively and negatively to Clear Codes request.

	ConnectProtocol.c
	issue 3-1049 - Fix additional failures when closing channels for unsupported protocols of partially-compliant j2534 interfaces.

	DetermineProtocol.c
	issue 3-1049 - Fix additional failures when closing channels for unsupported protocols of partially-compliant j2534 interfaces.

	j1699.c
	Update version number.
	issue 3-1035 - Add Medium Duty Truck to Vehicle Type Options (MD for trucks chassis certified and MDDC for trucks dyno certified).
	issue 3-1047 - Change wording to ECU number prompt to match changes in doc V17.04.
	issue 3-1053 - Add delay after banner display to prevent screen issues on Windows 11 machines.
	issue 5-10006 - Remove prompt to "Disable Tester Present Messages?" (Tester Present Messages are always disabled now).

	j1699.h
	issue 5-10002/5-10003 - Add defines for new NAK values to be supported in UDS.
	issue 3-1035 - Add Medium Duty Truck to Vehicle Type Options (MD for trucks chassis certified and MDDC for trucks dyno certified).

	LogPrint.c
	issue 3-1060 - Fix poorly formatted failure message which would cause application to crash if current and previous test vehicle types did not match.

	RequestSID.c
	issue 5-10002/5-10003 - Add support for new NAK values to be supported in UDS.

	Test10_InUseCounters.c
	issue 3-1035 - Change refernce to MD to MDDC to match new vehicle type definitions.
	issue 3-1052 - To prevent incorrect IUMPR values in Test 11.2, only free ECUs IPT memory if in Test 9.19, move ReadIPT to TestToVerifyPerformanceCounters.c (the only file where it's called).

	Test11_PerformanceCounters.c
	issue 3-1057 - Fix improper failure on ESC (Abort) from test 11.2, also note any true failures before allowing test to abort.
	issue 3-1051 - Log UNSUPPORTED for unsupported IUMPR rather than zero to match on screen display.

	Test6_PendingDTC.c
	issue 3-1047 - Change wording to Test 6.1 prompt to induce failure and drive cycle prompt to match changes in doc V17.04.

	Test7_ConfirmedDTC.c
	issue 3-1047 - Change wording to Test 7.1 prompt to keep failure present prompt to match changes in doc V17.04.

	Test9_8to21_PermanentCodes.c
	issue 3-1047 - Change wording to Test 9.8 prompt to induce failure and drive cycle prompt to match changes in doc V17.04.

	VerifyINFSupportAndData.c
	issue 3-1035 - Change old refernces to MD to MDDC and add new MD to match new vehicle type definitions.
	issue 3-1048 - INF $77 should not have a phase-in period warning.

	VerifyMIDSupportAndData.c
	issue 5-10002/5-10003 - Add support for new NAK values to be supported in UDS

	VerifyMILData.c
	issue 5-10002/5-10003 - Add support for new NAK values to be supported in UDS.

	VerifyPendingDTCData.c
	issue 5-10004 - Allow use of ignored DTCs read from ini file.

	VerifyPIDSupportAndData.c
	issue 5-10002/5-10003 - Add support for new NAK values to be supported in UDS.
	issue 3-1060 - Add evaluation for $F4A2.
	issue 3-1035 - Change old refernces to MD to MDDC and add new MD to match new vehicle type definitions.



Revision 02.03.00

Files renamed to better fit naming conventions:
CheckMILLight.c                           changed to  CheckMIL.c
DIDSupport.c                              changed to  CheckIDSupport.c
SidRequest.c                              changed to  RequestSID.c
SidResetResponseData.c                    changed to  ResetSIDResponseData.c
SidSaveResponseData.c                     changed to  SaveSIDResponseData.c
TestToVerifyInUseCounters.c               changed to  Test10_InUseCounters.c
TestToVerifyPerformanceCounters.c         changed to  Test11_PerformanceCounters.c
TestToVerifyPermanentCodes.c              changed to  Test9_8to21_PermanentCodes.c
TestWithConfirmedDtc.c                    changed to  Test7_ConfirmedDTC.c
TestWithFaultRepaired.c                   changed to  Test8_FaultRepaired.c
TestWithNoDtc.c                           changed to  Test5_NoDTC.c
TestWithNoFaultAfter3DriveCycles.c        changed to  Test9_NoFaultsAfter3DriveCycles.c
TestWithPendingDtc.c                      changed to  Test6_PendingDTC.c
VerifyControlSupportAndData.c             changed to  VerifyTIDSupportAndData.c
VerifyDiagnosticBurstSupport.c            changed to  VerifyPIDBurstSupport.c
VerifyDiagnosticSupportAndData.c          changed to  VerifyPIDSupportAndData.c
VerifyDTCPendingData.c                    changed to  VerifyPendingDTCData.c
VerifyDTCStoredData.c                     changed to  VerifyConfirmedDTCData.c
VerifyFreezeFrameSupportAndData.c         changed to  VerifyFFSupportAndData.c
VerifyLinkActive.c                        changed to  VerifyECUCommunication.c
VerifyMonitorTestSupportAndResults.c      changed to  VerifyMIDSupportAndResults.c
VerifyPermanentCodeSupport.c              changed to  VerifyPermanentDTCData.c
VerifyVehicleInformationSupportAndData.c  changed to  VerifyINFSupportAndData.c


Files removed from j1699-5 project to consolidation related functionality to fewer files:
IsDTCPending.c functionality moved to  VerifyPendingDTCData.c
IsDTCStored.c  functionality moved to  VerifyConfirmedDTCData.c

all .c and .h files
	Update code for move to Visual Studio 2022, safer string and dynamic memory handling, standardization of variable naming and coding practices,
	commonization of code with j1699-3, and implementing V2.3 of the j1699-5 document.

	ClearCodes.c
	issue 3-1020 - China6 allows ECUs to reply both positively and negatively to Clear Codes request
	issue 3-1032 - China6 allows ECUs to reply both positively and negatively to Clear Codes request when engine running.

	DetermineProtocol.c
	issue 5-10000 - Use SID $22 INF $F810 for protocol identification instead of SID $1 PID $00

	j1699.c
	Update version number.
	issue 3-1033 - Change wording for Prompt Q03 to clarify VIN model year.
	issue 3-1025 - Fix sections of information missing from logfile.

	j1699.h
	issue 3-1030 - Add per ECU variable for FEOCNTR.

	LogPrint.c
	issue 3-1028 - Remove extra space between "****" and other text.

	ReadIni.c
	issue 3-1028 - Remove extra space between "****" and other text.

	SaveSIDResponseData.c
	issue 5-10000 - INF $F810 response indicates ECU's link is active

	StopTest.c
	issue 3-1025 - Fix sections of information missing from logfile.

	Test10_InUseCounters.c
	issue 1030 - Fix problems with use of pFEOCNTR causing application to crash.

	Test11_PerformanceCounters.c
	issue 3-1041 - Change TEST 11.2 on-screen text from RESERVED to GPF for gasoline vehicles.
	issue 3-1029 - Fix display of IUMPR data.
	issue 3-1031 - Fix waiting for unsupported bank completion.

	VehicleReport.c
	issue 3-1028 - Remove extra space between "****" and other text.

	VerifyECUCommunication.c
	issue 5-10000 - Use SID $22 INF $F810 for protocol identification

	VerifyPIDSupportAndData.c
	issue 3-1039 - Fix on-screen display of PID $A1 Byte A bits and comparison of NOXC11 and NOXC12 using TempData_float instead of TempData_long.
	issue 3-1040 - Fix resolution loss in calculation of PID $85 and $96 from using TempData_long instead of TempData_float (display only, no evaluation of these PIDS).

	VerifyReverseOrderSupport.c
	issue 3-1024 - Fix false failure for "Unsupported PID" in reverse order check of PID Support PIDs.

	VerifyINFSupportAndData.c
	issue 3-1013 - Implement Appendix A Vehicle Configuration requirements:
	               INFs $41-$47 and $50-$5B required by US gas and diesel heavy duty vehicles,
	               INFs $61-77 required by US diesel heavy and medium duty vehicles,
	               US vehicles which do not match these vehicle configurations but support these INFs fail,
	               INF $78 is required by all US light duty and gas and diesel heavy and medium duty vehicles.
	issue 3-1034 - Improve wording of 2022-2024 phase-in warning
	issue 3-1027 - INF $78 is required by only US medium duty and heavy duty diesel vehicles.




-- Version 01 J1699-5



Revision 01.04.00

All files changed to implement UDS on ISO15765

