Statistics
| Branch: | Tag: | Revision:

amiro-os / include / amiro / bluetooth / bluetooth-connector.hpp @ e5606def

History | View | Annotate | Download (641 Bytes)

1 58fe0e0b Thomas Schöpping
#ifndef _BLUETOOTH_CONNECTOR_H_
2
#define _BLUETOOTH_CONNECTOR_H_
3
4
#include <amiro/bluetooth/bluetooth.hpp>
5
6
namespace amiro {
7
8
  class BluetoothConnector {
9
  public:
10
    BluetoothConnector(BLUETOOTH *bluetooth, void *bluetoothDev, const char *typeConn);
11
12
    void bluetoothConnectorListen(const char *addr);
13
    void bluetoothConnectorConnect(const char *addr);
14
    void bluetoothConnectorDisconnect(const char *addr);
15
16
  private:
17
    void bluetoothConnectorActivate(uint8_t linkid);
18
    void bluetoothConnectorDeactivate();
19
20
    BluetoothIwrap *iwrap;
21
    void * objDev;
22
    const char *typeDev;
23
  };
24
}
25
26
#endif /* _BLUETOOTH_CONNECTOR_H_ */