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, const QBluetoothAddress &localDevice, QObject *parent = nullptr) |
(obsolete) | QLowEnergyController(const QBluetoothDeviceInfo &remoteDeviceInfo, QObject *parent = nullptr) |
(obsolete) | QLowEnergyController(const QBluetoothAddress &remoteDevice, QObject *parent = nullptr) |
Member Function Documentation
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.
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, 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.