6 #include <stdio.h> /* Standard input/output definitions */
7 #include <string.h> /* String function definitions */
8 #include <unistd.h> /* UNIX standard function definitions */
9 #include <fcntl.h> /* File control definitions */
10 #include <errno.h> /* Error number definitions */
13 #include <sys/socket.h>
14 #include <bluetooth/bluetooth.h>
15 #include <bluetooth/hci.h>
16 #include <bluetooth/hci_lib.h>
17 #include <bluetooth/rfcomm.h>
18 #include <bluetooth/l2cap.h>
19 #include <bluetooth/sdp.h>
20 #include <bluetooth/sdp_lib.h>
23 #include <ifdhandler.h>
32 RESPONSECODE
getDevice();
33 RESPONSECODE
getServiceByName(char*);
34 RESPONSECODE
getService(bdaddr_t
);
35 RESPONSECODE
sendData(PUCHAR
, DWORD
, PUCHAR
, PDWORD
, int);
36 void readUID(PDWORD
, PUCHAR
);
38 int set_l2cap_mtu(int, uint16_t);