From 26e9cf5bc608c7b50fc27a73442966b3880f0825 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Wed, 7 May 2014 16:56:17 +0200 Subject: Service discovery via Bluez5 At the same time we shift the ServiceClassUUID to service name mapping to QBluetoothUuid. It was used by Android and now Bluez 5 uses it too. Task-number: QTBUG-32085 Change-Id: I9f2d4dc4e2997683485f2ba7aaefb646cb72fb75 Reviewed-by: Aaron McCarthy --- src/bluetooth/qbluetoothuuid.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bluetooth/qbluetoothuuid.h') diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h index f33d8c13..46cff826 100644 --- a/src/bluetooth/qbluetoothuuid.h +++ b/src/bluetooth/qbluetoothuuid.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtBluetooth module of the Qt Toolkit. @@ -172,6 +172,8 @@ public: quint16 toUInt16(bool *ok = 0) const; quint32 toUInt32(bool *ok = 0) const; quint128 toUInt128() const; + + static QString serviceClassToString(ServiceClassUuid uuid); }; #ifndef QT_NO_DEBUG_STREAM -- cgit v1.2.3