Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QLowEnergyController random sudden disconnection
Forum Updated to NodeBB v4.3 + New Features

QLowEnergyController random sudden disconnection

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 415 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.
  • M Offline
    M Offline
    MarcoChiesi79
    wrote on last edited by MarcoChiesi79
    #1

    Dear all,
    I wrote an application for Raspeberry PI 4 based on the classic Bluetooth Low Energy Overview example to catch data from some device. It really does not differ from the example. I have no problem with device who gives data with a single shot (20 bytes), but I often have problem with a device who is giving data with multiple characteristicChanged events. In this case i have to concatenate strings to have the complete string to manage, but often my QLowEnergyController disconnect suddenly, so my string is uncomplete.
    Any help would be appreciated.
    Thanks
    Marco Chiesi

    M 1 Reply Last reply
    0
    • M MarcoChiesi79

      Dear all,
      I wrote an application for Raspeberry PI 4 based on the classic Bluetooth Low Energy Overview example to catch data from some device. It really does not differ from the example. I have no problem with device who gives data with a single shot (20 bytes), but I often have problem with a device who is giving data with multiple characteristicChanged events. In this case i have to concatenate strings to have the complete string to manage, but often my QLowEnergyController disconnect suddenly, so my string is uncomplete.
      Any help would be appreciated.
      Thanks
      Marco Chiesi

      M Offline
      M Offline
      MarcoChiesi79
      wrote on last edited by
      #2

      @MarcoChiesi79 said in QLowEnergyController random sudden disconnection:

      Dear all,
      I wrote an application for Raspeberry PI 4 based on the classic Bluetooth Low Energy Overview example to catch data from some device. It really does not differ from the example. I have no problem with device who gives data with a single shot (20 bytes), but I often have problem with a device who is giving data with multiple characteristicChanged events. In this case i have to concatenate strings to have the complete string to manage, but often my QLowEnergyController disconnect suddenly, so my string is uncomplete.
      Any help would be appreciated.
      Thanks
      Marco Chiesi

      I can add that the error displayed in the console is
      qt.bluetooth.bluez: Aborting onDescWriteFinished

      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