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. Bluetooth on Android lagging (RFCOMM Prot. based on BT-Chat Example)
Qt 6.11 is out! See what's new in the release blog

Bluetooth on Android lagging (RFCOMM Prot. based on BT-Chat Example)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 589 Views 1 Watching
  • 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.
  • Flaming MoeF Offline
    Flaming MoeF Offline
    Flaming Moe
    wrote on last edited by Flaming Moe
    #1

    Hello there -

    my issue is kind of specific so, if there is no solution findable, that´s ok.

    I have an App with a bluetooth connection based on the BT-Chat Example using the RFCOMM Protocoll and connects to a HC-06.
    In principle it works, but there are "human-noticable" laggs at least on incomming datas until they arrive in the application. They are send every 20ms and are 30 bytes long.
    I checked the application by running it on desktop and hook up the data source/sink which is connected to the HC-06 to a Virtual-Com-Port which works without lag.
    So the issue isn´t inside the data source/sink.

    Does someoe have an idea? May be it´s due to the protocoll, or an Android / Scheduler-thing...?

    best regards,
    Moe

    A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

    ekkescornerE 1 Reply Last reply
    0
    • Flaming MoeF Flaming Moe

      Hello there -

      my issue is kind of specific so, if there is no solution findable, that´s ok.

      I have an App with a bluetooth connection based on the BT-Chat Example using the RFCOMM Protocoll and connects to a HC-06.
      In principle it works, but there are "human-noticable" laggs at least on incomming datas until they arrive in the application. They are send every 20ms and are 30 bytes long.
      I checked the application by running it on desktop and hook up the data source/sink which is connected to the HC-06 to a Virtual-Com-Port which works without lag.
      So the issue isn´t inside the data source/sink.

      Does someoe have an idea? May be it´s due to the protocoll, or an Android / Scheduler-thing...?

      best regards,
      Moe

      ekkescornerE Offline
      ekkescornerE Offline
      ekkescorner
      Qt Champions 2016
      wrote on last edited by
      #2

      @Flaming-Moe don't know if this is relevant, but in most cases where I connected via BT SPP each data package is max 20 Bytes long

      ekke ... Qt Champion 2016 | 2024 ... mobile business apps

      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