Implement missing methods for bluetooth server

This commit is contained in:
Simon Stürz 2019-09-17 10:21:15 +02:00
parent b93069608e
commit 95e5cb549c
3 changed files with 11 additions and 1 deletions

View File

@ -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;

View File

@ -19,6 +19,7 @@
* <http://www.gnu.org/licenses/>. *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#ifndef BLUETOOTHSERVER_H
#define BLUETOOTHSERVER_H

View File

@ -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);