Skip to content

Commit

Permalink
BipInfoService: Rename defines and debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
nephros committed Jan 25, 2024
1 parent d5e3fe6 commit 7af2816
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions daemon/src/services/deviceinfoservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ const char* DeviceInfoService::UUID_CHARACTERISTIC_INFO_PNP_ID = "00002a50-0000-

DeviceInfoService::DeviceInfoService(const QString &path, QObject *parent) : QBLEService(UUID_SERVICE_DEVICEINFO, path, parent)
{
qDebug() << "BipInfoService::BipInfoService";
qDebug() << "DeviceInfoService::DeviceInfoService";

connect(this, &QBLEService::characteristicRead, this, &DeviceInfoService::characteristicRead);
}

void DeviceInfoService::refreshInformation()
{
qDebug() << "BipInfoService::refreshInformation";
qDebug() << "DeviceInfoService::refreshInformation";

readAsync(UUID_CHARACTERISTIC_INFO_SERIAL_NO);
readAsync(UUID_CHARACTERISTIC_INFO_HARDWARE_REV);
Expand Down
6 changes: 3 additions & 3 deletions daemon/src/services/deviceinfoservice.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BIPINFOSERVICE_H
#define BIPINFOSERVICE_H
#ifndef DEVICEINFOSERVICE_H
#define DEVICEINFOSERVICE_H

#include "qble/qbleservice.h"
#include "devices/abstractdevice.h"
Expand Down Expand Up @@ -49,4 +49,4 @@ class DeviceInfoService : public QBLEService
Q_SLOT void characteristicRead(const QString &c, const QByteArray &value);
};

#endif // BIPINFOSERVICE_H
#endif // DEVICEINFOSERVICE_H

0 comments on commit 7af2816

Please sign in to comment.