All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Mielke <Dave@mielke.cc>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Linux Bluetooth <linux-bluetooth@vger.kernel.org>
Subject: Re: bluetoothctl set-alias - how to select the device
Date: Tue, 25 Jan 2022 19:43:29 -0500	[thread overview]
Message-ID: <YfCZMSCW2IhtKT78@beta.private.mielke.cc> (raw)
In-Reply-To: <CABBYNZJEB7-m38wktA4iK-HAy=9JLU9a7Y66MqXe6XEQwUx03Q@mail.gmail.com>

[quoted lines by Luiz Augusto von Dentz on 2022/01/25 at 15:18 -0800]

>It only works while connected currently, 

Even then, it's unpredictable when more than one device is connected. In my case, for example, it can be my Bluetooth speaker as well as a braille device. I assumed, at first, that maybe it's the most recently connected device, but that, too, wasn't true. When I connected the second device it still changed the alias of the first device.

>we could in theory extend the command to have an optional 2 parameter so one can enter an address.

That, I think, would be very helpful. As I understand it, isn't set-alias only updating local (host-resident) data anyway? Also, given that set-alias isn't predictable anway when more than one device is connected, I think there definitely needs to be a way to explicitly say what one is wanting to do.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave@Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |

      reply	other threads:[~2022-01-26  0:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 15:56 bluetoothctl set-alias - how to select the device Dave Mielke
2022-01-25 23:18 ` Luiz Augusto von Dentz
2022-01-26  0:43   ` Dave Mielke [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=YfCZMSCW2IhtKT78@beta.private.mielke.cc \
    --to=dave@mielke.cc \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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.