Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
btledeviceinquiry_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
BTLEDEVICEINQUIRY_P_H
5
#
define
BTLEDEVICEINQUIRY_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
"qbluetoothdevicediscoveryagent.h"
19
#
include
"qbluetoothdeviceinfo.h"
20
#
include
"btgcdtimer_p.h"
21
#
include
"btutility_p.h"
22
23
#
include
<
QtCore
/
private
/
qcore_mac_p
.
h
>
24
25
#
include
<
QtCore
/
qglobal
.
h
>
26
27
#
include
<
Foundation
/
Foundation
.
h
>
28
29
#
include
<
CoreBluetooth
/
CoreBluetooth
.
h
>
30
31
QT_BEGIN_NAMESPACE
32
33
class
QBluetoothUuid;
34
35
namespace
DarwinBluetooth
36
{
37
38
class
LECBManagerNotifier
;
39
40
}
// namespace DarwinBluetooth
41
42
QT_END_NAMESPACE
43
44
using
QT_PREPEND_NAMESPACE(DarwinBluetooth)::LECBManagerNotifier;
45
using
QT_PREPEND_NAMESPACE(DarwinBluetooth)::ObjCScopedPointer;
46
47
enum
LEInquiryState
48
{
49
InquiryStarting
,
50
InquiryActive
,
51
InquiryFinished
,
52
InquiryCancelled
,
53
ErrorPoweredOff
,
54
ErrorLENotSupported
,
55
ErrorNotAuthorized
56
};
57
58
@interface QT_MANGLE_NAMESPACE(DarwinBTLEDeviceInquiry) : NSObject<CBCentralManagerDelegate, QT_MANGLE_NAMESPACE(GCDTimerDelegate)>
59
- (id)initWithNotifier:(LECBManagerNotifier *)aNotifier;
60
- (
void
)dealloc;
61
62
// IMPORTANT: both 'startWithTimeout' and 'stop' MUST be executed on the "Qt's
63
// LE queue".
64
- (
void
)startWithTimeout:(
int
)timeout;
65
- (
void
)stop;
66
67
@end
68
69
QT_NAMESPACE_ALIAS_OBJC_CLASS(DarwinBTLEDeviceInquiry);
70
71
#
endif
LEInquiryState
LEInquiryState
Definition
btledeviceinquiry_p.h:48
InquiryStarting
@ InquiryStarting
Definition
btledeviceinquiry_p.h:49
InquiryActive
@ InquiryActive
Definition
btledeviceinquiry_p.h:50
ErrorLENotSupported
@ ErrorLENotSupported
Definition
btledeviceinquiry_p.h:54
ErrorNotAuthorized
@ ErrorNotAuthorized
Definition
btledeviceinquiry_p.h:55
InquiryFinished
@ InquiryFinished
Definition
btledeviceinquiry_p.h:51
InquiryCancelled
@ InquiryCancelled
Definition
btledeviceinquiry_p.h:52
ErrorPoweredOff
@ ErrorPoweredOff
Definition
btledeviceinquiry_p.h:53
DarwinBluetooth::LECBManagerNotifier
Definition
btnotifier_p.h:37
DarwinBluetooth
Definition
btcentralmanager.mm:22
DarwinBluetooth::powerOffTimeoutMS
const int powerOffTimeoutMS
Definition
btledeviceinquiry.mm:35
DarwinBluetooth::timeStepMS
const int timeStepMS
Definition
btledeviceinquiry.mm:34
DarwinBluetooth::qt_uuid
QBluetoothUuid qt_uuid(IOBluetoothSDPUUID *uuid)
Definition
btutility.mm:91
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
DarwinBluetooth::AdvertisementData
Definition
btledeviceinquiry.mm:37
DarwinBluetooth::AdvertisementData::AdvertisementData
AdvertisementData(NSDictionary *AdvertisementData)
Definition
btledeviceinquiry.mm:57
DarwinBluetooth::AdvertisementData::serviceData
QHash< QBluetoothUuid, QByteArray > serviceData
Definition
btledeviceinquiry.mm:52
DarwinBluetooth::AdvertisementData::localName
QString localName
Definition
btledeviceinquiry.mm:49
DarwinBluetooth::AdvertisementData::serviceUuids
QList< QBluetoothUuid > serviceUuids
Definition
btledeviceinquiry.mm:50
DarwinBluetooth::AdvertisementData::manufacturerData
QHash< quint16, QByteArray > manufacturerData
Definition
btledeviceinquiry.mm:51
QmlIR::Object::id
int id
Definition
qqmlirbuilder_p.h:312
qtconnectivity
src
bluetooth
darwin
btledeviceinquiry_p.h
Generated on
for Qt by
1.18.0