diff --git a/Arduino/SenderTrial2/SenderTrial2.ino b/Arduino/SenderTrial2/SenderTrial2.ino index 44a78da..d74e56c 100644 --- a/Arduino/SenderTrial2/SenderTrial2.ino +++ b/Arduino/SenderTrial2/SenderTrial2.ino @@ -235,6 +235,16 @@ void loop() CommState.is(CommStates::HeaterRx1) || CommState.is(CommStates::HeaterRx2) ) { + if(CommState.is(CommStates::OEMCtrlRx)) { + DebugPort.println("Timeout collecting OEM controller data, returning to Idle State"); + } + else if(CommState.is(CommStates::HeaterRx1)) { + DebugPort.println("Timeout collecting OEM heater response data, returning to Idle State"); + } + else { + DebugPort.println("Timeout collecting BTC heater response data, returning to Idle State"); + } + CommState.set(CommStates::Idle); // revert to idle mode } } diff --git a/Documentation/V7 - Hacking the Chinese Diesel Heater Communications Protocol.pdf b/Documentation/V7 - Hacking the Chinese Diesel Heater Communications Protocol.pdf new file mode 100644 index 0000000..ec65027 Binary files /dev/null and b/Documentation/V7 - Hacking the Chinese Diesel Heater Communications Protocol.pdf differ