Subversion Repositories Projects

Rev

Rev 483 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 483 Rev 522
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
 
4
 
5
 
5
 
6
#define RIDDIM_ADDRESS 12+'a'
6
#include <bluetooth/bluetooth.h>
7
#include <bluetooth/bluetooth.h>
Line 16... Line 17...
16
#include <stdlib.h>
17
#include <stdlib.h>
17
#include <fcntl.h>
18
#include <fcntl.h>
Line -... Line 19...
-
 
19
 
18
 
20
 
19
 
21
 
20
 
22
 
21
#include <errno.h>
23
#include <errno.h>
Line 22... Line 24...
22
#include <sys/types.h>
24
#include <sys/types.h>
Line 23... Line 25...
23
#include <netinet/in.h>
25
#include <netinet/in.h>
-
 
26
#include <sys/time.h>
-
 
27
 
-
 
28
#include <unistd.h>//for close() for socket
-
 
29
 
-
 
30
#include <string.h>
Line 24... Line 31...
24
#include <sys/time.h>
31
#include "riddim_meta.h"
Line 25... Line 32...
25
 
32
#include "statistics.h" 
Line 37... Line 44...
37
int scan_bt();
44
int scan_bt();
38
int bt_host_tick(int mk_fd);
45
int bt_host_tick(int mk_fd);
39
int bt_host_init();
46
int bt_host_init();
40
int bt_host_send(char RxBuffer[150],int len);
47
int bt_host_send(char RxBuffer[150],int len);
Line -... Line 48...
-
 
48
 
-
 
49
 
-
 
50
#define MAX_BUFF_LEN 150
-
 
51
 
-
 
52
 
-
 
53
extern struct str_DebugOut    DebugOut;
-
 
54
extern struct str_VersionInfo VersionInfo;
-
 
55
 
41
 
56