public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] BlueZ APIs
@ 2007-08-29  8:57 Nitin Mahajan
  2007-08-29  9:48 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Nitin Mahajan @ 2007-08-29  8:57 UTC (permalink / raw)
  To: bluez-users

Hi!
 
I am new to Bluetooth programming. I have read some documentation at BlueZ website and the WiKi regarding bluetooth programming. 
What I understood is that the latest BlueZ stack has it's interface as the BlueZ D-BUS API, through which one can avail bluetooth services.
 
What I wanted to understand that Is there a way I can avail these services without using D-BUS/ D-BUS API and by directly accessing some BlueZ API. One way I know is Bluetooth socket programming, but cannot cover each 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?
 
Thanking in advance
 
regards
 
-Nitin

Send instant messages to your online friends http://uk.messenger.yahoo.com 

-------------------------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] BlueZ APIs
  2007-08-29  8:57 [Bluez-users] BlueZ APIs Nitin Mahajan
@ 2007-08-29  9:48 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2007-08-29  9:48 UTC (permalink / raw)
  To: Nitin Mahajan, BlueZ users

Hi Nitin,

> I am new to Bluetooth programming. I have read some documentation at BlueZ website and the WiKi regarding bluetooth programming. 
> What I understood is that the latest BlueZ stack has it's interface as the BlueZ D-BUS API, through which one can avail bluetooth services.
>  
> What I wanted to understand that Is there a way I can avail these services without using D-BUS/ D-BUS API and by directly accessing some BlueZ API. One way I know is Bluetooth socket programming, but cannot cover each 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?

use the L2CAP and RFCOMM sockets and the D-Bus API for BlueZ. Everything
else it not worth using.

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] BlueZ APIs
@ 2007-08-29 11:25 Nitin Mahajan
  2007-08-29 13:54 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Nitin Mahajan @ 2007-08-29 11:25 UTC (permalink / raw)
  To: Marcel Holtmann, BlueZ users

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 <marcel@holtmann.org>=0ATo: Nitin Mahajan <nit=
inm76@yahoo.com>; BlueZ users <bluez-users@lists.sourceforge.net>=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 

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

* Re: [Bluez-users] BlueZ APIs
  2007-08-29 11:25 Nitin Mahajan
@ 2007-08-29 13:54 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2007-08-29 13:54 UTC (permalink / raw)
  To: Nitin Mahajan; +Cc: BlueZ users

Hi Nitin,

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] BlueZ APIs
@ 2007-09-26  5:08 Nitin Mahajan
  2007-09-26 22:12 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Nitin Mahajan @ 2007-09-26  5:08 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: bluez-users

Hello!=0A=0AThanks for the information in this regard. I wanted to know if =
there is any documentation for the BlueZ HCI APIs.=0A=0Athanks and regards=
=0A=0A-Nitin=0A=0A----- Original Message ----=0AFrom: Marcel Holtmann <marc=
el@holtmann.org>=0ATo: Nitin Mahajan <nitinm76@yahoo.com>; BlueZ users <blu=
ez-users@lists.sourceforge.net>=0ASent: Wednesday, August 29, 2007 3:18:19 =
PM=0ASubject: Re: [Bluez-users] BlueZ APIs=0A=0AHi Nitin,=0A=0A> I am new t=
o Bluetooth programming. I have read some documentation at BlueZ website an=
d the WiKi regarding bluetooth programming. =0A> What I understood is that =
the latest BlueZ stack has it's interface as the BlueZ D-BUS API, through w=
hich one can avail bluetooth services.=0A>  =0A> What I wanted to understan=
d that Is there a way I can avail these services without using D-BUS/ D-BUS=
 API and by directly accessing some BlueZ API. One way I know is Bluetooth =
socket programming, but cannot cover each and every bluetooth functionality=
. What are the additional set of APIs to access bluetooth services. Is ther=
e a place where these BlueZ APIS(other than BlueZ socket and D-BUS API) are=
 documented?=0A=0Ause the L2CAP and RFCOMM sockets and the D-Bus API for Bl=
ueZ. Everything=0Aelse it not worth using.=0A=0ARegards=0A=0AMarcel=0A=0A=
=0A=0A=0A=0A=0ASend instant messages to your online friends http://uk.messe=
nger.yahoo.com 

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

* Re: [Bluez-users] BlueZ APIs
  2007-09-26  5:08 Nitin Mahajan
@ 2007-09-26 22:12 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2007-09-26 22:12 UTC (permalink / raw)
  To: Nitin Mahajan; +Cc: bluez-users

Hi Nitin,

> Thanks for the information in this regard. I wanted to know if there is any documentation for the BlueZ HCI APIs.

except the source code? Not really.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] 6+ messages in thread

end of thread, other threads:[~2007-09-26 22:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29  8:57 [Bluez-users] BlueZ APIs Nitin Mahajan
2007-08-29  9:48 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2007-08-29 11:25 Nitin Mahajan
2007-08-29 13:54 ` Marcel Holtmann
2007-09-26  5:08 Nitin Mahajan
2007-09-26 22:12 ` Marcel Holtmann

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