Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QBluetoothSocket connection breaks after 4 seconds idle. Why?
Cyril4 last edited by
My application runs on Android and transfers data from my dive computer via bluetooth.
After transferring the contents table the user is asked to choose the data sets to download. This means the connection is idle . The dive computer has a 120 seconds timeout in this state which it indicates by counting down.
But on Android 5 and 6 the connection breaks after 4 seconds. This is not the case on Android 4.1.
Furthermore Qt doesn't indicate this connection break. But the dive computer sees it. My application fails not unil the next send data call.
Does anybody know where this 4 seconds timeout comes from which is there for Android 5 and 6 but not on Android 4.1?