The QBluetooth namespace contains functions and definitions related to Bluetooth. More...
#include <QBluetooth>
This namespace was introduced in Qt Mobility 1.2.
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. Device does not have to paired, the connection will be granted by prompting the user unless the device is Authorized-Paired where the connection will be made automatically. |
QBluetooth::Authentication | 0x02 | The service requires authentication. Device must paired, the user maybe prompted on connection unless the device is Authorized-Paired. |
QBluetooth::Encryption | 0x04 | The service requires that the communications link be encrypted. This requires the device be paired. |
QBluetooth::Secure | 0x08 | The service requires that the communications link be secure. Legacy pairing is not permitted, Simple Pairing from Bluetooth 2.1 or greater is required. |
The SecurityFlags type is a typedef for QFlags<Security>. It stores an OR combination of Security values.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.