Fix: STN (OBDLink SX/EX) KWP Session Drops & Implement Software Keep-Alive#35
Fix: STN (OBDLink SX/EX) KWP Session Drops & Implement Software Keep-Alive#35RK392 wants to merge 3 commits into
Conversation
…apter communication timeouts
|
Just some notes:
Did you use chatgpt for this? |
2912365 to
b885877
Compare
Hi Roffe, thank you for the insightful feedback!
And yes, I used the Antigravity IDE to help me navigate the codebase, write the fixes, and test them! Thanks again for taking the time to review it. |
Problem:
When using STN-based adapters (specifically the OBDLink SX and OBDLink EX), users frequently experience KWP session drops and "NO DATA" communication timeouts in T7Suite and TrionicCANFlasher when the application idles. This occurs because the software keep-alive timer was previously left uninitialized, and the adapter initialization sequence did not properly permit the 8-byte keep-alive payloads to pass through.
Changes in this PR:
Impact:
These changes drastically improve connection stability for OBDLink users during live reading, parameter editing, and flashing, fully resolving the issue where users previously had to restart the software to regain connection to the ECU.