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. QLowenergyController destroy fail

QLowenergyController destroy fail

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 348 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.
  • KutyusK Offline
    KutyusK Offline
    Kutyus
    wrote on last edited by Kutyus
    #1

    Hi!

    I develop a BLE app in Qt 5.11.2.
    If I connecting and disconnecting to a device, I received a QLowenergyContoller disconnected signal, and I deleted the QLowenergController object without error.

    But, if I try to connect to a device, and it is not success, for exapmle it is switched off, I received an Unknownerror, a Closingstate and an UnconnectedState.
    If I trying to destroy the QLowenergyController object now, I receive a Segmentation Fault, this is the gdb output:

    #0  QDBusAbstractInterface::asyncCallWithArgumentList (this=0x0, method=..., args=...) at qdbusabstractinterface.cpp:519
    #1  0x7646c7c8 in OrgBluezDevice1Interface::Disconnect (this=<optimized out>) at bluez/device1_bluez5_p.h:144
    #2  QLowEnergyControllerPrivateBluezDBus::disconnectFromDevice (this=0x1e7aa0) at qlowenergycontroller_bluezdbus.cpp:329
    #3  0x763f3038 in QLowEnergyController::disconnectFromDevice (this=<optimized out>) at qlowenergycontroller.cpp:621
    
    
    

    In Qt 5.10.1 after unsuccesful connection I received the unconnected signal.

    Thanks in advance

    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