File indexing completed on 2024-12-01 12:29:47
0001 /* 0002 * BluezQt - Asynchronous Bluez wrapper library 0003 * 0004 * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <mincequi@web.de> 0005 * 0006 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #include "gattcharacteristic_p.h" 0010 #include "gattservice.h" 0011 0012 namespace BluezQt 0013 { 0014 GattCharacterisiticPrivate::GattCharacterisiticPrivate(const QString &uuid, const GattService *service) 0015 : m_uuid(uuid) 0016 , m_service(service) 0017 { 0018 static uint8_t charcNumber = 0; 0019 m_objectPath.setPath(m_service->objectPath().path() + QStringLiteral("/char") + QString::number(charcNumber++)); 0020 } 0021 0022 } // namespace BluezQt