linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Using bluez-utils from another application
@ 2008-05-14 11:24 mulata
  2008-05-15  9:36 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: mulata @ 2008-05-14 11:24 UTC (permalink / raw)
  To: bluez-users

Hi!

Just installed bluez-libs-2.25 and bluez-utils-2.25.
I know there are more recent versions avaiable but since Im developping for an Embedded Linux System based on ARM9 my resources are very limited and I was not able to compile "libdbus" which is necessary for the recent version of bluez.However... the installed versions are working fine. 
By the way Im using a 2.2.21 Kernel, but the bluetooth related stuff is patched to 2.2.26.
My goal is to use functionalities provided by hciconfig and hcitool in another C Program. Finally this features (e.g. Listing active local bluetooth devices, do a scan for remote devices, ask for available services) will be visualized graphically in this C programm.

So there are basically tow ways:
- System Calls like system("hciconfig") (which is not very handy and beautiful)
- Using the Library

Concerning the second point (using Library) I did some research in hciconfig.c.
I expected that there a some higher-level functions that I can call from another C programm by including the necessary header files.
But it seems there must be also done some low-level stuff, like opening a HCI socket.

If anybody has some experience or hints in using bluez-lib from another application please let me know.

Thanks,
Johannes
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-15 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 11:24 [Bluez-users] Using bluez-utils from another application mulata
2008-05-15  9:36 ` Marcel Holtmann
2008-05-15  9:52   ` [Bluez-users] i would like to donate a bunch of non working bluetooth hardware Jelle de Jong
2008-05-15 14:59   ` [Bluez-users] Using bluez-utils from another application mulata
2008-05-15 15:02     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).