QtMobility Reference Documentation

Contents

QBluetooth Namespace

The QBluetooth namespace contains functions and definitions related to Bluetooth. More...

 #include <QBluetooth>

Types

enum Security { NoSecurity, Authorization, Authentication, Encryption, Secure }
flags SecurityFlags

Detailed Description

The QBluetooth namespace contains functions and definitions related to Bluetooth.

Type Documentation

enum QBluetooth::Security
flags QBluetooth::SecurityFlags

This enum describe the security requirements of a Bluetooth service.

ConstantValueDescription
QBluetooth::NoSecurity0x00The service does not require any security.
QBluetooth::Authorization0x01The service requires authorization.
QBluetooth::Authentication0x02The service requires authentication.
QBluetooth::Encryption0x04The service requires that the communications link be encrypted.
QBluetooth::Secure0x08The 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.