All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Seyfried <seife@suse.de>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] DiscoverDevices with apitest?
Date: Thu, 19 Oct 2006 14:41:07 +0200	[thread overview]
Message-ID: <20061019124107.GD31910@suse.de> (raw)
In-Reply-To: <20061019123133.GA18838@localhost.localdomain>

On Thu, Oct 19, 2006 at 03:31:33PM +0300, Johan Hedberg wrote:
> On Thu, Oct 19, 2006, Marcel Holtmann wrote:
> > You need to keep the calling application running, because otherwise hcid
> > will stop the discovery. That is actually what you see in syslog.
> =

> You could also try the attached patch. After that the following command =

> should do the trick:
> ./apitest -l DiscoverDevices

almost, see below
 =

> I think we may want to apply this to CVS. Marcel, what do you think?

I like it :-) I already had tried apitest -l DiscoverDevices, but it did
not work.

> Index: apitest
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvsroot/bluez/utils/test/apitest,v
> retrieving revision 1.1
> diff -u -r1.1 apitest
> --- apitest	28 Sep 2006 15:23:24 -0000	1.1
> +++ apitest	19 Oct 2006 12:30:33 -0000
> @@ -399,7 +399,8 @@
>              self.dbus_mgr_sig_setup()
>              self.dbus_dev_sig_setup()
>              print 'Listening for events...'
> -        elif self.cmd in mgr_cmds:
> +
> +        if self.cmd in mgr_cmds:
>              try:
>                  self.dbus_mgr_setup()
>              except dbus.DBusException, e:
> @@ -413,7 +414,7 @@
>                  print 'Failed to setup device interface: %s' % e
>                  sys.exit(1)
>              self.call_dev_dbus_func()
> -        else:
> +        else if not self.listen:

           elif not self.listen

>              print 'Unknown command: %s' % self.cmd
>              self.usage()
>              sys.exit(1)
-- =

Stefan Seyfried                  \ "I didn't want to write for pay. I
QA / R&D Team Mobile Devices      \ wanted to be paid for what I write."
SUSE LINUX Products GmbH, N=FCrnberg \                    -- Leonard Cohen

-------------------------------------------------------------------------
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 easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      parent reply	other threads:[~2006-10-19 12:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19 11:56 [Bluez-users] DiscoverDevices with apitest? Stefan Seyfried
2006-10-19 12:04 ` Marcel Holtmann
2006-10-19 12:31   ` Johan Hedberg
2006-10-19 12:35     ` Johan Hedberg
2006-10-19 12:42       ` Marcel Holtmann
2006-10-19 12:49         ` Johan Hedberg
2006-10-19 12:41     ` Stefan Seyfried [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061019124107.GD31910@suse.de \
    --to=seife@suse.de \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.