3,6 → 3,7 |
#define BLUETOOTH_HANDLER_H |
|
|
#define RIDDIM_ADDRESS 12+'a' |
#include <bluetooth/bluetooth.h> |
#include <bluetooth/rfcomm.h> |
#include <bluetooth/hci.h> |
18,6 → 19,7 |
|
|
|
|
#include <errno.h> |
#include <sys/types.h> |
#include <netinet/in.h> |
26,6 → 28,11 |
#include <unistd.h>//for close() for socket |
|
#include <string.h> |
#include "riddim_meta.h" |
#include "statistics.h" |
#include "config.h" |
#include "riddim.h" |
#include "fc.h" |
|
#define MAX_BT_DEVICES 3 |
|
39,4 → 46,12 |
int bt_host_init(); |
int bt_host_send(char RxBuffer[150],int len); |
|
|
#define MAX_BUFF_LEN 150 |
|
|
extern struct str_DebugOut DebugOut; |
extern struct str_VersionInfo VersionInfo; |
|
|
#endif |