![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/QGlobalStatic>#include <QtCore/QLoggingCategory>#include <QtCore/QMap>#include <QtCore/QVersionNumber>#include <QtNetwork/private/qnet_unix_p.h>#include "bluez5_helper_p.h"#include "bluez_data_p.h"#include "objectmanager_p.h"#include "properties_p.h"#include "adapter1_bluez5_p.h"#include "moc_bluez5_helper_p.cpp"
Include dependency graph for bluez5_helper.cpp:Go to the source code of this file.
Classes | |
| struct | AdapterData |
| class | QtBluezDiscoveryManagerPrivate |
Typedefs | |
| typedef QT_BEGIN_NAMESPACE enum Bluez5TestResultType | Bluez5TestResult |
Enumerations | |
| enum | Bluez5TestResultType { BluezVersionUnknown , BluezVersion5 , BluezNotAvailable } |
Functions | |
| Q_GLOBAL_STATIC_WITH_ARGS (QVersionNumber, bluezDaemonVersion,(QVersionNumber())) void initializeBluez5() | |
| bool | mandatoryHciIoctlsAvailable () |
| QVersionNumber | bluetoothdVersion () |
| QString | findAdapterForAddress (const QBluetoothAddress &wantedAddress, bool *ok=nullptr) |
| QString | adapterWithDBusPeripheralInterface (const QBluetoothAddress &localAddress) |
| QString | sanitizeNameForDBus (const QString &text) |
| typedef QT_BEGIN_NAMESPACE enum Bluez5TestResultType Bluez5TestResult |
| enum Bluez5TestResultType |
| Enumerator | |
|---|---|
| BluezVersionUnknown | |
| BluezVersion5 | |
| BluezNotAvailable | |
Definition at line 25 of file bluez5_helper.cpp.
| QString adapterWithDBusPeripheralInterface | ( | const QBluetoothAddress & | localAddress | ) |
Definition at line 520 of file bluez5_helper.cpp.
References findAdapterForAddress(), initializeBluez5(), QString::isEmpty(), manager, ok, qCDebug, QStringLiteral, reply, and QDBusConnection::systemBus().
Here is the call graph for this function:| QVersionNumber bluetoothdVersion | ( | ) |
Definition at line 155 of file bluez5_helper.cpp.
References arg, QFileDevice::close(), QString::fromLocal8Bit(), QVersionNumber::fromString(), info, QDBusConnection::interface(), QFileInfo::isExecutable(), QString::isNull(), QVersionNumber::isNull(), mandatoryHciIoctlsAvailable(), QFile::open(), Q_ASSERT, qCDebug, qCWarning, qEnvironmentVariable(), QStringLiteral, qt_haveLinuxProcfs(), QIODevice::readAll(), QIODeviceBase::ReadOnly, QDBusConnectionInterface::servicePid(), QDBusConnection::systemBus(), and QIODeviceBase::Text.
Referenced by createSocketPrivate().
Here is the call graph for this function:
Here is the caller graph for this function:| QString findAdapterForAddress | ( | const QBluetoothAddress & | wantedAddress, |
| bool * | ok = nullptr |
||
| ) |
Definition at line 459 of file bluez5_helper.cpp.
References QList< T >::append(), QMap< Key, T >::constBegin(), QMap< Key, T >::constEnd(), QList< T >::front(), QList< T >::isEmpty(), it, manager, ok, QStringLiteral, reply, QDBusConnection::systemBus(), toString(), and QMap< Key, T >::value().
Referenced by RemoteDeviceManager::RemoteDeviceManager(), adapterWithDBusPeripheralInterface(), findRemoteDevicePath(), QBluetoothSocketPrivateBluezDBus::localAddress(), and QBluetoothSocketPrivateBluezDBus::localName().
Here is the call graph for this function:
Here is the caller graph for this function:| bool mandatoryHciIoctlsAvailable | ( | ) |
Definition at line 73 of file bluez5_helper.cpp.
References BTPROTO_HCI, QScopedPointer< T, Cleanup >::data(), hci_dev_req::dev_id, hci_dev_info::dev_id, hci_dev_list_req::dev_num, HCI_MAX_DEV, HCIGETCONNLIST, HCIGETDEVINFO, HCIGETDEVLIST, qCWarning, qt_error_string(), qt_safe_close(), qt_safe_ioctl(), and qt_safe_socket().
Referenced by bluetoothdVersion().
Here is the call graph for this function:
Here is the caller graph for this function:| Q_GLOBAL_STATIC_WITH_ARGS | ( | QVersionNumber | , |
| bluezDaemonVersion | , | ||
| (QVersionNumber()) | |||
| ) |
Definition at line 33 of file bluez5_helper.cpp.
References BluezNotAvailable, BluezVersion5, BluezVersionUnknown, manager, qCDebug, QStringLiteral, qWarning, reply, and QDBusConnection::systemBus().
Here is the call graph for this function:Definition at line 556 of file bluez5_helper.cpp.
References i, QString::size(), text, and QString::unicode().
Referenced by QBluetoothSocketPrivateBluezDBus::connectToServiceHelper().
Here is the call graph for this function:
Here is the caller graph for this function: