diff options
-rw-r--r-- | src/bluetooth/qbluetoothserviceinfo.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo.cpp b/src/bluetooth/qbluetoothserviceinfo.cpp index f0926d9c..7b9460a1 100644 --- a/src/bluetooth/qbluetoothserviceinfo.cpp +++ b/src/bluetooth/qbluetoothserviceinfo.cpp @@ -313,7 +313,8 @@ bool QBluetoothServiceInfo::unregisterService() This is a convenience function. It is equivalent to calling setAttribute(QBluetoothServiceInfo::ServiceId, uuid). - Sets the service UUID to \a uuid. + Sets the custom service UUID to \a uuid. This function should not be used + to set a standardized service UUID. \sa serviceUuid(), setAttribute() */ @@ -324,7 +325,9 @@ bool QBluetoothServiceInfo::unregisterService() This is a convenience function. It is equivalent to calling attribute(QBluetoothServiceInfo::ServiceId).value<QBluetoothUuid>(). - Returns the UUID of the service. + Returns the custom UUID of the service. This UUID may be null. + UUIDs based on \l{https://bluetooth.org}{Bluetooth SIG standards} + should be retrieved via \l serviceClassUuids(). \sa setServiceUuid(), attribute() */ |