The QBluetooth namespace contains functions and definitions related to Bluetooth. More...
#include <QBluetooth>
enum | Security { NoSecurity, Authorization, Authentication, Encryption, Secure } |
flags | SecurityFlags |
The QBluetooth namespace contains functions and definitions related to Bluetooth.
This enum describe the security requirements of a Bluetooth service.
Constant | Value | Description |
---|---|---|
QBluetooth::NoSecurity | 0x00 | The service does not require any security. |
QBluetooth::Authorization | 0x01 | The service requires authorization. |
QBluetooth::Authentication | 0x02 | The service requires authentication. |
QBluetooth::Encryption | 0x04 | The service requires that the communications link be encrypted. |
QBluetooth::Secure | 0x08 | The service requires that the communications link be secure. Only supported by 2.1 devices. |
The SecurityFlags type is a typedef for QFlags<Security>. It stores an OR combination of Security values.