diff options
Diffstat (limited to 'lib/watchconnector.cpp')
| -rw-r--r-- | lib/watchconnector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/watchconnector.cpp b/lib/watchconnector.cpp index 1bfce0d..18d287e 100644 --- a/lib/watchconnector.cpp +++ b/lib/watchconnector.cpp @@ -60,7 +60,7 @@ void WatchConnector::handleWatch(const QString &name, const QString &address) connect(socket, SIGNAL(error(QBluetoothSocket::SocketError)), this, SLOT(onError(QBluetoothSocket::SocketError))); // FIXME: Assuming port 1 (with Pebble) - socket->connectToService(QBluetoothAddress(address), 1); + socket->connectToService(QBluetoothAddress(address), QBluetoothUuid(QBluetoothUuid::SerialPort)); } QString WatchConnector::decodeEndpoint(unsigned int val) |
