Skip to contentSkip to conversation

BlueZ APIs

Bluez-users Nitin Mahajan 2 participants 2 messages Aug 29, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

HI Marcel!=0A=0AThanks for your inputs, is that possible I can use the Blue= Z without D-BUS also?=0A=0Aregards=0A=0A-Nitin=0A=0A----- Original Message = ----=0AFrom: Marcel Holtmann <[email protected]>=0ATo: Nitin Mahajan <nit= [email protected]>; BlueZ users <[email protected]>=0ASent: W= ednesday, August 29, 2007 3:18:19 PM=0ASubject: Re: [Bluez-users] BlueZ API= s=0A=0A=0AHi Nitin,=0A=0A> I am new to Bluetooth programming. I have read s= ome documentation at BlueZ website and the WiKi regarding bluetooth program= ming. =0A> What I understood is that the latest BlueZ stack has it's interf= ace as the BlueZ D-BUS API, through which one can avail bluetooth services.= =0A> =0A> What I wanted to understand that Is there a way I can avail thes= e services without using D-BUS/ D-BUS API and by directly accessing some Bl= ueZ API. One way I know is Bluetooth socket programming, but cannot cover e= ach and every bluetooth functionality. What are the additional set of APIs = to access bluetooth services. Is there a place where these BlueZ APIS(other=
than BlueZ socket and D-BUS API) are documented?=0A=0Ause the L2CAP and RF=
COMM sockets and the D-Bus API for BlueZ. Everything=0Aelse it not worth us= ing.=0A=0ARegards=0A=0AMarcel=0A=0ASend instant messages to your online fri= ends http://uk.messenger.yahoo.com

maintainer
#1 lore raw

Hi Nitin,

Quoted 1 line

Thanks for your inputs, is that possible I can use the BlueZ without D-BUS also?

you could use libbluetooth directly to access HCI, but you really don't wanna do that. It is like working with plain IP packets instead of TCP and you will do a lot of things wrong. In some cases the kernel or hcid will not even allow you certain changes and simply go ahead and overwrite them. The D-Bus API is the only one that makes sense, because it takes care of a lot of things you normally don't think about. Trust me on this one. We spent a lot of time in getting this right.

Regards

Marcel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users