Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved Bluetooth Low Energy Scanner Example Notification Issue.

    Mobile and Embedded
    ble notification notify low energy
    1
    1
    102
    Loading More Posts
    • 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.
    • Y
      yavuz last edited by

      Hi everybody,

      I am very new on Qt.

      I am using Qt 5.15.2 for Android. (creator version is 6.0.2)

      Simply, I just selected the Qt Low Energy Scanner example from the examples in the Qt Creator and compiled it.
      My Samsung mobile phone can connect succesfully to my board(ESP32C3) and can discover all characteristics' details. However, it doesn't update the characteristics' value. My example supports notifications. I did some modifications in the code and Qt Low Energy Scanner example subscribed to my device. But, still it doesn't update the value.

      The notification codes were missing. When I was googling, I found it from Qt website and put it.
      As I understand, something is missing about the characteristicChanged(); signal.

      I think this signal should be connected to the slot. But I could not do it. I don't know any idea how to do it.

      You can find the source code from Qt Creater (welcome page >>Examples), but if you have any issue also find it below link.

      https://code.qt.io/cgit/qt/qtconnectivity.git/tree/examples/bluetooth/lowenergyscanner?h=5.15
      Does anyone help me? Urgent please...

      1 Reply Last reply Reply Quote 0
      • First post
        Last post