linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Urbani, Edmund" <edmund.urbani@lilandit.com>
To: linux-bluetooth@vger.kernel.org
Subject: gatttool --listen not working?
Date: Thu, 13 Nov 2014 13:26:54 +0100	[thread overview]
Message-ID: <5464A38E.20502@LilandIT.com> (raw)

Hello all,

I am trying to connect to a GATT service (running on an iPhone) and register a 
notification listener using gatttool. I can read the attribute value with 
gatttool and the --char-read argument just fine. When I add --listen, gatttool 
keeps running, but I never see any notifications. Debugging on the other end 
reveals that the iOS APIs didSubscribeToCharacteristic never gets called.

Any ideas why this is not working?

gatttool -i hci0 -t random --listen --char-read --handle 0x0034 -b 5C:A2:D5:C7:BF:14
Characteristic value/descriptor: 2d

.... and then. Nothing.

Kind regards,
  Edmund



                 reply	other threads:[~2014-11-13 12:26 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=5464A38E.20502@LilandIT.com \
    --to=edmund.urbani@lilandit.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).