From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] [patch] make apitest more useful
Date: Fri, 07 Mar 2008 15:16:09 +0100 [thread overview]
Message-ID: <1204899369.28006.2.camel@californication> (raw)
In-Reply-To: <47D03C82.9060009@suse.de>
Hi Stefan,
> This trivial 2-character patch makes apitest much more useful by allowing
> stuff like "apitest -l DiscoverDevices" to work like i'd expect it to:
>
> --- /usr/bin/apitest 2008-03-02 19:22:20.000000000 +0100
> +++ /home/seife/bin/apitest.seife 2008-03-06 19:44:52.000000000 +0100
> @@ -415,7 +415,7 @@ class Tester:
> 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:
>
>
> Now we can alias "hcitool scan" to "apitest -l DiscoverDevices" ;-)
the apitest is really only a test program, but I applied the patch
neverless.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2008-03-07 14:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 18:48 [Bluez-devel] [patch] make apitest more useful Stefan Seyfried
2008-03-07 14:16 ` Marcel Holtmann [this message]
2008-03-07 15:06 ` Stefan Seyfried
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=1204899369.28006.2.camel@californication \
--to=marcel@holtmann.org \
--cc=bluez-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox