Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
bluez5_helper.cpp File Reference

(3b5e73121e1c5d29d96509a1a18f41f8a8ddf03c)

#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 enum Bluez5TestResultType Bluez5TestResult

Enumerations

enum  Bluez5TestResultType {
  BluezVersionUnknown , BluezVersion5 , BluezNotAvailable , BluezVersionUnknown ,
  BluezVersion5 , BluezNotAvailable
}
enum  Bluez5TestResultType {
  BluezVersionUnknown , BluezVersion5 , BluezNotAvailable , 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 Documentation

◆ Bluez5TestResult

Enumeration Type Documentation

◆ Bluez5TestResultType [1/2]

Enumerator
BluezVersionUnknown 
BluezVersion5 
BluezNotAvailable 
BluezVersionUnknown 
BluezVersion5 
BluezNotAvailable 

Definition at line 28 of file bluez5_helper.cpp.

◆ Bluez5TestResultType [2/2]

Enumerator
BluezVersionUnknown 
BluezVersion5 
BluezNotAvailable 
BluezVersionUnknown 
BluezVersion5 
BluezNotAvailable 

Definition at line 28 of file bluez5_helper.cpp.

Function Documentation

◆ adapterWithDBusPeripheralInterface()

QString adapterWithDBusPeripheralInterface ( const QBluetoothAddress & localAddress)

Definition at line 543 of file bluez5_helper.cpp.

◆ bluetoothdVersion()

QVersionNumber bluetoothdVersion ( )

Definition at line 158 of file bluez5_helper.cpp.

◆ findAdapterForAddress()

QString findAdapterForAddress ( const QBluetoothAddress & wantedAddress,
bool * ok = nullptr )

Definition at line 464 of file bluez5_helper.cpp.

◆ mandatoryHciIoctlsAvailable()

bool mandatoryHciIoctlsAvailable ( )

Definition at line 76 of file bluez5_helper.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS()

Q_GLOBAL_STATIC_WITH_ARGS ( QVersionNumber ,
bluezDaemonVersion ,
(QVersionNumber())  )

Definition at line 36 of file bluez5_helper.cpp.

◆ sanitizeNameForDBus()

QString sanitizeNameForDBus ( const QString & text)

Definition at line 579 of file bluez5_helper.cpp.