The QBluetooth namespace provides classes and functions related to Bluetooth. More…
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
enum.Flag) This enum describe the security requirements of a Bluetooth service.
The service does not require any security.
The service requires authorization by the user, unless the device is Authorized-Paired.
The service requires authentication. Device must be paired, and the user is prompted on connection unless the device is Authorized-Paired.
The service requires the communication link to be encrypted. This requires the device to be paired.
The service requires the communication link to be secure. Simple Pairing from Bluetooth 2.1 or greater is required. Legacy pairing is not permitted.
enum.Flag) This enum describes the possible requirements for reading or writing an ATT attribute.
The client needs authorization from the ATT server to access the attribute.
The client needs to be authenticated to access the attribute.
The attribute can only be accessed if the connection is encrypted.