Obsolete Members for QLowEnergyController

The following members of class QLowEnergyController are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) QLowEnergyController(const QBluetoothAddress &remoteDevice, QObject *parent = nullptr)
(obsolete) QLowEnergyController(const QBluetoothDeviceInfo &remoteDeviceInfo, QObject *parent = nullptr)
(obsolete) QLowEnergyController(const QBluetoothAddress &remoteDevice, const QBluetoothAddress &localDevice, QObject *parent = nullptr)
(obsolete) dumpObjectInfo()
(obsolete) dumpObjectTree()

Member Function Documentation

QLowEnergyController::QLowEnergyController(const QBluetoothAddress &remoteDevice, QObject *parent = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Constructs a new instance of this class with parent.

The remoteDevice must contain the address of the remote Bluetooth Low Energy device to which this object should attempt to connect later on.

The controller uses the local default Bluetooth adapter for the connection management.

QLowEnergyController::QLowEnergyController(const QBluetoothDeviceInfo &remoteDeviceInfo, QObject *parent = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Constructs a new instance of this class with parent.

The remoteDeviceInfo must contain the details of the remote Bluetooth Low Energy device to which this object should attempt to connect later on.

The controller uses the local default Bluetooth adapter for the connection management.

This function was introduced in Qt 5.5.

QLowEnergyController::QLowEnergyController(const QBluetoothAddress &remoteDevice, const QBluetoothAddress &localDevice, QObject *parent = nullptr)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Constructs a new instance of this class with parent.

The remoteDevice must contain the address of the remote Bluetooth Low Energy device to which this object should attempt to connect later on.

The connection is established via localDevice. If localDevice is invalid, the local default device is automatically selected. If localDevice specifies a local device that is not a local Bluetooth adapter, error() is set to InvalidBluetoothAdapterError once connectToDevice() is called.

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.