4#ifndef QBLUETOOTHSERVICEDISCOVERYAGENT_P_H
5#define QBLUETOOTHSERVICEDISCOVERYAGENT_P_H
27class OrgBluezManagerInterface;
28class OrgBluezAdapterInterface;
29class OrgBluezDeviceInterface;
31#include <QtCore/qprocess.h>
35class QXmlStreamReader;
39#ifdef QT_WINRT_BLUETOOTH
40#include <QtCore/QPointer>
43#ifdef QT_OSX_BLUETOOTH
48#ifdef QT_ANDROID_BLUETOOTH
49#include <QtCore/QJniObject>
50#include <QtBluetooth/QBluetoothLocalDevice>
56#ifdef QT_ANDROID_BLUETOOTH
61#ifdef QT_WINRT_BLUETOOTH
66#
if defined(QT_WINRT_BLUETOOTH)
70#elif defined(QT_OSX_BLUETOOTH)
71 :
public QObject,
public DarwinBluetooth::SDPInquiryDelegate
105 void _q_sdpScannerDone(
int exitCode, QProcess::ExitStatus status);
107 const QString &errorDescription,
110#ifdef QT_ANDROID_BLUETOOTH
115 void _q_fetchUuidsTimeout();
128 void sdpScannerDone(
int exitCode, QProcess::ExitStatus exitStatus);
129 QVariant readAttributeValue(QXmlStreamReader &
xml);
154 QProcess *sdpScannerProcess =
nullptr;
157#ifdef QT_ANDROID_BLUETOOTH
171#ifdef QT_WINRT_BLUETOOTH
178 void releaseWorker();
182#ifdef QT_OSX_BLUETOOTH
184 void SDPInquiryFinished(
void *
device)
override;
185 void SDPInquiryError(
void *
device, IOReturn errorCode)
override;
IOBluetoothDevice * device
Error
Indicates all possible error conditions found during Bluetooth device discovery.
HostMode
This enum describes the most of the local Bluetooth device.
QBluetoothAddress deviceAddress
void _q_deviceDiscovered(const QBluetoothDeviceInfo &info)
void startDeviceDiscovery()
Starts device discovery.
void setDiscoveryState(DiscoveryState s)
~QBluetoothServiceDiscoveryAgentPrivate()
QList< QBluetoothServiceInfo > discoveredServices
void setDiscoveryMode(QBluetoothServiceDiscoveryAgent::DiscoveryMode m)
void _q_serviceDiscoveryFinished()
QBluetoothServiceDiscoveryAgent * q_ptr
DiscoveryState discoveryState()
QList< QBluetoothDeviceInfo > discoveredDevices
void stopDeviceDiscovery()
Stops device discovery.
void _q_deviceDiscoveryFinished()
Called when device discovery finishes.
QBluetoothServiceDiscoveryAgent::Error error
void startServiceDiscovery()
Starts service discovery for the next device.
void stopServiceDiscovery()
Stops service discovery.
QBluetoothAddress m_deviceAdapterAddress
QBluetoothServiceDiscoveryAgent::DiscoveryMode DiscoveryMode()
void _q_deviceDiscoveryError(QBluetoothDeviceDiscoveryAgent::Error)
DiscoveryMode
This enum describes the service discovery mode.
Error
This enum describes errors that can occur during service discovery.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLuint GLuint64EXT address
unsigned long long quint64
if(qFloatDistance(a, b)<(1<< 7))
[0]
QFileInfo info(fileName)
[8]
QNetworkAccessManager manager