Statistics
| Branch: | Tag: | Revision:

amiro-os / include / amiro / bluetooth / bluetooth-profile.hpp @ 2af9778e

History | View | Annotate | Download (466 Bytes)

1
#ifndef _BLUETOOTH_PROFILE_H_
2
#define _BLUETOOTH_PROFILE_H_
3

    
4
#define NO_RX_TX  0
5
#define TX_ONLY   1
6
#define RX_ONLY   2
7
#define RX_TX     3
8

    
9
namespace amiro {
10

    
11
  class BluetoothConnector;
12

    
13
  class BluetoothProfile {
14
  public:
15
    BluetoothProfile() {};
16

    
17
    const char *addr;
18
    void *connector;
19
    void (BluetoothConnector::*connect) (uint8_t linkid);
20
    void (BluetoothConnector::*disconnect) ();
21
    uint8_t linkid;
22
  };
23
}
24

    
25
#endif /* _BLUETOOTH_PROFILE_H_ */