|
enum class | HciEvent {
EVT_INQUIRY_COMPLETE = 0x01
, EVT_INQUIRY_RESULT = 0x02
, EVT_CONN_COMPLETE = 0x03
, EVT_CONN_REQUEST = 0x04
,
EVT_DISCONN_COMPLETE = 0x05
, EVT_AUTH_COMPLETE = 0x06
, EVT_REMOTE_NAME_REQ_COMPLETE = 0x07
, EVT_ENCRYPT_CHANGE = 0x08
,
EVT_CHANGE_CONN_LINK_KEY_COMPLETE = 0x09
, EVT_MASTER_LINK_KEY_COMPLETE = 0x0A
, EVT_READ_REMOTE_FEATURES_COMPLETE = 0x0B
, EVT_READ_REMOTE_VERSION_COMPLETE = 0x0C
,
EVT_QOS_SETUP_COMPLETE = 0x0D
, EVT_CMD_COMPLETE = 0x0E
, EVT_CMD_STATUS = 0x0F
, EVT_HARDWARE_ERROR = 0x10
,
EVT_FLUSH_OCCURRED = 0x11
, EVT_ROLE_CHANGE = 0x12
, EVT_NUM_COMP_PKTS = 0x13
, EVT_MODE_CHANGE = 0x14
,
EVT_RETURN_LINK_KEYS = 0x15
, EVT_PIN_CODE_REQ = 0x16
, EVT_LINK_KEY_REQ = 0x17
, EVT_LINK_KEY_NOTIFY = 0x18
,
EVT_LOOPBACK_COMMAND = 0x19
, EVT_DATA_BUFFER_OVERFLOW = 0x1A
, EVT_MAX_SLOTS_CHANGE = 0x1B
, EVT_READ_CLOCK_OFFSET_COMPLETE = 0x1C
,
EVT_CONN_PTYPE_CHANGED = 0x1D
, EVT_QOS_VIOLATION = 0x1E
, EVT_PSCAN_REP_MODE_CHANGE = 0x20
, EVT_FLOW_SPEC_COMPLETE = 0x21
,
EVT_INQUIRY_RESULT_WITH_RSSI = 0x22
, EVT_READ_REMOTE_EXT_FEATURES_COMPLETE = 0x23
, EVT_SYNC_CONN_COMPLETE = 0x2C
, EVT_SYNC_CONN_CHANGED = 0x2D
,
EVT_SNIFF_SUBRATING = 0x2E
, EVT_EXTENDED_INQUIRY_RESULT = 0x2F
, EVT_ENCRYPTION_KEY_REFRESH_COMPLETE = 0x30
, EVT_IO_CAPABILITY_REQUEST = 0x31
,
EVT_IO_CAPABILITY_RESPONSE = 0x32
, EVT_USER_CONFIRM_REQUEST = 0x33
, EVT_USER_PASSKEY_REQUEST = 0x34
, EVT_REMOTE_OOB_DATA_REQUEST = 0x35
,
EVT_SIMPLE_PAIRING_COMPLETE = 0x36
, EVT_LINK_SUPERVISION_TIMEOUT_CHANGED = 0x38
, EVT_ENHANCED_FLUSH_COMPLETE = 0x39
, EVT_USER_PASSKEY_NOTIFY = 0x3B
,
EVT_KEYPRESS_NOTIFY = 0x3C
, EVT_REMOTE_HOST_FEATURES_NOTIFY = 0x3D
, EVT_LE_META_EVENT = 0x3E
, EVT_PHYSICAL_LINK_COMPLETE = 0x40
,
EVT_CHANNEL_SELECTED = 0x41
, EVT_DISCONNECT_PHYSICAL_LINK_COMPLETE = 0x42
, EVT_PHYSICAL_LINK_LOSS_EARLY_WARNING = 0x43
, EVT_PHYSICAL_LINK_RECOVERY = 0x44
,
EVT_LOGICAL_LINK_COMPLETE = 0x45
, EVT_DISCONNECT_LOGICAL_LINK_COMPLETE = 0x46
, EVT_FLOW_SPEC_MODIFY_COMPLETE = 0x47
, EVT_NUMBER_COMPLETED_BLOCKS = 0x48
,
EVT_AMP_STATUS_CHANGE = 0x4D
, EVT_TESTING = 0xFE
, EVT_VENDOR = 0xFF
, EVT_STACK_INTERNAL = 0xFD
} |
|
enum class | HciError {
HCI_SUCCESS = 0x00
, HCI_UNKNOWN_COMMAND = 0x01
, HCI_NO_CONNECTION = 0x02
, HCI_HARDWARE_FAILURE = 0x03
,
HCI_PAGE_TIMEOUT = 0x04
, HCI_AUTHENTICATION_FAILURE = 0x05
, HCI_PIN_OR_KEY_MISSING = 0x06
, HCI_MEMORY_FULL = 0x07
,
HCI_CONNECTION_TIMEOUT = 0x08
, HCI_MAX_NUMBER_OF_CONNECTIONS = 0x09
, HCI_MAX_NUMBER_OF_SCO_CONNECTIONS = 0x0a
, HCI_ACL_CONNECTION_EXISTS = 0x0b
,
HCI_COMMAND_DISALLOWED = 0x0c
, HCI_REJECTED_LIMITED_RESOURCES = 0x0d
, HCI_REJECTED_SECURITY = 0x0e
, HCI_REJECTED_PERSONAL = 0x0f
,
HCI_HOST_TIMEOUT = 0x10
, HCI_UNSUPPORTED_FEATURE = 0x11
, HCI_INVALID_PARAMETERS = 0x12
, HCI_OE_USER_ENDED_CONNECTION = 0x13
,
HCI_OE_LOW_RESOURCES = 0x14
, HCI_OE_POWER_OFF = 0x15
, HCI_CONNECTION_TERMINATED = 0x16
, HCI_REPEATED_ATTEMPTS = 0x17
,
HCI_PAIRING_NOT_ALLOWED = 0x18
, HCI_UNKNOWN_LMP_PDU = 0x19
, HCI_UNSUPPORTED_REMOTE_FEATURE = 0x1a
, HCI_SCO_OFFSET_REJECTED = 0x1b
,
HCI_SCO_INTERVAL_REJECTED = 0x1c
, HCI_AIR_MODE_REJECTED = 0x1d
, HCI_INVALID_LMP_PARAMETERS = 0x1e
, HCI_UNSPECIFIED_ERROR = 0x1f
,
HCI_UNSUPPORTED_LMP_PARAMETER_VALUE = 0x20
, HCI_ROLE_CHANGE_NOT_ALLOWED = 0x21
, HCI_LMP_RESPONSE_TIMEOUT = 0x22
, HCI_LMP_ERROR_TRANSACTION_COLLISION = 0x23
,
HCI_LMP_PDU_NOT_ALLOWED = 0x24
, HCI_ENCRYPTION_MODE_NOT_ACCEPTED = 0x25
, HCI_UNIT_LINK_KEY_USED = 0x26
, HCI_QOS_NOT_SUPPORTED = 0x27
,
HCI_INSTANT_PASSED = 0x28
, HCI_PAIRING_NOT_SUPPORTED = 0x29
, HCI_TRANSACTION_COLLISION = 0x2a
, HCI_QOS_UNACCEPTABLE_PARAMETER = 0x2c
,
HCI_QOS_REJECTED = 0x2d
, HCI_CLASSIFICATION_NOT_SUPPORTED = 0x2e
, HCI_INSUFFICIENT_SECURITY = 0x2f
, HCI_PARAMETER_OUT_OF_RANGE = 0x30
,
HCI_ROLE_SWITCH_PENDING = 0x32
, HCI_SLOT_VIOLATION = 0x34
, HCI_ROLE_SWITCH_FAILED = 0x35
, HCI_EIR_TOO_LARGE = 0x36
,
HCI_SIMPLE_PAIRING_NOT_SUPPORTED = 0x37
, HCI_HOST_BUSY_PAIRING = 0x38
} |
|
|
| Q_ENUM (HciEvent) |
|
| Q_ENUM (HciError) |
|
| HciManager (const QBluetoothAddress &deviceAdapter) |
|
| ~HciManager () |
|
bool | isValid () const |
|
bool | monitorEvent (HciManager::HciEvent event) |
|
bool | monitorAclPackets () |
|
bool | sendCommand (QBluezConst::OpCodeGroupField ogf, QBluezConst::OpCodeCommandField ocf, const QByteArray ¶meters) |
|
void | stopEvents () |
|
QBluetoothAddress | addressForConnectionHandle (quint16 handle) const |
|
QList< quint16 > | activeLowEnergyConnections () const |
|
bool | sendConnectionUpdateCommand (quint16 handle, const QLowEnergyConnectionParameters ¶ms) |
|
bool | sendConnectionParameterUpdateRequest (quint16 handle, const QLowEnergyConnectionParameters ¶ms) |
|
Q_INVOKABLE | QObject (QObject *parent=nullptr) |
| Constructs an object with parent object parent.
|
|
virtual | ~QObject () |
| Destroys the object, deleting all its child objects.
|
|
virtual bool | event (QEvent *event) |
| This virtual function receives events to an object and should return true if the event e was recognized and processed.
|
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
| Filters events if this object has been installed as an event filter for the watched object.
|
|
QString | objectName () const |
|
Q_WEAK_OVERLOAD void | setObjectName (const QString &name) |
| Sets the object's name to name.
|
|
void | setObjectName (QAnyStringView name) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
QBindable< QString > | bindableObjectName () |
|
bool | isWidgetType () const |
| Returns true if the object is a widget; otherwise returns false .
|
|
bool | isWindowType () const |
| Returns true if the object is a window; otherwise returns false .
|
|
bool | isQuickItemType () const |
| Returns true if the object is a QQuickItem; otherwise returns false .
|
|
bool | signalsBlocked () const noexcept |
| Returns true if signals are blocked; otherwise returns false .
|
|
bool | blockSignals (bool b) noexcept |
| If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it).
|
|
QThread * | thread () const |
| Returns the thread in which the object lives.
|
|
bool | moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL) |
| Changes the thread affinity for this object and its children and returns true on success.
|
|
int | startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer) |
| This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds.
|
|
int | startTimer (std::chrono::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer) |
|
void | killTimer (int id) |
| Kills the timer with timer identifier, id.
|
|
void | killTimer (Qt::TimerId id) |
|
template<typename T > |
T | findChild (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
| Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object.
|
|
template<typename T > |
QList< T > | findChildren (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
| Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects.
|
|
template<typename T > |
T | findChild (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<typename T > |
QList< T > | findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const QObjectList & | children () const |
| Returns a list of child objects.
|
|
void | setParent (QObject *parent) |
| Makes the object a child of parent.
|
|
void | installEventFilter (QObject *filterObj) |
| Installs an event filter filterObj on this object.
|
|
void | removeEventFilter (QObject *obj) |
| Removes an event filter object obj from this object.
|
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
|
bool | disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const |
|
bool | disconnect (const QObject *receiver, const char *member=nullptr) const |
|
void | dumpObjectTree () const |
| Dumps a tree of children to the debug output.
|
|
void | dumpObjectInfo () const |
| Dumps information about signal connections, etc.
|
|
bool | setProperty (const char *name, const QVariant &value) |
| Sets the value of the object's name property to value.
|
|
bool | setProperty (const char *name, QVariant &&value) |
|
QVariant | property (const char *name) const |
| Returns the value of the object's name property.
|
|
QList< QByteArray > | dynamicPropertyNames () const |
|
QBindingStorage * | bindingStorage () |
|
const QBindingStorage * | bindingStorage () const |
|
QObject * | parent () const |
| Returns a pointer to the parent object.
|
|
bool | inherits (const char *classname) const |
| Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false .
|
|
|
void | deleteLater () |
| \threadsafe
|
|
static QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
| \threadsafe
|
|
static QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
|
template<typename Func1 , typename Func2 > |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
|
template<typename Func1 , typename Func2 > |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot) |
|
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| \threadsafe
|
|
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
|
static bool | disconnect (const QMetaObject::Connection &) |
| Disconnect a connection.
|
|
template<typename Func1 , typename Func2 > |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot) |
|
template<typename Func1 > |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero) |
|
QObject * | sender () const |
| Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr.
|
|
int | senderSignalIndex () const |
|
int | receivers (const char *signal) const |
| Returns the number of receivers connected to the signal.
|
|
bool | isSignalConnected (const QMetaMethod &signal) const |
|
virtual void | timerEvent (QTimerEvent *event) |
| This event handler can be reimplemented in a subclass to receive timer events for the object.
|
|
virtual void | childEvent (QChildEvent *event) |
| This event handler can be reimplemented in a subclass to receive child events.
|
|
virtual void | customEvent (QEvent *event) |
| This event handler can be reimplemented in a subclass to receive custom events.
|
|
virtual void | connectNotify (const QMetaMethod &signal) |
|
virtual void | disconnectNotify (const QMetaMethod &signal) |
|
| QObject (QObjectPrivate &dd, QObject *parent=nullptr) |
|
QScopedPointer< QObjectData > | d_ptr |
|
QString | objectName |
| the name of this object
|
|
template< class T > T | qobject_cast (const QObject *object) |
| Returns the given object cast to type T if the object is of type T (or of a subclass); otherwise returns \nullptr.
|
|
template< typename T > T | qFindChildqFindChildren (const QObject *obj, const QString &name)() |
|
template< typename T > QList< T > | qFindChildrenqFindChildren (const QObject *obj, const QString &name)() |
|
| QObjectList |
| \macro Q_CLASSINFO(Name, Value)
|
|
Definition at line 29 of file hcimanager_p.h.