]> rtime.felk.cvut.cz Git - tiny-bt.git/commitdiff
changes in include
authorDavid Plotek <ploted1@fel.cvut.cz>
Wed, 16 Jul 2008 14:12:17 +0000 (16:12 +0200)
committerDavid Plotek <ploted1@fel.cvut.cz>
Wed, 16 Jul 2008 14:12:17 +0000 (16:12 +0200)
src/Makefile.omk
src/hcidriver.c
src/hcidriver.h

index b386f43caa37f586ace298d14738a718fb915acb..a2975606bcd5d790c1dadfe51d67ceed2a429af8 100644 (file)
@@ -1,3 +1,3 @@
 bin_PROGRAMS = hil2cap
 hil2cap_SOURCES = hil2cap.c hcidriver.c
-hil2cap_LIBS = hil2cap.h hcidriver.h
\ No newline at end of file
+hil2cap_LIBS = 
\ No newline at end of file
index 24819b239fce27e74e51a45421fac51092b3e3bf..46833f0d23bc2baecd614c63ec940f9cd4eb9fb6 100644 (file)
@@ -4,13 +4,13 @@
 #include <string.h>
 #include <errno.h>
 #include <unistd.h>
-#include<stdint.h>
 #include <sys/poll.h>
 #include <sys/ioctl.h>
 #include "hcidriver.h"
 
 
 
+
 /************************** hci command functions**************************/
 int call_hci_inquiry_cmd(int dd, bt_address *p_addressarray,int timeout){
        inquiry_cp cmdp,*p_cmdp=&cmdp;
index 28ec3e9b10a052043d1725b7860dc8e1619ea70e..e74fa93d7dcea2a8351b4ad312b6fb6844507cda 100644 (file)
@@ -14,8 +14,8 @@
 
 #include<asm/types.h>
 #include<sys/socket.h>
-#include<bluetooth/hci.h>
 #include<string.h>
+#include "hciembeded.h"
 
 
 
 
 
 /* BD_ADDR  (bluetooth.h)*/
-typedef struct{
-       __u8 byte[6];
-} __attribute__((packed)) bt_address;
 
-typedef struct{
-       uint8_t b[6];
-} __attribute__((packed)) bdaddr_t;
 
 typedef struct{
        __u8 byte[3];