amiro-os / include / amiro / bluetooth / bluetooth.hpp @ 9090cc7e
History | View | Annotate | Download (659 Bytes)
1 | 58fe0e0b | Thomas Schöpping | #ifndef AMIRO_BLUETOOTH_H_
|
---|---|---|---|
2 | #define AMIRO_BLUETOOTH_H_
|
||
3 | |||
4 | #include <amiro/bluetooth/bluetooth-iwrap.hpp> |
||
5 | |||
6 | namespace amiro {
|
||
7 | |||
8 | class BLUETOOTH { |
||
9 | public:
|
||
10 | BLUETOOTH(UARTDriver* uart); |
||
11 | |||
12 | void bluetoothStart();
|
||
13 | void bluetoothReset();
|
||
14 | void bluetoothEnableMux();
|
||
15 | void bluetoothDisableMux();
|
||
16 | void bluetoothDiscoverDevices();
|
||
17 | void bluetoothListAllConnections();
|
||
18 | void bluetoothSetName(const char *name); |
||
19 | void bluetoothSetPin(const char *pin); |
||
20 | void bluetoothCloseConnection(uint8_t linkid);
|
||
21 | void bluetoothSendCommand(const char *cmd); |
||
22 | bool bluetoothIsMuxMode();
|
||
23 | |||
24 | BluetoothIwrap iwrap; |
||
25 | }; |
||
26 | } |
||
27 | |||
28 | #endif /* BLUETOOTH_H_ */ |