Subversion Repositories Projects

Rev

Blame | Last modification | View Log | RSS feed


#if !defined(BLUETOOTH_HANDLER_H)
#define BLUETOOTH_HANDLER_H

#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>

#include <unistd.h>//for close() for socket

#include <stdlib.h>

#define MAX_BT_DEVICES 3

extern int bt_device_count;

extern char names[MAX_BT_DEVICES][248];
extern char addrs[MAX_BT_DEVICES][19];

int scan_bt();

#endif