From 4810f41772cd0b86f04064f556d2c88cdc4a548f Mon Sep 17 00:00:00 2001 From: Fabian Bumberger Date: Mon, 16 Sep 2013 21:44:40 +0200 Subject: BlackBerry: Add some platform documentation Change-Id: If2a8d289578f3bc7622cedd9faf35893880a2157 Reviewed-by: Alex Blasche --- src/bluetooth/qbluetoothserver.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/bluetooth/qbluetoothserver.cpp') diff --git a/src/bluetooth/qbluetoothserver.cpp b/src/bluetooth/qbluetoothserver.cpp index ee94e110..5a5144d1 100644 --- a/src/bluetooth/qbluetoothserver.cpp +++ b/src/bluetooth/qbluetoothserver.cpp @@ -62,6 +62,8 @@ QT_BEGIN_NAMESPACE applicable attributes for your service and register it using QBluetoothServiceInfo::registerService(). Call serverPort() to get the channel number that is being used. + If the \l QBluetoothServer::ServerType is not supported by a platform, \l listen() will return \c false. + \sa QBluetoothServiceInfo, QBluetoothSocket */ @@ -70,7 +72,7 @@ QT_BEGIN_NAMESPACE This enum describes the Bluetooth server type. - \value L2capServer L2CAP server. + \value L2capServer L2CAP server (Not supported on BlackBerry). \value RfcommServer RFCOMM server. */ @@ -131,7 +133,7 @@ QT_BEGIN_NAMESPACE /*! \fn quint16 QBluetoothServer::serverPort() const - Returns the server port number. + Returns the server port number. On BlackBerry, this port might not correspond to the real RFCOMM port. */ /*! @@ -241,6 +243,7 @@ int QBluetoothServer::maxPendingConnections() const /*! \fn QBluetoothServer::setSecurityFlags(QBluetooth::SecurityFlags security) Sets the Bluetooth security flags to \a security. This function must be called before calling listen(). + On BlackBerry, security flags are not supported and will be ignored. */ /*! -- cgit v1.2.3