2 // C++ Interface: bt_hw
7 // Author: root <root@ubuntu>, (C) 2008
9 // Copyright: See COPYING file that comes with this distribution
17 /* BT protocols(from bluetooth.h)*/
18 #define BTPROTO_L2CAP 0
21 #define BTPROTO_RFCOMM 3
22 #define BTPROTO_BNEP 4
23 #define BTPROTO_CMTP 5
24 #define BTPROTO_HIDP 6
25 #define BTPROTO_AVDTP 7
32 extern int hw_bt_open_device(__u8 dev_id);
33 extern int hw_bt_close_dev();
34 extern int hw_bt_write(__u8 *p_array, __u16 length);
35 extern int hw_bt_read(__u8 *p_recbuf);