From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 10 Sep 2007 16:37:09 -0700 (PDT) From: Brown Dwarf To: BlueZ users MIME-Version: 1.0 Message-ID: <690118.53390.qm@web32905.mail.mud.yahoo.com> Subject: Re: [Bluez-users] BlueZ API documentation Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0854658588==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============0854658588== Content-Type: multipart/alternative; boundary="0-444295709-1189467429=:53390" --0-444295709-1189467429=:53390 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Thanks for the quick Marcel.=0A=0ANot problem. I think I should get used to= the src code. =0A=0AOne quick question though (just to get around what I'm= currently stuck with)=0A=0AI want to programatically control the disovery = status of my local BT device.=0AMeaning - my program should be able to set = the BT device status so that other device cannot "see" it.=0A=0AI noticed t= hese in hci.h=0A=0A#define OCF_WRITE_SCAN_ENABLE 0x001A=0A #define= SCAN_DISABLED 0x00=0A #define SCAN_INQUIRY 0x01=0A #def= ine SCAN_PAGE 0x02=0A=0A=0ABut I am not sure what API's should be use= d and how.=0AI'll be happy to update the wiki with these kind of info - if = thats useful=0A=0A~bd=0A=0A----- Original Message ----=0AFrom: Marcel Holtm= ann =0ATo: BlueZ users =0ASent: Monday, September 10, 2007 4:22:00 PM=0ASubject: Re: [Bluez-us= ers] BlueZ API documentation=0A=0A=0AHi Brown,=0A=0A> Where can I find = the documentation for BlueZ API's ? I'm looking=0A> for documentations for = hci_xxx functions.=0A> =0A> I looked under bluez wiki and HOWTO pages but d= id not find anything=0A> specific to API documentation. =0A=0Athe Bluetooth= library is not really documented. Use the source, Luke ;)=0A=0ARegards=0A= =0AMarcel=0A=0A=0A=0A------------------------------------------------------= -------------------=0AThis SF.net email is sponsored by: Microsoft=0ADefy a= ll challenges. Microsoft(R) Visual Studio 2005.=0Ahttp://clk.atdmt.com/MRT/= go/vse0120000070mrt/direct/01/=0A__________________________________________= _____=0ABluez-users mailing list=0ABluez-users@lists.sourceforge.net=0Ahttp= s://lists.sourceforge.net/lists/listinfo/bluez-users=0A=0A=0A =0A____= ___________________________________________________________________________= _____=0ABoardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's u= pdated for today's economy) at Yahoo! Games.=0Ahttp://get.games.yahoo.com/p= roddesc?gamekey=3Dmonopolyherenow --0-444295709-1189467429=:53390 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable
 
=0A
Thanks for the quick&nbs= p;Marcel.
=0A
 
=0A
Not problem. I th= ink I should get used to the src code.
=0A
 
=0AOne quick question though (just to get around what I'm currently st= uck with)
=0A
 
=0A
I want to programatica= lly control the disovery status of my local BT device.
=0A
= Meaning - my program should be able to set the BT device status so tha= t other device cannot "see" it.
=0A
 
=0A
= I noticed these in hci.h
=0A
 
=0A
#define OCF_WRITE_S= CAN_ENABLE       0x001A
   = #define SCAN_DISABLED       0x00
 &n= bsp;  #define SCAN_INQUIRY        0= x01
    #define SCAN_PAGE     &n= bsp; 0x02
=0A
 
=0A
But I am not sur= e what API's should be used and how.
=0A
I'll be happy to upd= ate the wiki with these kind of info - if thats useful
=0A
=  
=0A
~bd
=0A
----- Original Message -= ---
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users= <bluez-users@lists.sourceforge.net>
Sent: Monday, September 10, 2= 007 4:22:00 PM
Subject: Re: [Bluez-users] BlueZ API documentation
=0A
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 pa= ges 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 listBluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
=0A


=0A
Got a = little couch potato?
=0ACheck out fun
summer activities for kids. --0-444295709-1189467429=:53390-- --===============0854658588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0854658588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============0854658588==--