Return-Path: Message-ID: <8712867d0608240751g5efef440q4474334bc7d0a7fc@mail.gmail.com> Date: Thu, 24 Aug 2006 09:51:49 -0500 From: "Jaime Alberto Silva" To: "BlueZ users" In-Reply-To: <20060824141134.GA3181@localhost.localdomain> MIME-Version: 1.0 References: <8712867d0608231353l6aa027bbha331a44392231f92@mail.gmail.com> <8712867d0608231418ld76b304oc8ae4ba1d8269d56@mail.gmail.com> <1156410090.4133.68.camel@aeonflux.holtmann.net> <8712867d0608240646n3ae773d6h271ba57ef06771cf@mail.gmail.com> <20060824141134.GA3181@localhost.localdomain> Subject: Re: [Bluez-users] Fwd: bluez-utils: The inquiry scan (ISCAN) gets turned off Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net On 8/24/06, Johan Hedberg wrote: > On Thu, Aug 24, 2006, Jaime Alberto Silva wrote: > > Is there any tool in bluez-utils to achieve that? or some new entries > > in the hcid.conf? so it can be done in an init script. > > Adding "discovto 0;" to hcid.conf should do the trick. > > You can change the settings from the command line using dbus-send, but I > don't think it's a good idea to put it into a init script. E.g. the > following would put the device in discoverable mode: > dbus-send --system --dest=org.bluez /org/bluez/hci0 \ > org.bluez.Adapter.SetMode string:discoverable > Can you, please, point me to some documentation about dbus usage and how to discover the methods registered by bluez?. Another example will be nice, something like... How to set the discover timeout with dbus ;^) Thanks for your help! -- Jaime Alberto Silva L I N U X .~. The Choice /V\ of a GNU / ( ) \ Generation ^^-^^ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users