All of lore.kernel.org
 help / color / mirror / Atom feed
From: sudeepta bhuyan <sudeepta.bhuyan@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: hciattach alternative to change default address after upgrading to BlueZ 5.47
Date: Mon, 12 Feb 2018 16:52:16 +0530	[thread overview]
Message-ID: <CA+TC0NqnhXH=jxSoV-XhkDJ05S7evYJhW28peD4LPAnSRn3spw@mail.gmail.com> (raw)

Hello all,

Prior to upgrading BlueZ to 5.47 in my project, I was using hciattach
to set the UART device's address before starting bluetoothd.

hciattach /dev/ttyS2 bcm43xx flow nosleep xx:xx:xx:xx:xx

However since hciattach is deprecated in newer BlueZ, I am now using
btattach instead to do the same. But btattach does not provide an
option to set the bluetooth address of the device.

What is the standard procedure to set the bluetooth address of the
UART device using newer BlueZ tools?

Thanks,
Sudeepta

             reply	other threads:[~2018-02-12 11:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12 11:22 sudeepta bhuyan [this message]
2018-02-12 14:08 ` hciattach alternative to change default address after upgrading to BlueZ 5.47 Marcel Holtmann
2018-02-14 10:02   ` sudeepta bhuyan

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='CA+TC0NqnhXH=jxSoV-XhkDJ05S7evYJhW28peD4LPAnSRn3spw@mail.gmail.com' \
    --to=sudeepta.bhuyan@gmail.com \
    --cc=linux-bluetooth@vger.kernel.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 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.