LedDisplay/OmobiDisplayApp/omobidisplaybackend.h

28 lines
551 B
C
Raw Normal View History

2020-10-08 20:06:57 +02:00
#ifndef OMOBIDISPLAYBACKEND_H
#define OMOBIDISPLAYBACKEND_H
#include <QObject>
2020-10-08 22:03:30 +02:00
#include <qbluetoothleuart.h>
2020-10-08 20:06:57 +02:00
class OmobiDisplayBackend : public QObject
{
Q_OBJECT
public:
explicit OmobiDisplayBackend(QObject *parent = nullptr);
void startScanning();
private:
QBluetoothLeUart *ble;
private slots:
void handleBluetoothStateChange(QBluetoothLeUart::BluetoothLeUartState state);
2020-10-08 22:03:30 +02:00
void handleFoundNewDevice(QBluetoothLeUartDevice* device);
2020-10-08 20:06:57 +02:00
void DataHandler(const QString &s);
signals:
};
#endif // OMOBIDISPLAYBACKEND_H