From: Ordit Gross <ordit.gross@orcam.com>
To: linux-bluetooth@vger.kernel.org
Cc: ordit Binshtok <ordit.b@gmail.com>
Subject: connectDevice - dbus adapter api
Date: Wed, 31 Jul 2019 21:14:41 +0300 [thread overview]
Message-ID: <CAB+bgRb9YgAd5cbDz_8KVNDuxG6X=iHUmTVfjU07_pUNK24zhg@mail.gmail.com> (raw)
hi all,
I have an application that attempts to connect to a paired speaker every minute.
in case the remote speaker performs reset, the speaker side keys are gone.
the local device still attempts to reconnect to that device
(bluetoothd still have all credentials saved).
I would like to have a connect_reply "authentication failed" but am
only getting org.bluez.Error.Failed
I want to have that information so I could clear credentials from my
side (remove device)
** the failed connect might happen also if the speaker is not in
reach, so this alone isn't a good indication.
how can I overcome this issue?
(btmon shows the complete information authentication failed)
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/adapter-api.txt
I appreciate your help!
thanks in advance
Ordit
reply other threads:[~2019-07-31 18:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CAB+bgRb9YgAd5cbDz_8KVNDuxG6X=iHUmTVfjU07_pUNK24zhg@mail.gmail.com' \
--to=ordit.gross@orcam.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=ordit.b@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.