* [Bluez-users] BlueZ API documentation
@ 2007-09-10 23:17 Brown Dwarf
2007-09-10 23:22 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Brown Dwarf @ 2007-09-10 23:17 UTC (permalink / raw)
To: BlueZ users
[-- Attachment #1.1: Type: text/plain, Size: 515 bytes --]
All,
Where can I find the documentation for BlueZ API's ? I'm looking for documentations for hci_xxx functions.
I looked under bluez wiki and HOWTO pages but did not find anything specific to API documentation.
Sorry if this a FAQ and the answer is popular arealy :)
Thanks
~bd~
____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658
[-- Attachment #1.2: Type: text/html, Size: 792 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
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/
[-- 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] 4+ messages in thread
* Re: [Bluez-users] BlueZ API documentation
2007-09-10 23:17 Brown Dwarf
@ 2007-09-10 23:22 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-09-10 23:22 UTC (permalink / raw)
To: BlueZ users
Hi Brown,
> Where can I find the documentation for BlueZ API's ? I'm looking
> for documentations for hci_xxx functions.
>
> I looked under bluez wiki and HOWTO pages but did not find anything
> specific to API documentation.
the Bluetooth library is not really documented. Use the source, Luke ;)
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] 4+ messages in thread
* Re: [Bluez-users] BlueZ API documentation
@ 2007-09-10 23:37 Brown Dwarf
2007-09-10 23:42 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Brown Dwarf @ 2007-09-10 23:37 UTC (permalink / raw)
To: BlueZ users
[-- Attachment #1.1: Type: text/plain, Size: 1924 bytes --]
Thanks for the quick Marcel.
Not problem. I think I should get used to the src code.
One quick question though (just to get around what I'm currently stuck with)
I want to programatically control the disovery status of my local BT device.
Meaning - my program should be able to set the BT device status so that other device cannot "see" it.
I noticed these in hci.h
#define OCF_WRITE_SCAN_ENABLE 0x001A
#define SCAN_DISABLED 0x00
#define SCAN_INQUIRY 0x01
#define SCAN_PAGE 0x02
But I am not sure what API's should be used and how.
I'll be happy to update the wiki with these kind of info - if thats useful
~bd
----- Original Message ----
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Monday, September 10, 2007 4:22:00 PM
Subject: Re: [Bluez-users] BlueZ API documentation
Hi Brown,
> Where can I find the documentation for BlueZ API's ? I'm looking
> for documentations for hci_xxx functions.
>
> I looked under bluez wiki and HOWTO pages but did not find anything
> specific to API documentation.
the Bluetooth library is not really documented. Use the source, Luke ;)
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
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
[-- Attachment #1.2: Type: text/html, Size: 4507 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
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/
[-- 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] 4+ messages in thread
* Re: [Bluez-users] BlueZ API documentation
2007-09-10 23:37 [Bluez-users] BlueZ API documentation Brown Dwarf
@ 2007-09-10 23:42 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-09-10 23:42 UTC (permalink / raw)
To: BlueZ users
Hi Brown,
> Not problem. I think I should get used to the src code.
>
> One quick question though (just to get around what I'm currently stuck
> with)
>
> I want to programatically control the disovery status of my local BT
> device.
> Meaning - my program should be able to set the BT device status so
> that other device cannot "see" it.
>
> I noticed these in hci.h
>
> #define OCF_WRITE_SCAN_ENABLE 0x001A
> #define SCAN_DISABLED 0x00
> #define SCAN_INQUIRY 0x01
> #define SCAN_PAGE 0x02
>
>
> But I am not sure what API's should be used and how.
if you wanna mess around with the HCI directly then you are on your own.
Why don't you use the nice D-Bus API we have. I gives you everything you
need and takes care of all the minor details you don't even wanna know
about.
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] 4+ messages in thread
end of thread, other threads:[~2007-09-10 23:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 23:37 [Bluez-users] BlueZ API documentation Brown Dwarf
2007-09-10 23:42 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2007-09-10 23:17 Brown Dwarf
2007-09-10 23:22 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox