diff --git a/libnymea-networkmanager/bluetooth/bluetoothserver.cpp b/libnymea-networkmanager/bluetooth/bluetoothserver.cpp index 3eb3120..f9c3c3b 100644 --- a/libnymea-networkmanager/bluetooth/bluetoothserver.cpp +++ b/libnymea-networkmanager/bluetooth/bluetoothserver.cpp @@ -71,6 +71,16 @@ void BluetoothServer::setSoftwareVersion(const QString &softwareVersion) m_softwareVersion = softwareVersion; } +QString BluetoothServer::hardwareVersion() const +{ + return m_hardwareVersion; +} + +void BluetoothServer::setHardwareVersion(const QString &hardwareVersion) +{ + m_hardwareVersion = hardwareVersion; +} + bool BluetoothServer::running() const { return m_running; diff --git a/libnymea-networkmanager/bluetooth/bluetoothserver.h b/libnymea-networkmanager/bluetooth/bluetoothserver.h index c16cc7b..ab0984c 100644 --- a/libnymea-networkmanager/bluetooth/bluetoothserver.h +++ b/libnymea-networkmanager/bluetooth/bluetoothserver.h @@ -19,6 +19,7 @@ * . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #ifndef BLUETOOTHSERVER_H #define BLUETOOTHSERVER_H diff --git a/libnymea-networkmanager/bluetooth/wirelessservice.h b/libnymea-networkmanager/bluetooth/wirelessservice.h index 71185ea..5e0336b 100644 --- a/libnymea-networkmanager/bluetooth/wirelessservice.h +++ b/libnymea-networkmanager/bluetooth/wirelessservice.h @@ -90,7 +90,6 @@ private: void commandScan(const QVariantMap &request); void commandGetCurrentConnection(const QVariantMap &request); - private slots: // Service void characteristicChanged(const QLowEnergyCharacteristic &characteristic, const QByteArray &value);