Subversion Repositories Projects

Rev

Rev 127 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 127 Rev 130
Line 1... Line 1...
1
 
1
 
2
#if !defined(BLUETOOTH_HANDLER_H)
2
#if !defined(BLUETOOTH_HANDLER_H)
Line -... Line 3...
-
 
3
#define BLUETOOTH_HANDLER_H
3
#define BLUETOOTH_HANDLER_H
4
 
-
 
5
 
4
 
6
#include <bluetooth/bluetooth.h>
5
#include <bluetooth/bluetooth.h>
7
#include <bluetooth/rfcomm.h>
Line 6... Line 8...
6
#include <bluetooth/hci.h>
8
#include <bluetooth/hci.h>
Line 7... Line 9...
7
#include <bluetooth/hci_lib.h>
9
#include <bluetooth/hci_lib.h>
Line -... Line 10...
-
 
10
 
-
 
11
#include <unistd.h>//for close() for socket
-
 
12
 
-
 
13
#include <stdlib.h>
-
 
14
 
-
 
15
 
-
 
16
#include <stdio.h>
-
 
17
#include <stdlib.h>
-
 
18
#include <fcntl.h>
-
 
19
 
-
 
20
 
-
 
21
 
-
 
22
#include <errno.h>
-
 
23
#include <sys/types.h>
8
 
24
#include <netinet/in.h>
Line 9... Line 25...
9
#include <unistd.h>//for close() for socket
25
#include <unistd.h>//for close() for socket
Line 10... Line 26...
10
 
26
 
11
#include <stdlib.h>
27
#include <string.h>
Line 12... Line 28...
12
 
28
 
-
 
29
#define MAX_BT_DEVICES 3
-
 
30
 
-
 
31
extern int bt_device_count;
Line 13... Line 32...
13
#define MAX_BT_DEVICES 3
32