QBluetooth¶
The QBluetooth namespace provides classes and functions related to Bluetooth. More…
Synopsis¶
Static functions¶
def
qt_getEnumMetaObject
(arg__1)def
qt_getEnumMetaObject
(arg__1)def
qt_getEnumName
(arg__1)def
qt_getEnumName
(arg__1)
Detailed Description¶
- PySide6.QtBluetooth.QBluetooth.Security¶
This enum describe the security requirements of a Bluetooth service.
Constant
Description
QBluetooth.Security.NoSecurity
The service does not require any security.
QBluetooth.Security.Authorization
The service requires authorization by the user, unless the device is Authorized-Paired.
QBluetooth.Security.Authentication
The service requires authentication. Device must be paired, and the user is prompted on connection unless the device is Authorized-Paired.
QBluetooth.Security.Encryption
The service requires the communication link to be encrypted. This requires the device to be paired.
QBluetooth.Security.Secure
The service requires the communication link to be secure. Simple Pairing from Bluetooth 2.1 or greater is required. Legacy pairing is not permitted.
- PySide6.QtBluetooth.QBluetooth.AttAccessConstraint¶
This enum describes the possible requirements for reading or writing an ATT attribute.
Constant
Description
QBluetooth.AttAccessConstraint.AttAuthorizationRequired
The client needs authorization from the ATT server to access the attribute.
QBluetooth.AttAccessConstraint.AttAuthenticationRequired
The client needs to be authenticated to access the attribute.
QBluetooth.AttAccessConstraint.AttEncryptionRequired
The attribute can only be accessed if the connection is encrypted.
- static PySide6.QtBluetooth.QBluetooth.qt_getEnumMetaObject(arg__1)¶
- Parameters
arg__1 –
AttAccessConstraint
- Return type
- static PySide6.QtBluetooth.QBluetooth.qt_getEnumMetaObject(arg__1)
- Parameters
arg__1 –
Security
- Return type
- static PySide6.QtBluetooth.QBluetooth.qt_getEnumName(arg__1)¶
- Parameters
arg__1 –
AttAccessConstraint
- Return type
str
- static PySide6.QtBluetooth.QBluetooth.qt_getEnumName(arg__1)
- Parameters
arg__1 –
Security
- Return type
str
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.