From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: Anderson Lizardo <anderson.lizardo@openbossa.org>,
"linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH BlueZ 1/2] test: Remove commented out code from simple-agent
Date: Fri, 17 May 2013 15:33:09 +0300 [thread overview]
Message-ID: <CABBYNZ+CVJfwMRq-dmPxmzRBBovUX-o3FjSrkjLfWNfKMFH4oQ@mail.gmail.com> (raw)
In-Reply-To: <BEF9B7BE-655D-4953-A514-9C7392E81C1B@holtmann.org>
Hi Marcel,
On Fri, May 17, 2013 at 8:15 AM, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Anderson,
>
>>>> --- a/test/simple-agent
>>>> +++ b/test/simple-agent
>>>> @@ -176,6 +176,3 @@ if __name__ == '__main__':
>>>> manager.RequestDefaultAgent(path)
>>>>
>>>> mainloop.run()
>>>> -
>>>> - #adapter.UnregisterAgent(path)
>>>> - #print("Agent unregistered")
>>>
>>> I would prefer if we remove the whole script. Does it provide anything that bluetoothctl is not providing?
>>
>> I have nothing against it (and we can always improve bluetoothctl if
>> something is missing there), but this is a legacy script that some
>> distros seem to package and users have been relying on it as a simple
>> console agent. Maybe we should (somehow) advertise bluetoothctl more.
>>
>> BTW, It seems that --timeout/-t option on simple-agent is totally ignored.
>
> then lets just delete it. Distros should be shipping bluetoothctl anyway these days.
Ultimately it is better to use bluetoothctl but it doesn't hurt to
have an example in python, but we should probably improve the
documentation about agent capabilities and IMO it should default to
"KeyboardDisplay" when no capability is given (agent on), right now I
think it does "" which maps to IO_CAPABILITY_DISPLAYYESNO.
--
Luiz Augusto von Dentz
prev parent reply other threads:[~2013-05-17 12:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 13:24 [PATCH BlueZ 1/2] test: Remove commented out code from simple-agent Anderson Lizardo
2013-05-16 13:24 ` [PATCH BlueZ 2/2] test: Use existing AGENT_PATH variable on simple-agent Anderson Lizardo
2013-05-16 13:45 ` [PATCH BlueZ 1/2] test: Remove commented out code from simple-agent Marcel Holtmann
2013-05-16 16:23 ` Anderson Lizardo
2013-05-17 5:15 ` Marcel Holtmann
2013-05-17 12:33 ` Luiz Augusto von Dentz [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=CABBYNZ+CVJfwMRq-dmPxmzRBBovUX-o3FjSrkjLfWNfKMFH4oQ@mail.gmail.com \
--to=luiz.dentz@gmail.com \
--cc=anderson.lizardo@openbossa.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/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;
as well as URLs for NNTP newsgroup(s).