Important: Please read the Qt Code of Conduct -

Bluetooth Low energy read advertising data

  • Hi,
    is there a way to read the advertising data from the peripheral?
    I don't want to connect, only read manufacture data from advertising.
    Which class from Qt can I do it?
    I am scanning now like this:

    m_deviceDiscoveryAgent = new QBluetoothDeviceDiscoveryAgent(this);
    connect(m_deviceDiscoveryAgent, SIGNAL(deviceDiscovered(const QBluetoothDeviceInfo&)),
                this, SLOT(addDevice(const QBluetoothDeviceInfo&)));

    I couldn't get the advertising data with QBluetoothDeviceInfo class.

Log in to reply