#include "lecmaccalculator_p.h"
#include "qlowenergycontroller_bluez_p.h"
#include "qbluetoothsocketbase_p.h"
#include "qbluetoothsocket_bluez_p.h"
#include "qleadvertiser_bluez_p.h"
#include "bluez/bluez_data_p.h"
#include "bluez/hcimanager_p.h"
#include "bluez/objectmanager_p.h"
#include "bluez/remotedevicemanager_p.h"
#include "bluez/bluez5_helper_p.h"
#include "bluez/bluetoothmanagement_p.h"
#include <QtCore/QFileInfo>
#include <QtCore/QLoggingCategory>
#include <QtCore/QSettings>
#include <QtCore/QTimer>
#include <QtBluetooth/QBluetoothLocalDevice>
#include <QtBluetooth/QBluetoothSocket>
#include <QtBluetooth/QLowEnergyCharacteristicData>
#include <QtBluetooth/QLowEnergyDescriptorData>
#include <QtBluetooth/QLowEnergyService>
#include <QtBluetooth/QLowEnergyServiceData>
#include <algorithm>
#include <climits>
#include <cstring>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include "moc_qlowenergycontroller_bluez_p.cpp"
Go to the source code of this file.
◆ APPEND_VALUE
#define APPEND_VALUE true |
◆ ERROR_RESPONSE_HEADER_SIZE
#define ERROR_RESPONSE_HEADER_SIZE 5 |
◆ EXECUTE_WRITE_HEADER_SIZE
#define EXECUTE_WRITE_HEADER_SIZE 2 |
◆ FIND_INFO_REQUEST_HEADER_SIZE
#define FIND_INFO_REQUEST_HEADER_SIZE 5 |
◆ GATT_CHARACTERISTIC
#define GATT_CHARACTERISTIC quint16(0x2803) |
◆ GATT_INCLUDED_SERVICE
#define GATT_INCLUDED_SERVICE quint16(0x2802) |
◆ GATT_PRIMARY_SERVICE
#define GATT_PRIMARY_SERVICE quint16(0x2800) |
◆ GATT_SECONDARY_SERVICE
#define GATT_SECONDARY_SERVICE quint16(0x2801) |
◆ GRP_TYPE_REQ_HEADER_SIZE
#define GRP_TYPE_REQ_HEADER_SIZE 7 |
◆ MTU_EXCHANGE_HEADER_SIZE
#define MTU_EXCHANGE_HEADER_SIZE 3 |
◆ NEW_VALUE
◆ PREPARE_WRITE_HEADER_SIZE
#define PREPARE_WRITE_HEADER_SIZE 5 |
◆ READ_BLOB_REQUEST_HEADER_SIZE
#define READ_BLOB_REQUEST_HEADER_SIZE 5 |
◆ READ_BY_TYPE_REQ_HEADER_SIZE
#define READ_BY_TYPE_REQ_HEADER_SIZE 7 |
◆ READ_REQUEST_HEADER_SIZE
#define READ_REQUEST_HEADER_SIZE 3 |
◆ WRITE_REQUEST_HEADER_SIZE
#define WRITE_REQUEST_HEADER_SIZE 3 |
◆ dumpErrorInformation()
Definition at line 67 of file qlowenergycontroller_bluez.cpp.
References QBluezConst::ATT_ERROR_APPLICATION_END, QBluezConst::ATT_ERROR_APPLICATION_START, QBluezConst::ATT_ERROR_ATTRIBUTE_NOT_FOUND, QBluezConst::ATT_ERROR_ATTRIBUTE_NOT_LONG, QBluezConst::ATT_ERROR_INSUF_AUTHENTICATION, QBluezConst::ATT_ERROR_INSUF_AUTHORIZATION, QBluezConst::ATT_ERROR_INSUF_ENCR_KEY_SIZE, QBluezConst::ATT_ERROR_INSUF_ENCRYPTION, QBluezConst::ATT_ERROR_INSUF_RESOURCES, QBluezConst::ATT_ERROR_INVAL_ATTR_VALUE_LEN, QBluezConst::ATT_ERROR_INVALID_HANDLE, QBluezConst::ATT_ERROR_INVALID_OFFSET, QBluezConst::ATT_ERROR_INVALID_PDU, QBluezConst::ATT_ERROR_PREPARE_QUEUE_FULL, QBluezConst::ATT_ERROR_READ_NOT_PERM, QBluezConst::ATT_ERROR_REQUEST_NOT_SUPPORTED, QBluezConst::ATT_ERROR_UNLIKELY, QBluezConst::ATT_ERROR_UNSUPPRTED_GROUP_TYPE, QBluezConst::ATT_ERROR_WRITE_NOT_PERM, QBluezConst::ATT_OP_ERROR_RESPONSE, bt_get_le16(), QByteArray::constData(), qCDebug, qCWarning, QStringLiteral, and QByteArray::size().
◆ getUuidSize()
◆ isIndicationEnabled()
static bool isIndicationEnabled |
( |
quint16 |
clientConfigValue | ) |
|
|
static |
◆ isNotificationEnabled()
static bool isNotificationEnabled |
( |
quint16 |
clientConfigValue | ) |
|
|
static |
◆ nameOfRemoteCentral()
Definition at line 2965 of file qlowenergycontroller_bluez.cpp.
References QMap< Key, T >::constBegin(), QMap< Key, T >::constEnd(), initializeBluez5(), it, manager, QStringLiteral, reply, QDBusConnection::systemBus(), QVariant::toString(), toString(), and QMap< Key, T >::value().
◆ parseReadByTypeCharDiscovery()
◆ parseReadByTypeIncludeDiscovery()
◆ putDataAndIncrement() [1/3]
◆ putDataAndIncrement() [2/3]
◆ putDataAndIncrement() [3/3]
template<typename T >
static void putDataAndIncrement |
( |
const T & |
src, |
|
|
char *& |
dst |
|
) |
| |
|
static |
◆ uuidToByteArray()
◆ ATT_DEFAULT_LE_MTU
constexpr quint16 ATT_DEFAULT_LE_MTU = 23 |
|
constexpr |
◆ ATT_MAX_LE_MTU
constexpr quint16 ATT_MAX_LE_MTU = 0x200 |
|
constexpr |
◆ maxPrepareQueueSize
const int maxPrepareQueueSize = 1024 |