QBluetoothSocket connection breaks after 4 seconds idle. Why?



  • 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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.