Using Qt 5.8, can I send & receive beacons on android & iOS devices?



  • I want to use my Qt app based on Qt5.8 to be able to send & receive beacons in iBeacon format.

    When I run the heart-rate listener example in Qt5.8 on iOS, it is able scan some nearby beacon devices.

    But running it on android gives the following error:

    W libheartrate-server.so: (null):0 ((null)): qt.bluetooth.android: LE advertising not implemented for Android
    

    Is beacons based communication (send+receive) on Qt 5.8 fully supported on android & iOS ?

    I need some example of sending & receiving at least some numbers back & forth using Qt BLE API. Please suggest


  • Moderators

    @Nelson_Piquet I don't think this warning is related to your problem, as "Bluetooth LE Advertisement & Scanning" isn't supported on iOS as well (see http://doc.qt.io/qt-5/qtbluetooth-index.html). Not sure whether the problem is missing support for "Bluetooth LE Peripheral" on Android.



  • I did some figuring out. It is a problem to run the heart server bluetooth example. This constraint is ok. All I need is some example code to send & receive data using BLE on Qt 5.8. Is there an example other than the heart listener app . Can someone provide an existing example of this wtih Qt ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.