Bug while parsing and sending the 6th DTC code to the HUB
Posted: Tue Jan 09, 2018 7:46 pm
Hi,
I am using the OBDII Emulator board and GUI with the FreematicsOnePlus. I have configured the Emulator to send 6 different DTC codes to the FreematicsOnePlus.
The first 5 DTC are read properly, but the sixth one is always read with value 1. I have tried several different DTC codes as the 6th one and always have seen the FreematicsOnePlus show that its value is equal to 1.
I have loaded the latest code available on GitHub on the FreematicsOnePlus when doing this test. The DTCs I have generated with the Emulator are following:
P0108, P0109, P0110, P0111, P0112 and P0113.
I have modified the code so that the dongle shows a printout of all received DTC in the serial console. The printout is available in the following image:
https://imgur.com/a/sMrqm
It seems to me that the bug could be in the libraries, in the readDTC function.
Thank you for the help.
I am using the OBDII Emulator board and GUI with the FreematicsOnePlus. I have configured the Emulator to send 6 different DTC codes to the FreematicsOnePlus.
The first 5 DTC are read properly, but the sixth one is always read with value 1. I have tried several different DTC codes as the 6th one and always have seen the FreematicsOnePlus show that its value is equal to 1.
I have loaded the latest code available on GitHub on the FreematicsOnePlus when doing this test. The DTCs I have generated with the Emulator are following:
P0108, P0109, P0110, P0111, P0112 and P0113.
I have modified the code so that the dongle shows a printout of all received DTC in the serial console. The printout is available in the following image:
https://imgur.com/a/sMrqm
It seems to me that the bug could be in the libraries, in the readDTC function.
Thank you for the help.