# HG changeset patch # User Ideenmodellierer # Date 1764356402 -3600 # Node ID 4ace58a7c03caf7d577b30f8a6df701b33fc2343 # Parent 177f640940f2fba665b111ddeac2a0694d5f279d Send disconnect command before closing the connection The old BT module transmitted a notification in case a connection were closed which cause the ostc to exit the uart loop. The new one doesn't do this => send disconnect command to avoid waiting in the installation loop till timeout or button press. diff -r 177f640940f2 -r 4ace58a7c03c OSTC4Operations.cpp --- a/OSTC4Operations.cpp Fri Nov 28 19:57:35 2025 +0100 +++ b/OSTC4Operations.cpp Fri Nov 28 20:00:02 2025 +0100 @@ -374,8 +374,7 @@ //---- Done -------------------------------------------------------------- // Low-level close, to avoid trying to send a 0xFF byte... if( !dryRun ) { - _serial.close(); - _connectMode = CLOSED_MODE; + disconnect(true); } PROGRESS_RESET();