Explicitly declare the parameter type of QBluetoothServer::error().

The connect signal has trouble deciding on the error type.

Change-Id: I6efde7629af832f394b2ae9ba5a266e281a4a1aa
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reduce debug output on Bluez

Change-Id: I82459078c0510d27ae3611e2914b0ec36ff625ed
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Fix interaction with Android devices

The custom uuid of a Serial port profile must be part of the service
class property. This enables Android to find the custom uuid.

Change-Id: Ibe0bfcfe6ba7fa6b72a979153afccf17d6b4eb83
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Fix missing QBluetoothSocket::state update after unsuccessful SDP search

When connectToService() triggers an SDP discovery the search may
fail. At the beginning of the discovery the socket state was set to
ServiceLookupState. This patch ensures that the socket state resets to
Unconnected if the SDP discovery failed.

Currently only Bluez uses this discovery mechanism and therefore is the
only affected platform.

Change-Id: I982dafc1f5466071bbf910ed3cf7cf7abda14fe4
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Merge remote-tracking branch 'gerrit/stable' into dev

Conflicts:
	src/bluetooth/qbluetoothserver.cpp
	src/bluetooth/qbluetoothserver.h

Change-Id: Ia99c341ab6b4fb30d9ceb9e4516c7083eed1c547
Merge "Merge remote-tracking branch 'gerrit/stable' into dev" into refs/staging/dev