Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qlowenergycontroller_dummy.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
6
8
15
19
23
25{
26 // required to pass unit test on default backend
27 if (remoteDevice.isNull()) {
28 qWarning() << "Invalid/null remote device address";
30 return;
31 }
32
33 qWarning() << "QLowEnergyControllerPrivateCommon::connectToDevice(): Not implemented";
35}
36
41
46
52
53void QLowEnergyControllerPrivateCommon::readCharacteristic(const QSharedPointer<QLowEnergyServicePrivate> /*service*/,
54 const QLowEnergyHandle /*charHandle*/)
55{
56
57}
58
59void QLowEnergyControllerPrivateCommon::readDescriptor(const QSharedPointer<QLowEnergyServicePrivate> /*service*/,
60 const QLowEnergyHandle /*charHandle*/,
61 const QLowEnergyHandle /*descriptorHandle*/)
62{
63
64}
65
66void QLowEnergyControllerPrivateCommon::writeCharacteristic(const QSharedPointer<QLowEnergyServicePrivate> /*service*/,
67 const QLowEnergyHandle /*charHandle*/,
68 const QByteArray &/*newValue*/,
69 QLowEnergyService::WriteMode /*writeMode*/)
70{
71
72}
73
75 const QSharedPointer<QLowEnergyServicePrivate> /*service*/,
76 const QLowEnergyHandle /*charHandle*/,
77 const QLowEnergyHandle /*descriptorHandle*/,
78 const QByteArray &/*newValue*/)
79{
80
81}
82
84 const QLowEnergyAdvertisingData &/* advertisingData */,
85 const QLowEnergyAdvertisingData &/* scanResponseData */)
86{
87}
88
92
96
101
103{
104 // not supported
105 return -1;
106}
107
\inmodule QtBluetooth
\inmodule QtCore
Definition qbytearray.h:57
The QLowEnergyAdvertisingData class represents the data to be broadcast during Bluetooth Low Energy a...
The QLowEnergyAdvertisingParameters class represents the parameters used for Bluetooth Low Energy adv...
The QLowEnergyConnectionParameters class is used when requesting or reporting an update of the parame...
void writeCharacteristic(const QSharedPointer< QLowEnergyServicePrivate > service, const QLowEnergyHandle charHandle, const QByteArray &newValue, QLowEnergyService::WriteMode mode) override
void writeDescriptor(const QSharedPointer< QLowEnergyServicePrivate > service, const QLowEnergyHandle charHandle, const QLowEnergyHandle descriptorHandle, const QByteArray &newValue) override
void startAdvertising(const QLowEnergyAdvertisingParameters &params, const QLowEnergyAdvertisingData &advertisingData, const QLowEnergyAdvertisingData &scanResponseData) override
void readDescriptor(const QSharedPointer< QLowEnergyServicePrivate > service, const QLowEnergyHandle charHandle, const QLowEnergyHandle descriptorHandle) override
void discoverServiceDetails(const QBluetoothUuid &service, QLowEnergyService::DiscoveryMode mode) override
void readCharacteristic(const QSharedPointer< QLowEnergyServicePrivate > service, const QLowEnergyHandle charHandle) override
void requestConnectionUpdate(const QLowEnergyConnectionParameters &params) override
void addToGenericAttributeList(const QLowEnergyServiceData &service, QLowEnergyHandle startHandle) override
void setError(QLowEnergyController::Error newError)
The QLowEnergyServiceData class is used to set up GATT service data. \inmodule QtBluetooth.
DiscoveryMode
This enum lists service discovery modes.
WriteMode
This enum describes the mode to be used when writing a characteristic value.
QT_BEGIN_NAMESPACE void printDummyWarning()
Combined button and popup list for selecting options.
quint16 QLowEnergyHandle
Definition qbluetooth.h:42
#define qWarning
Definition qlogging.h:166
void registerQLowEnergyControllerMetaType()