public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Eggers <ceggers@arri.de>
To: <linux-bluetooth@vger.kernel.org>
Subject: [newbie] How does automatic reconnection work
Date: Wed, 10 Aug 2022 12:02:28 +0200	[thread overview]
Message-ID: <2277279.ElGaqSPkdT@n95hx1g2> (raw)

Many Bluetooth devices seem to have some kind of "reconnect behavior". For instance
an audio speaker reconnects automatically to a phone as soon as they are within an
appropriate distance.

On the web, there are also many instructions how to troubleshoot problems related to
"automatic reconnect" ([1], [2], [3]).

How is this feature actually implemented? What do I have to consider if I want to
automatically reconnect my product with the customers phone?

In my concrete case, I create a BNEP connection from my product to the customers phone
(which acts as a NAP, Bluetooth Tethering has to be enabled on the phone). I would like
to automatically reestablish the network connection as soon as the phone is within an
appropriate range.

regards
Christian


[1] https://techwiser.com/fix-bluetooth-device-doesnt-auto-connect-in-linux/
[2] https://unix.stackexchange.com/questions/334386/how-to-set-up-automatic-connection-of-bluetooth-headset
[3] https://stackoverflow.com/questions/32288670/bluez-auto-reconnect-devices




             reply	other threads:[~2022-08-10 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-10 10:02 Christian Eggers [this message]
2022-08-10 22:14 ` [newbie] How does automatic reconnection work Luiz Augusto von Dentz

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=2277279.ElGaqSPkdT@n95hx1g2 \
    --to=ceggers@arri.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox