linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Axelle <aafortinet@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Pairing request ends in timeout
Date: Thu, 1 Aug 2019 16:10:05 +0200	[thread overview]
Message-ID: <CANKzOHAsWzZR3aXWnh9-bYJoO=d124KD+C5gPmot5fMfEH_G9Q@mail.gmail.com> (raw)

Hello list,

I (again) face problems pairing with a BLE device.

Using bluetoothctl (v5.50), I connected to the device (connect).  Then
I try to pair but it fails (org.bluez.Error.AuthenticationCanceled).
The hcidump show a connection timeout.

NB:
- I have a registered agent (although I do not think it is useful in my case)
- I am using Linux Mint 19.1. The same error occurs on a Raspberry Pi
3 with Raspbian.
- I have some bluez distrib packages v5.48 installed. Can this be an issue?
- I got this to work a while ago with the help of someone of bluez on
IRC, doing power off/power on, but this is not working this time...

Thanks

-- Axelle

What bluetoothctl says:

[D2A74C76F3E0]# pair D2:A7:4C:76:F3:E0
Attempting to pair with D2:A7:4C:76:F3:E0
[CHG] Device D2:A7:4C:76:F3:E0 ServicesResolved: no
[CHG] Device D2:A7:4C:76:F3:E0 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

The corresponding hcidump shows that the connection times out:

< ACL data: handle 71 flags 0x00 dlen 11
    SMP: Pairing Request (0x01)
      capability 0x04 oob 0x00 auth req 0x2d
      max key size 0x10 init key dist 0x0d resp key dist 0x0f
      Capability: KeyboardDisplay (OOB data not present)
      Authentication: Bonding (MITM Protection)
      Initiator Key Distribution:  LTK  CSRK
      Responder Key Distribution:  LTK IRK CSRK
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 71 packets 1
> HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 71 reason 0x08
    Reason: Connection Timeout

             reply	other threads:[~2019-08-01 14:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-01 14:10 Axelle [this message]
2019-08-05 14:56 ` Pairing request ends in timeout Axelle
2019-08-06  9:26   ` Axelle

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='CANKzOHAsWzZR3aXWnh9-bYJoO=d124KD+C5gPmot5fMfEH_G9Q@mail.gmail.com' \
    --to=aafortinet@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 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).