QBluetooth

The QBluetooth namespace provides classes and functions related to Bluetooth. More

Inheritance diagram of PySide6.QtBluetooth.QBluetooth

Synopsis

Static functions

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__1AttAccessConstraint

Return type

PySide6.QtCore.QMetaObject

static PySide6.QtBluetooth.QBluetooth.qt_getEnumMetaObject(arg__1)
Parameters

arg__1Security

Return type

PySide6.QtCore.QMetaObject

static PySide6.QtBluetooth.QBluetooth.qt_getEnumName(arg__1)
Parameters

arg__1AttAccessConstraint

Return type

str

static PySide6.QtBluetooth.QBluetooth.qt_getEnumName(arg__1)
Parameters

arg__1Security

Return type

str