Implement missing methods for bluetooth server
This commit is contained in:
parent
b93069608e
commit
95e5cb549c
@ -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;
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
* <http://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#ifndef BLUETOOTHSERVER_H
|
||||
#define BLUETOOTHSERVER_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);
|
||||
|
||||
Reference in New Issue
Block a user