| 1 | /* |
| 2 | * BluezQt - Asynchronous Bluez wrapper library |
| 3 | * |
| 4 | * SPDX-FileCopyrightText: 2019 Manuel Weichselbaumer <mincequi@web.de> |
| 5 | * |
| 6 | * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 7 | */ |
| 8 | |
| 9 | #include "leadvertisement_p.h" |
| 10 | |
| 11 | namespace BluezQt |
| 12 | { |
| 13 | LEAdvertisementPrivate::LEAdvertisementPrivate(const QStringList &serviceUuids) |
| 14 | : m_serviceUuids(serviceUuids) |
| 15 | { |
| 16 | static uint8_t advNumber = 0; |
| 17 | QString objectPath = QLatin1String("/org/bluez/lead" ) + QString::number(advNumber++); |
| 18 | m_objectPath.setPath(objectPath); |
| 19 | } |
| 20 | |
| 21 | } // namespace BluezQt |
| 22 | |