linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joe Glancy <joe.t.glancy@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: DBUS API error "Not paired" when attempting to read GATT characteristic
Date: Thu, 5 May 2016 18:15:51 +0100	[thread overview]
Message-ID: <572B7FC7.7020502@gmail.com> (raw)
In-Reply-To: <CABBYNZLiv7uY-i3W+TcieskEQqrxC6Y0pUkFatDSqL_wrsnHpg@mail.gmail.com>

Hello Luiz,

> How you are actually testing this, perhaps you should try using bluetoothctl:
>
>> agent on
>> default-agent
>> pair <address>

Unfortunately, with the above `agent` commands the device does not pair, 
and instead hangs. The btmon logs for the following three scenarios are 
available at 
https://gist.github.com/JoeGlancy/a5486660f2f59c627b6da32c810927f9:

  - pairing the device through Ubuntu's default Bluetooth manager
  - pairing the device through bluetoothctl without issuing the above 
`agent on`/`default-agent` commands
  - pairing the device through bluetoothctl, issuing the above `agent 
on`/`default-agent` commands before issuing the pair command.

      reply	other threads:[~2016-05-05 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 15:38 DBUS API error "Not paired" when attempting to read GATT characteristic Joe Glancy
2016-05-04 11:03 ` Luiz Augusto von Dentz
2016-05-05 17:15   ` Joe Glancy [this message]

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=572B7FC7.7020502@gmail.com \
    --to=joe.t.glancy@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@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 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).