In /usr/lib I have these files:
/usr/lib/libbluetooth.so.2 rw- r - r
/usr/lib/libbluetooth.so.2.4.1 rw- r - r
And the header files are absent in /usr/include.
The only header files I can see for bluetooth are here
/usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/bluetooth.h
/usr/src/kernels/2.6.19- 1.2911.fc6-i686/include/net/bluetooth/hci.h
/usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/hci_core.h
/usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/l2cap.h
/usr/src/kernels/2.6.19- 1.2911.fc6-i686 /include/net/bluetooth/rfcomm.h
/usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/sco.h
Send Bluez-devel mailing list submissions to
bluez-devel@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/bluez-devel
or, via email, send a message with subject or body 'help' to
bluez-devel-request@lists.sourceforge.net
You can reach the person managing the list at
bluez-devel-owner@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bluez-devel digest..."
Today's Topics:
1. Re: missing bluetooth header file (Vikas Sinha)
----------------------------------------------------------------------
Message: 1
Date: Thu, 1 Mar 2007 20:36:08 +0530
From: "Vikas Sinha" <compuvikas@gmail.com >
Subject: Re: [Bluez-devel] missing bluetooth header file
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Message-ID:
< 1ab01fb50703010706j27966cf8j598eae2d38c9b28c@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
ok plz check library path. did u have
-rw-r--r-- 1 root root 52530 Aug 17 2004 libbluetooth.a
lrwxrwxrwx 1 root root 22 Jun 21 2006 libbluetooth.so ->
libbluetooth.so.1.0.10
lrwxrwxrwx 1 root root 22 May 4 2006 libbluetooth.so.1 ->
libbluetooth.so.1.0.10
-rwxr-xr-x 1 root root 49780 Aug 17 2004 libbluetooth.so.1.0.10
these files in ur /usr/lib or in /usr/local/lib. if these files are places
other place then u need to
export LD_LIBRARY_PATH=// lib path for these file. These files need at the
time of compilation of any code containing bluetooth.h file. include these
and i think ur programm will work
Also check ur header files are present at /usr/include or not.
On 3/1/07, Meenakshi Seeballack < meena2010@gmail.com> wrote:
>
> the kernel is 2.6.19-1.2911.fc6-i686, and I assume bluez is installed on
> the machine, since I tried "yum install bluez" and it says "nothing to do"
> -------------------------------------------------------------------------------------------------------
>
> On 01/03/07, bluez-devel-request@lists.sourceforge.net <bluez-devel-request@lists.sourceforge.net>
> wrote:
> >
> > Send Bluez-devel mailing list submissions to
> > bluez-devel@lists.sourceforge.net
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://lists.sourceforge.net/lists/listinfo/bluez-devel
> > or, via email, send a message with subject or body 'help' to
> > bluez-devel-request@lists.sourceforge.net
> >
> > You can reach the person managing the list at
> > bluez-devel-owner@lists.sourceforge.net
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Bluez-devel digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Implementation of multifactor authentication (Leonardo Salas)
> > 2. Re: how to create rfcomm channel (Vikas Sinha)
> > 3. Help: missing Bluetooth header file (Meenakshi Seeballack)
> > 4. Re: Help: missing Bluetooth header file (Vikas Sinha)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 1 Mar 2007 13:13:48 +0100
> > From: "Leonardo Salas" <alert@nationalcity.com >
> > Subject: [Bluez-devel] Implementation of multifactor authentication
> > To: "bluez-devel" <bluez-devel@lists.sourceforge.net>
> > Message-ID: < 000f01c75c03$cf4102b0$0140e6c4@computer69e32c >
> > Content-Type: text/plain; charset="windows-1250"
> >
> >
> > Dear National City Business Banking Customer,
> > As use of the Internet continues to expand, more banks and thrifts are
> > using the Web to offer products and
> > services or otherwise enhance communications with consumers.
> > Our bank works hard to ensure a safe banking online for our customers.
> > We have developed a new security measure as an additional protection for
> > accounts that have more than 10,000 dollars.
> > The main function of this security program is to prevent any attempts of
> > unauthorized access to a business account.
> > The new safeguard system eliminates any possibility of illegal breach to
> > a bank account.
> > The core of a new security system is an authorization of each bank
> > transaction of our customers.
> > The authorization will only be successful after entering a personal
> > identification number (PIN) using a personal PIN card:
> > - Security Number consists of 6 digits
> > - PIN card has a list of 300 unique PINs which can be used to confirm
> > every transaction.
> > After three unsuccessful attempts of entering a personal identification
> > number (PIN) - an account would be automatically
> > suspended to protect our customers from fraudulent activities.
> > A security number can be used only once, and then it becomes invalid
> > after a transaction is completed.
> > To register for our new online guard protection system please, click on
> > the link below and follow the
> > instructions on the screen. At the last step of your registration you
> > will be asked to enter the address
> > where you would like your pin card be delivered, including full postal
> > code. In order to avoid any delays,
> > please verify that you have input all the correct information.
> > The card will be delivered to you within 14 days after the application
> > is submitted.
> > In the meantime, you can continue to use your business account as usual.
> >
> > Please, note in case if we do not hear from you within 7 days your
> > account will be temporary suspended as a security measure.
> > To start the registration - please click here: https://authmaster.nationalcity.com/corporate/exact4web/login.jsp
> > Support Department
> > National City Corporation.
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Thu, 1 Mar 2007 17:48:08 +0530
> > From: "Vikas Sinha" <compuvikas@gmail.com >
> > Subject: Re: [Bluez-devel] how to create rfcomm channel
> > To: "BlueZ development" < bluez-devel@lists.sourceforge.net>
> > Message-ID:
> > < 1ab01fb50703010418i4b4738ebya621923466eaaeb6@mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi Siddhant,
> >
> > ur code seems to be fine. I think there are some problem in releasing
> > device. Generally Bad File Descriptor comes if socket does not get
> > closed
> > properly. Actually rfcomm takes some time to set free device. try to put
> > some sleep time in between release and again bind. Even binding at hci
> > layer is longer then rfcomm layer. But can u tell me how did u send
> > file to
> > your handset. or ur testing it with pc to pc.
> >
> > hcidump will also be useful.
> >
> > On 3/1/07, siddhant tewari < siddhant.tewari@gmail.com> wrote:
> > >
> > > hi vikas ,
> > > Really great to get i reply from you. I was trying to
> > write a
> > > program that can send file to my nokia phone. I was looking for a api
> > that
> > > can create a character device which can be passed to ioctl. To do so
> > what i
> > > am doing right now is
> > >
> > > i) char cmdBuf[256];
> > > sprintf(cmdBuf,"mknod %s c 216 %d",tempBuf,dev);
> > > if (system(cmdBuf) != 0 )
> > > {
> > > fprintf(stderr,"\nError in executng mknod\n");
> > > exit(1);
> > > }
> > >
> > > ii) And then
> > > err = ioctl(ctl, RFCOMMCREATEDEV, &req);
> > >
> > > iii) For releasing the device i am doing :-
> > > err = ioctl(ctl, RFCOMMRELEASEDEV, &req);
> > >
> > > These things are working fine for a single run but after 2 run
> > (keeping
> > > the above 3 in while(1) block) ; while releasing the device , ioctl
> > gives
> > > error bad file descriptor. Please tell me what i am doing wrong.
> > >
> > > regards
> > > siddhant
> > >
> > >
> > >
> > >
> > >
> > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share
> > > your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > > _______________________________________________
> > > Bluez-devel mailing list
> > > Bluez-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/bluez-devel
> > >
> > >
> >
> >
> > --
> > Impossible
> > itself contain
> > I M Possible
> >
> > Vikas
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Thu, 1 Mar 2007 14:29:09 +0000
> > From: "Meenakshi Seeballack" < meena2010@gmail.com>
> > Subject: [Bluez-devel] Help: missing Bluetooth header file
> > To: bluez-devel@lists.sourceforge.net
> > Message-ID:
> > < ddea76ce0703010629y4930307chdbd0a6e366ca5ad9@mail.gmail.com >
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hello,
> > I am new to the linux world and I have installed Eclipse, with CDT.
> > I am running the simplescan code off this website
> > http://people.csail.mit.edu/albert/bluez-intro/c401.html and I am
> > getting
> > these errors:
> > simplescan.c:6:33: error: bluetooth/bluetooth.h: No such file or
> > directory
> > simplescan.c:7:27: error: bluetooth/hci.h: No such file or directory
> > simplescan.c:8:31: error: bluetooth/hci_lib.h: No such file or directory
> > simplescan.c: In function 'main':
> > simplescan.c:12: error: 'inquiry_info' undeclared (first use in this
> > function)
> > simplescan.c :12: error: (Each undeclared identifier is reported only
> > once
> > simplescan.c:12: error: for each function it appears in.)
> > simplescan.c:12: error: 'ii' undeclared (first use in this function)
> > simplescan.c:28: error: 'IREQ_CACHE_FLUSH' undeclared (first use in this
> >
> > function)
> > simplescan.c:29: error: expected expression before ')' token
> > simplescan.c:36: warning: incompatible implicit declaration of built-in
> > function 'memset'
> > simplescan.c:39: warning: incompatible implicit declaration of built-in
> > function 'strcpy'
> > simplescan.c:46:2: warning: no newline at end of file
> >
> > I can see these header files:
> > /usr/src/kernels/2.6.19-1.2911.fc6-i686
> > /include/net/bluetooth/bluetooth.h
> > /usr/src/kernels/2.6.19- 1.2911.fc6-i686/include/net/bluetooth/hci.h
> > /usr/src/kernels/2.6.19- 1.2911.fc6-i686/include/net/bluetooth/hci_core.h
> > /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/l2cap.h
> > /usr/src/kernels/2.6.19- 1.2911.fc6-i686 /include/net/bluetooth/rfcomm.h
> > /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/sco.h
> >
> > Where is the hci_lib.h header file? Can anyone please assist me?
> > Meena
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Thu, 1 Mar 2007 20:06:22 +0530
> > From: "Vikas Sinha" < compuvikas@gmail.com >
> > Subject: Re: [Bluez-devel] Help: missing Bluetooth header file
> > To: "BlueZ development" < bluez-devel@lists.sourceforge.net>
> > Message-ID:
> > < 1ab01fb50703010636n76b93d4dre26a557f59f8f294@mail.gmail.com >
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Did you have bluez stack in your machine. What version of kernel you are
> > using.
> > you need to provide linking -lbluetooth during compilation.
> >
> > On 3/1/07, Meenakshi Seeballack < meena2010@gmail.com> wrote:
> > >
> > > Hello,
> > > I am new to the linux world and I have installed Eclipse, with CDT.
> > > I am running the simplescan code off this website
> > http://people.csail.mit.edu/albert/bluez-intro/c401.html
> > > and I am getting these errors:
> > > simplescan.c:6:33: error: bluetooth/bluetooth.h: No such file or
> > directory
> > > simplescan.c :7:27: error: bluetooth/hci.h: No such file or directory
> > > simplescan.c :8:31: error: bluetooth/hci_lib.h: No such file or
> > directory
> > > simplescan.c : In function 'main':
> > > simplescan.c:12: error: 'inquiry_info' undeclared (first use in this
> > > function)
> > > simplescan.c:12: error: (Each undeclared identifier is reported only
> > once
> > > simplescan.c:12: error: for each function it appears in.)
> > > simplescan.c:12: error: 'ii' undeclared (first use in this function)
> > > simplescan.c:28: error: 'IREQ_CACHE_FLUSH' undeclared (first use in
> > this
> > > function)
> > > simplescan.c:29: error: expected expression before ')' token
> > > simplescan.c:36: warning: incompatible implicit declaration of
> > built-in
> > > function 'memset'
> > > simplescan.c:39: warning: incompatible implicit declaration of
> > built-in
> > > function 'strcpy'
> > > simplescan.c:46:2: warning: no newline at end of file
> > >
> > > I can see these header files:
> > > /usr/src/kernels/2.6.19-1.2911.fc6-i686
> > /include/net/bluetooth/bluetooth.h
> > > /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/hci.h
> > > /usr/src/kernels/2.6.19- 1.2911.fc6-i686/include/net/bluetooth/hci_core.h
> > > /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/l2cap.h
> > > /usr/src/kernels/2.6.19- 1.2911.fc6-i686/include/net/bluetooth/rfcomm.h
> > > /usr/src/kernels/2.6.19- 1.2911.fc6-i686 /include/net/bluetooth/sco.h
> > >
> > > Where is the hci_lib.h header file? Can anyone please assist me?
> > > Meena
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share
> > > your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > > _______________________________________________
> > > Bluez-devel mailing list
> > > Bluez-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/bluez-devel
> > >
> > >
> >
> >
> > --
> > Impossible
> > itself contain
> > I M Possible
> >
> > Vikas
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Bluez-devel mailing list
> > Bluez-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bluez-devel
> >
> >
> > End of Bluez-devel Digest, Vol 11, Issue 1
> > ******************************************
> >
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>
--
Impossible
itself contain
I M Possible
Vikas
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
End of Bluez-devel Digest, Vol 11, Issue 3
******************************************