BlueZ API documentation
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 0x02But 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 <[email protected]>
To: BlueZ users <[email protected]>
Sent: Monday, September 10, 2007 4:22:00 PM
Subject: Re: [Bluez-users] BlueZ API documentation
Hi Brown,
Quoted 5 lines
Where can I find the documentation for BlueZ API's ? I'm looking
for documentations forhci_xxxfunctions.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 [email protected]
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
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Brown,
Quoted 12 lines
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
Quoted 7 lines
#define OCF_WRITE_SCAN_ENABLE 0x001A #define SCAN_DISABLED 0x00 #define SCAN_INQUIRY 0x01 #define SCAN_PAGE 0x02But 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users