Qt World Summit: Submit your Presentation

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,


Log in to reply