Implemented Bluetooth Low Energy gatt service and characteristics discovery

Bluez v4.x does not have total support for LE devices, a new approach, using gatttool command was implemented.

Auto-tests and documentation will be in other commits.

Change-Id: Iee711cc111199e15956052eebb7593bd3a5e27c8
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Additional constructors to QLowEnergyDescriptorInfo class and method modification in QLowEnergyCharacteristicInfo class.

Characteristic notification change and solving the warnings were implemented.

Change-Id: I8abec8b580e477578b4bc1dfd1e92e838ef7a372
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
QNX complie error solved.

Random address variable moved from Bluez to both platforms. Added friend class in QLowEnergyCharacteristicInfo.

This was done because on QNX platform it was unable to compile.

Change-Id: I3fc90a05fe8fb6ee2337bd8fab0e1aa2249cd001
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Removed get part in return methods.

In case method name is getValue(), it was renamed to value().

Change-Id: I914e16bd0b630c0810932c52af14f091cc35bd8f
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Implemented the characteristic error handling.

In case of enabling notifications and writing values to the LE device, some errors can occur and which are reported now.

Change-Id: I02c6deab925d06916c5b56705c9423386400f713
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Implemented Bluetooth Low Energy: autotests

Autotests added for new Bluetooth LE classes.

Change-Id: I31742786104df2aa9ec68ec9a82606f1e227c198
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Implemented Bluetooth Low Energy: documentation

Documentation related to implemented BLE API added in the overview section.

Change-Id: I4261f89b80a260140a844d535b881fe82bc6b873
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Implemented Bluetooth Low Energy: examples

Examples which illustrate how to use BLE API are implemented. First example
is an application for discovering LE devices, services and characteristics.

Change-Id: Ic144c78499b74934541837df9a53183b4e7e32f7
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Implemented Bluetooth Low Energy: examples documentation

Added documentation for lowenergyscanner example together with two screenshots.

Change-Id: I3615ffee26edd5b2ce75e93adc940ba9d272f072
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fixed couple minor things for QNX platform

Connecting error signals in QLowEnergyController, deleting pointers in descructor in QLowEnergyProcess and added loading btapi for QNX platform.

Change-Id: I8785583e38b4e9eaa7b2cf1103df4ab206392a5a
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Added class description.

BLE info classes did not have basic description, which is added now.

Change-Id: I5cc679ebe3ad0ae74c558cf0f782a9bf20ed8f21
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Merge branch 'dev' into btle

Conflicts:
	examples/bluetooth/bluetooth.pro
	src/bluetooth/doc/src/examples.qdoc
	src/bluetooth/qbluetoothdevicediscoveryagent_qnx.cpp
	src/bluetooth/qbluetoothservicediscoveryagent_bluez.cpp
	src/bluetooth/qbluetoothservicediscoveryagent_p.h
	src/bluetooth/qbluetoothservicediscoveryagent_qnx.cpp

Change-Id: Ie1577e4b0f469cd5a6b05a61cbe94f180a64448d
Remove remaining QBBBluetoothDebug statements

Change-Id: I5c8fae0b6546cb1e6907566f3f95b26cdf1ded11
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Make compile default backend

Change-Id: Ib28e5a5a8b9c3363061e9d9e6e49f98cf55784b4
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix incorrect license header.

Change-Id: If58d69ea4afb6418d60b3e0b6e9fef10ae09c055
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix broken QBluetoothDeviceInfo unit test.

Change-Id: I1252a0c78f2b7026041a992bdb1deec3391386cc
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix broken namespace build of QtConnectivity

Change-Id: I434a80b6ac32524fa429e94c16f663c81f90003c
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Remove unnecessary stdin.h include which was not even using std notation

Change-Id: Ic17e632c9a88a187a072e914fd0fd5c97a935fe6
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Make android compile on BTLE branch

Change-Id: I43d143b9a6f64c59912d696f71820201e773479a
Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove all compiler warnings.

Change-Id: I8322ce0db87aec86cd1341bb49198d812e969122
Reviewed-by: Nedim Hadzic <nedimhadzija@gmail.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>