Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
127 | ligi | 1 | |
2 | #if !defined(BLUETOOTH_HANDLER_H) |
||
3 | #define BLUETOOTH_HANDLER_H |
||
4 | |||
5 | #include <bluetooth/bluetooth.h> |
||
6 | #include <bluetooth/hci.h> |
||
7 | #include <bluetooth/hci_lib.h> |
||
8 | |||
9 | #include <unistd.h>//for close() for socket |
||
10 | |||
11 | #include <stdlib.h> |
||
12 | |||
13 | #define MAX_BT_DEVICES 3 |
||
14 | |||
15 | extern int bt_device_count; |
||
16 | |||
17 | extern char names[MAX_BT_DEVICES][248]; |
||
18 | extern char addrs[MAX_BT_DEVICES][19]; |
||
19 | |||
20 | int scan_bt(); |
||
21 | |||
22 | #endif |