public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] using bluez dbus interface exposed from hcid with plain c code
@ 2008-05-17 14:41 Fritz Code
  2008-05-17 14:47 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Fritz Code @ 2008-05-17 14:41 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 1141 bytes --]

Hi,

since I don't have resources for Glib or another abstraction layer on my
Embedded Linux I can only use plain C for communication with bluez through
dbus.
But so far I've only find howto's with GLib or Qt etc.
Are there any documents that describe my case (plain c communication) ?

For general understanding of the bluez architecture and tools, a statement
and a question:

hcid is the daemon which exposes different Interfaces through dbus, e.g. the
Interface "Adapter".
Another Application can access bluez functionalities through dbus by using
the Interfaces exposed from hcid. (hopefully also by using plain C).

E.g.: You want to develop an application "example-app" which should list
available local buetooth devices, remote devices and its services.
In this case it is enough to start hcid and use its Interface "Adapter" from
"example-app" ?

The other tools like, hcitool, hciconfig etc. are not necessary, they are
own applications, right.
In order to use bluez features from another application (through dbus) the
only tool/util needed is hcid?
And this is configured by hcid.conf?



Thanks...





-- 
Regards,
--Codefritz

[-- Attachment #1.2: Type: text/html, Size: 1312 bytes --]

[-- Attachment #2: Type: text/plain, Size: 230 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2008-05-18  9:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-17 14:41 [Bluez-users] using bluez dbus interface exposed from hcid with plain c code Fritz Code
2008-05-17 14:47 ` Marcel Holtmann
2008-05-17 16:55   ` Anders Eriksson
2008-05-17 18:38   ` Fritz Code
2008-05-18  0:04     ` Marcel Holtmann
2008-05-18  8:32       ` Fritz Code
2008-05-18  9:10         ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox