Linux-Bluetooth Archive on lore.kernel.org
 help / color / Atom feed
* connectDevice - dbus adapter api
@ 2019-07-31 18:14 Ordit Gross
  0 siblings, 0 replies; only message in thread
From: Ordit Gross @ 2019-07-31 18:14 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: ordit Binshtok

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-31 18:14 connectDevice - dbus adapter api Ordit Gross

Linux-Bluetooth Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-bluetooth/0 linux-bluetooth/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bluetooth linux-bluetooth/ https://lore.kernel.org/linux-bluetooth \
		linux-bluetooth@vger.kernel.org linux-bluetooth@archiver.kernel.org
	public-inbox-index linux-bluetooth


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-bluetooth


AGPL code for this site: git clone https://public-inbox.org/ public-inbox