linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jérémie Scheer" <j.scheer@albus.fr>
To: linux-bluetooth@vger.kernel.org
Subject: Gatttool automatically stop listening to notifications
Date: Fri, 12 Jun 2015 15:53:03 +0200	[thread overview]
Message-ID: <557AE43F.5040402@albus.fr> (raw)

Hello,

I'm trying to register to notifications from a peripheral with 
"gatttool" command, for an undefined time.
I correctly receive the notifications when listening, but the problem is 
that gatttool stop listening after 25s and automatically unsubscribe 
from the peripheral's characteristic.

I register like this :
gatttool -b 4F:2B:CF:4F:EB:7C --char-write-req --handle=0x0038 
--value=0100 --listen

Is there some GATT configuration that define a timeout for notification 
listening ?
How can I do to be able to stay registered and listening until I 
manually unsubscribe ?

Thanks,

Jérémie

                 reply	other threads:[~2015-06-12 13:53 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=557AE43F.5040402@albus.fr \
    --to=j.scheer@albus.fr \
    --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).