Linux bluetooth development
 help / color / mirror / Atom feed
From: Travis Griggs <travisgriggs@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Query BLE connected status?
Date: Tue, 6 Sep 2016 11:20:21 -0700	[thread overview]
Message-ID: <04AC5786-517A-4834-AFD7-B0C6AC29B869@gmail.com> (raw)

Is there a method using the dbus API that one can use to determine if =
there is an active BLE connection or not? I have an ARM Linux board =
setup as a BLE peripheral, and I want another process to behave =
differently based on whether it can determine there is an active =
connection at the moment or not. I could set a timestamp based on when I =
see WriteValue or other ble dbus activity and then timeout on that, but =
I was hoping for something more direct.=

             reply	other threads:[~2016-09-06 18:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 18:20 Travis Griggs [this message]
2016-09-06 20:53 ` Query BLE connected status? Tobias Svehagen
2016-09-07  0:02   ` Travis Griggs
2016-09-07  7:37     ` Tobias Svehagen
2016-09-07 21:14       ` Travis Griggs
2016-09-07 22:19         ` Barry Byford
2016-09-12 15:52           ` Travis Griggs
2016-09-12 17:49             ` StopNotify not firing? (was: Query BLE connected status?) Travis Griggs
2016-09-13 14:41               ` Luiz Augusto von Dentz
2016-09-12 19:37             ` Query BLE connected status? Barry Byford
2016-09-07 21:23       ` Barry Byford

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=04AC5786-517A-4834-AFD7-B0C6AC29B869@gmail.com \
    --to=travisgriggs@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