Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QBluetoothSocket connection breaks after 4 seconds idle. Why?

QBluetoothSocket connection breaks after 4 seconds idle. Why?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 403 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cyril4
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved