Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Bluetooth Low Energy get all scanresults data from peripheral



  • Hi,

    i am using Qt to develop an android app and everything works fine.
    QBluetoothDeviceInfo only returns some values (like RSSI, Manufacture Data etc...) but not all of them.
    I found in this file "qtconnectivity/src/bluetooth/android/devicediscoverybroadcastreceiver.cpp"
    This function:

    void DeviceDiscoveryBroadcastReceiver::onReceiveLeScan(JNIEnv *env, jobject jBluetoothDevice, jint rssi, jbyteArray scanRecord)
    

    Is there a way to get access to "scanRecord" buffer array?

    I would like to know if the device is connectable for example or get all data from the peripheral advertising array.

    Best regards,

    Michael


Log in to reply