* When can I trust with bluetoothctl and 5.47?
@ 2017-11-15 17:03 John Klug
2017-11-15 17:44 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: John Klug @ 2017-11-15 17:03 UTC (permalink / raw)
To: linux-bluetooth
Over and over again it says device is not available. When does it
become available? Is there a way to do this deterministically? I
quickly entered trust (it was saved from previous executions
unsuccessfully) after pairing. Then after connecting, all to no
avail.
Is there documentation on this?
The remote in this case is Broadcom 6.5.1.6000 stack.
[agent] Confirm passkey 702629 (yes/no): yes
[CHG] Device 5C:F3:70:74:04:AF UUIDs: 00001000-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:F3:70:74:04:AF UUIDs: 00001115-0000-1000-8000-00805f9b34fb
[CHG] Device 5C:F3:70:74:04:AF ServicesResolved: yes
[CHG] Device 5C:F3:70:74:04:AF Paired: yes
[John Conduit Klug (SGH-M919)]# trust 5C:F3:70:74:04:AF
Device 5C:F3:70:74:04:AF not available
[CHG] Device 5C:F3:70:74:04:AF ServicesResolved: no
[CHG] Device 5C:F3:70:74:04:AF Connected: no
[John Conduit Klug (SGH-M919)]# trust 5C:F3:70:74:04:AF
Device 5C:F3:70:74:04:AF not available
[John Conduit Klug (SGH-M919)]# devices
Device BC:44:86:56:6B:95 John Conduit Klug (SGH-M919)
Device 5C:F3:70:74:04:AF CALMQUIST-L1
[John Conduit Klug (SGH-M919)]# info 5C:F3:70:74:04:AF
Device 5C:F3:70:74:04:AF
Name: CALMQUIST-L1
Alias: CALMQUIST-L1
Class: 0x0002010c
Icon: computer
Paired: yes
Trusted: no
Blocked: no
Connected: no
LegacyPairing: no
UUID: Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
UUID: PANU (00001115-0000-1000-8000-00805f9b34fb)
[John Conduit Klug (SGH-M919)]# trust 5C:F3:70:74:04:AF
Device 5C:F3:70:74:04:AF not available
[CHG] Device BC:44:86:56:6B:95 Connected: no
[bluetooth]# trust 5C:F3:70:74:04:AF
Device 5C:F3:70:74:04:AF not available
[bluetooth]# devices
Device BC:44:86:56:6B:95 John Conduit Klug (SGH-M919)
Device 5C:F3:70:74:04:AF CALMQUIST-L1
[CHG] Device 5C:F3:70:74:04:AF Connected: yes
Authorize service
[agent] Authorize service 0000000f-0000-1000-8000-00805f9b34fb (yes/no): yes
[CALMQUIST-L1]# trust 5C:F3:70:74:04:AF
Device 5C:F3:70:74:04:AF not available
[CALMQUIST-L1]# info 5C:F3:70:74:04:AF
Device 5C:F3:70:74:04:AF
Name: CALMQUIST-L1
Alias: CALMQUIST-L1
Class: 0x0002010c
Icon: computer
Paired: yes
Trusted: no
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Service Discovery Serve.. (00001000-0000-1000-8000-00805f9b34fb)
UUID: PANU (00001115-0000-1000-8000-0080
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: When can I trust with bluetoothctl and 5.47?
2017-11-15 17:03 When can I trust with bluetoothctl and 5.47? John Klug
@ 2017-11-15 17:44 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2017-11-15 17:44 UTC (permalink / raw)
To: John Klug; +Cc: linux-bluetooth
Hi John,
On Wed, Nov 15, 2017, John Klug wrote:
> Over and over again it says device is not available. When does it
> become available? Is there a way to do this deterministically? I
> quickly entered trust (it was saved from previous executions
> unsuccessfully) after pairing. Then after connecting, all to no
> avail.
>
> Is there documentation on this?
>
> The remote in this case is Broadcom 6.5.1.6000 stack.
>
> [agent] Confirm passkey 702629 (yes/no): yes
> [CHG] Device 5C:F3:70:74:04:AF UUIDs: 00001000-0000-1000-8000-00805f9b34fb
> [CHG] Device 5C:F3:70:74:04:AF UUIDs: 00001115-0000-1000-8000-00805f9b34fb
> [CHG] Device 5C:F3:70:74:04:AF ServicesResolved: yes
> [CHG] Device 5C:F3:70:74:04:AF Paired: yes
> [John Conduit Klug (SGH-M919)]# trust 5C:F3:70:74:04:AF
> Device 5C:F3:70:74:04:AF not available
I think bluetoothctl has a bug where it doesn't strip whitespace from
the beginning of arguments. In your case you have two spaces between
trust and the address. Try removing one.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-15 17:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15 17:03 When can I trust with bluetoothctl and 5.47? John Klug
2017-11-15 17:44 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).