Page 1 of 1
OBD-II UART Adapter V2.1 not workimng on Porsche Boxster
Posted: Wed Aug 08, 2018 4:28 am
by AnkerBS
The adapter will not connect with the Boxster. I have two, a 2002 and a 2004, and it has the same problem with both of them. I have attached a screen shot of running the test application. The strange thing is that I tested it on my Mercedes and then on the Boxsters, and the very first time I tried it it did connect, but after that nothing. What are my options?
Thanks/Anker
Re: OBD-II UART Adapter V2.1 not workimng on Porsche Boxster
Posted: Sun Aug 12, 2018 9:49 pm
by stanley
Your cars must use protocol like ISO9141-2 as they are made more than 15 years ago. Technically your can try adjusting timing values.
ATPTH <AA>
Function: set initializing pulse time for (in hex, range of 0~255ms)
Example: ATPTH 19 (set to 25ms)
ATPTA <BB>
Function: set negative pulse duration before first data (in hex, range of 0~255ms)
Example: ATPTA 32 (set to 50ms)
Re: OBD-II UART Adapter V2.1 not workimng on Porsche Boxster
Posted: Sun Sep 30, 2018 5:43 pm
by Enclavet
Having same issue on my Porsche 996 turbo 2002.
I tried using the sendCommand to set those timing parameters but never got an Ok from the UART adapter.
Can you show some code to set those parameters?
The below kept on returning ERROR.
sprintf(buffer, "ATPTH 19\r");
delay(10);
if (!sendCommand(buffer, buffer, sizeof(buffer), OBD_TIMEOUT_SHORT) || !strstr(buffer, "OK")) {
continue;
}
Re: OBD-II UART Adapter V2.1 not workimng on Porsche Boxster
Posted: Tue Apr 23, 2019 3:38 am
by AnkerBS
So I assume the timing AT commands have to be added to COBD::init(OBD_PROTOCOLS protocol) in OBD2UART.cpp
Exactly where should they be inserted? In stage 1?
By changing
const char *initcmd[] = {"ATZ\r", "ATE0\r", "ATH0\r"};
to
const char *initcmd[] = {"ATZ\r", "ATE0\r", "ATH0\r", "ATPTH19\r", "ATPTA32\r"};
I am not sure where in the init sequence they need to be inserted.
I also assume I need to add a new protocol to ensure that I can select whether or not to include them.
Thanks/Anker