Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. ble

    Log in to post
    • All categories
    • F

      Unsolved Qt 5.14.2 BLE not working as expected on Android
      General and Desktop • ble bluetooth qtbluetooth • • Fausto01

      1
      0
      Votes
      1
      Posts
      147
      Views

      No one has replied

    • Y

      Unsolved Bluetooth Low Energy Scanner Example Notification Issue.
      Mobile and Embedded • ble notification notify low energy • • yavuz

      1
      0
      Votes
      1
      Posts
      115
      Views

      No one has replied

    • D

      Unsolved Segmentation Fault in BLE Heart Rate Game example adaptation code.
      Qt 6 • ble example qt6.2 • • DukeReddy

      1
      0
      Votes
      1
      Posts
      119
      Views

      No one has replied

    • P

      Unsolved Will Bluetooth SPP deprecate? And how to implement your own "SPP" in Bluetooth Low Energy?
      General and Desktop • bluetooth rfcomm spp ble • • pga4711

      1
      1
      Votes
      1
      Posts
      150
      Views

      No one has replied

    • S

      Unsolved Can calling a slot too often lead to delays in data transfer?
      General and Desktop • signals & slots ble • • SpaceToon

      7
      0
      Votes
      7
      Posts
      468
      Views

      S

      @JonB Oh, I thought I had the same, fixed it, thanks

    • T

      Solved Requirement for users to use a BLE application
      General and Desktop • ble bluez bluetooth linux windows • • TUStudi

      3
      0
      Votes
      3
      Posts
      383
      Views

      T

      @sierdzio Thank you very much!

    • T

      Unsolved Testing developed BLE App for Linux
      General and Desktop • linux ble deploy deployment • • TUStudi

      3
      0
      Votes
      3
      Posts
      327
      Views

      aha_1980

      Hi @TUStudi,

      This virtual maschine need to support Bluetooth Low Energy.

      If you have an USB bluetooth dongle/adapter, than you can most likely inject this dongle into the virtual machine and use it there. Note that even bluetooth adapters built into your laptop may be an USB devices and could work that way.

      So I'd say it depends on a test.

      Regards

    • P

      Unsolved What is the purpose of QBluetoothDeviceDiscoveryAgent::setLowEnergyDiscoveryTimeout?
      General and Desktop • ble bluetooth low e linux bluez5 • • pohlondrej.1

      1
      0
      Votes
      1
      Posts
      240
      Views

      No one has replied

    • S

      Unsolved BLE on Windows 10 : wrong DataCompleteness value
      General and Desktop • qbluetooth ble windows 10 • • sfeutrier

      1
      0
      Votes
      1
      Posts
      262
      Views

      No one has replied

    • Z

      Unsolved Unable to update Bluetooth connection paramaters. QT BLE
      General and Desktop • ble bluetooth c++ • • ZainMehdi

      1
      0
      Votes
      1
      Posts
      214
      Views

      No one has replied

    • H

      Unsolved Qt Bluetooth in Windows: QBluetoothDeviceDiscoveryAgent::PoweredOffError not emitted
      General and Desktop • qtbluetooth ble bluetooth bluetoothapis bluetooth low e • • harip

      4
      0
      Votes
      4
      Posts
      304
      Views

      sierdzio

      Ah ok sorry! Indeed last time I worked with BT it was with older Qt version.

    • S

      Unsolved Bluetooth Low Energy: State 'ServiceDiscovered' is never reached
      General and Desktop • bluetooth bluetooth low e ble signal & slot • • SpaceToon

      19
      0
      Votes
      19
      Posts
      1679
      Views

      D

      The QTBluetooth Central API is not supported on any platform.
      see the first table in Qt Bluetooth

    • S

      Solved Bluetooth Low Energy Scanner: Discover Service Details
      General and Desktop • ble bluetooth low e scanner • • SpaceToon

      9
      0
      Votes
      9
      Posts
      790
      Views

      O

      i had same error in my project.
      this page helped me -> https://forum.qt.io/topic/117241/why-qlowenergyservice-unknownerror/2

      i have changed my code from

      connect(controller, &QLowEnergyController::discoveryFinished, this, &Device::serviceScanDone);

      to

      connect(controller, &QLowEnergyController::discoveryFinished, this, &Device::serviceScanDone,Qt::QueuedConnection);

      and problem disappeared.

    • S

      Solved SLOT is not executed after successfully contected to BLE-Device
      General and Desktop • ble bluetooth signal & slot signals slots • • SpaceToon

      7
      0
      Votes
      7
      Posts
      517
      Views

      S

      @J-Hilk Thank you, JonB and you were right. For me it actually makes more sense that e.g. at first you connect to the device and then you say "okay, if the signal "connected" is emitted then call the function x.y.". So after changing it, it works now. However, after getting all services and calling "service->discoverDetails" and then "service->characteristics" the characteristics List is empty.

      After connection is successfull:

      void Scanner::startServiceDiscovery(){ connect(controller, &QLowEnergyController::discoveryFinished, this, &Scanner::discoveryFinished); controller->discoverServices(); } void Scanner::discoveryFinished(){ qDebug() << "\nService Discovery finished. Following Services found:\n"; QList<QBluetoothUuid> serviceList = controller->services(); for(QBluetoothUuid &sl : serviceList){ qDebug() << controller->createServiceObject(sl)->serviceName() << "Uuid: " << sl; } uartService = controller->createServiceObject(adafruitServiceUuid); qDebug() <<"\nChose the following service: " << (*uartService).serviceName(); connect(uartService, &QLowEnergyService::stateChanged, this, &Scanner::printChars); qDebug() << uartService->state(); //here the state is QLowEnergyService::DiscoveryRequired uartService->discoverDetails(); } void Scanner::printChars(){ qDebug() << uartService->state(); // here the state is now QLowEnergyService::DiscoveringServices const QList<QLowEnergyCharacteristic> chars = uartService->characteristics(); qDebug()<< chars.size(); //however the list size is 0 for (const QLowEnergyCharacteristic &ch : chars) { qDebug() << &ch; } }

      btw: I know that there is an example for BLE Scanner. But for a project, I want to create an own desktop application which connnects to a peripheral and live plots the data which are received from the sensor with qcustomplot. So I need a QWidget Application because QCustomPlot is a widget...

    • E

      Unsolved bluetooth LE receive bandwidth
      General and Desktop • ble threads performance • • efiLabs

      2
      0
      Votes
      2
      Posts
      454
      Views

      A

      @efiLabs I am facing same kind of problem. I working on my linux laptop (ubuntu 18.0). I have run an application in cetral mode of ble. When this application is started to receive the data it receive some 20 packets of 509 bytes chunks and then after it hangs. When i googled it, i realized it may be the problem of throughput.

      Is there any api in Qt to tell the peripheral device to send the data in low throughput ?

    • J

      Unsolved BluetoothDiscoveryModel.FullServiceDiscovery issue?
      QML and Qt Quick • qml bluetooth ble • • JesperWe

      1
      0
      Votes
      1
      Posts
      537
      Views

      No one has replied

    • A

      Unsolved Bluetooth Low Energy example doesn't work
      General and Desktop • bluetooth low energy ble windows 10 qt 5.10.0 • • Ashi

      19
      0
      Votes
      19
      Posts
      6476
      Views

      A

      @Ashi Sorry, I'm too late to answer this post. I think you should try with msvc compiler, not mingw

    • H

      Unsolved BLE notification
      General and Desktop • ble qlowenergychara qlowenergydescr • • helenebro

      2
      0
      Votes
      2
      Posts
      1523
      Views

      mwallnoefer

      @helenebro I managed to get to the bottom of the problem (it is due to a firmware bug in these BLE low-cost modules), see my bug report under https://bugreports.qt.io/browse/QTBUG-83363.

    • M

      Unsolved GATT server definition
      General and Desktop • ble bluetooth bluetooth low e • • Mark81

      1
      0
      Votes
      1
      Posts
      635
      Views

      No one has replied

    • M

      Unsolved How to receive Apple Notifications
      General and Desktop • apple push notificati ble bluetooth bluetooth low e • • Mark81

      5
      0
      Votes
      5
      Posts
      1539
      Views

      SGaist

      Then I'd recommend asking this on the interest mailing list. You'll find there the QtBluetooth module maintainers/developers.