ITS
BluetoothBridge.h
Go to the documentation of this file.
1 #ifndef BLUETOOTHBRIDGE_H
2 #define BLUETOOTHBRIDGE_H
3 
4 #include <ParameterDENM.h>
5 
6 #include <App2Fac.h>
7 #include <Fac2App.h>
8 
9 #include <QUdpSocket>
10 #include <QNetworkDatagram>
11 #include <QBluetoothServer>
12 #include <QBluetoothLocalDevice>
13 #include <QThread>
14 
15 class BluetoothBridge : public QObject
16 {
17  Q_OBJECT
18 
19 public:
21 
22  void startServer();
23 
24 private:
25  QBluetoothServer *rfcommServer;
26  QBluetoothSocket *btSocket;
27  QBluetoothServiceInfo serviceInfo;
28 
31  QThread *m_A2FThread;
32  QThread *m_F2AThread;
33 };
34 
35 #endif // BLUETOOTHBRIDGE_H
DENM configuration initializer.
QBluetoothSocket * btSocket
QBluetoothServer * rfcommServer
QThread * m_F2AThread
QBluetoothServiceInfo serviceInfo
BluetoothBridge(ParameterDENM *denm)
QThread * m_A2FThread