Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 129 → Rev 130

/Riddim/bluetooth_handler.h
2,7 → 2,9
#if !defined(BLUETOOTH_HANDLER_H)
#define BLUETOOTH_HANDLER_H
 
 
#include <bluetooth/bluetooth.h>
#include <bluetooth/rfcomm.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
 
10,6 → 12,20
 
#include <stdlib.h>
 
 
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
 
 
 
#include <errno.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <unistd.h>//for close() for socket
 
#include <string.h>
 
#define MAX_BT_DEVICES 3
 
extern int bt_device_count;
18,5 → 34,8
extern char addrs[MAX_BT_DEVICES][19];
 
int scan_bt();
int bt_host_tick(int mk_fd);
int bt_host_init();
int bt_host_send(char RxBuffer[150],int len);
 
#endif