4#ifndef QLOWENERGYCONTROLLERPRIVATEBASE_P_H
5#define QLOWENERGYCONTROLLERPRIVATEBASE_P_H
19#include <QtCore/qobject.h>
21#include <QtBluetooth/qlowenergycontroller.h>
81 virtual int mtu()
const = 0;
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...
QLowEnergyCharacteristic characteristicForHandle(QLowEnergyHandle handle)
Returns a valid characteristic if the given handle is the handle of the characteristic itself or one ...
QSharedPointer< QLowEnergyServicePrivate > serviceForHandle(QLowEnergyHandle handle)
void invalidateServices()
QLowEnergyController::RemoteAddressType addressType
virtual int mtu() const =0
virtual void readDescriptor(const QSharedPointer< QLowEnergyServicePrivate > service, const QLowEnergyHandle charHandle, const QLowEnergyHandle descriptorHandle)=0
virtual ~QLowEnergyControllerPrivate()
virtual void writeDescriptor(const QSharedPointer< QLowEnergyServicePrivate > service, const QLowEnergyHandle charHandle, const QLowEnergyHandle descriptorHandle, const QByteArray &newValue)=0
quint16 updateValueOfDescriptor(QLowEnergyHandle charHandle, QLowEnergyHandle descriptorHandle, const QByteArray &value, bool appendValue)
Returns the length of the updated descriptor value.
QLowEnergyDescriptor descriptorForHandle(QLowEnergyHandle handle)
Returns a valid descriptor if handle belongs to a descriptor; otherwise an invalid one.
ServiceDataMap localServices
ServiceDataMap serviceList
bool isValidLocalAdapter()
virtual void readCharacteristic(const QSharedPointer< QLowEnergyServicePrivate > service, const QLowEnergyHandle charHandle)=0
virtual void disconnectFromDevice()=0
virtual void connectToDevice()=0
QLowEnergyController::Error error
virtual void writeCharacteristic(const QSharedPointer< QLowEnergyServicePrivate > service, const QLowEnergyHandle charHandle, const QByteArray &newValue, QLowEnergyService::WriteMode writeMode)=0
virtual void stopAdvertising()=0
void setError(QLowEnergyController::Error newError)
QLowEnergyController::Role role
QLowEnergyHandle lastLocalHandle
virtual void discoverServiceDetails(const QBluetoothUuid &service, QLowEnergyService::DiscoveryMode mode)=0
quint16 updateValueOfCharacteristic(QLowEnergyHandle charHandle, const QByteArray &value, bool appendValue)
Returns the length of the updated characteristic value.
QBluetoothAddress localAdapter
QBluetoothUuid deviceUuid
QLowEnergyController * q_ptr
virtual void requestConnectionUpdate(const QLowEnergyConnectionParameters ¶ms)=0
virtual void addToGenericAttributeList(const QLowEnergyServiceData &service, QLowEnergyHandle startHandle)=0
QLowEnergyControllerPrivate()
virtual QLowEnergyService * addServiceHelper(const QLowEnergyServiceData &service)
QLowEnergyController::ControllerState state
QBluetoothAddress remoteDevice
void setState(QLowEnergyController::ControllerState newState)
virtual void discoverServices()=0
virtual void startAdvertising(const QLowEnergyAdvertisingParameters ¶ms, const QLowEnergyAdvertisingData &advertisingData, const QLowEnergyAdvertisingData &scanResponseData)=0
RemoteAddressType
Indicates what type of Bluetooth address the remote device uses.
ControllerState
Indicates the state of the controller object.
Role
Indicates the role of the controller object.
Error
Indicates all possible error conditions found during the controller's existence.
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.
\macro QT_RESTRICTED_CAST_FROM_ASCII
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
QT_BEGIN_NAMESPACE typedef QMap< QBluetoothUuid, QSharedPointer< QLowEnergyServicePrivate > > ServiceDataMap
GLuint64 GLenum void * handle