From: Hieu Le <hieu.le@veriksystems.com>
To: linux-bluetooth@vger.kernel.org
Subject: BlueZ: How to collect disconnect reason
Date: Wed, 12 Oct 2016 23:36:31 +0700 [thread overview]
Message-ID: <CADEmUHPSkO7bsM=FCiv2XPL0s9QEZzYyH8132FZxqpgjdiR7ew@mail.gmail.com> (raw)
Hello,
Currently, I can capture the disconnect event by listening to a
property_changed signal of "Connected" properties under
org.bluez.Device1 interface.
However, I need to find to way to distinguish disconnection due to
various reason which is similar to the output of bluetoothd daemon
(unknown, local_host, timeout,..).
I searched all the documents. Unfortunately, I cannot find any D-Bus
API to accomplish it.
Could you please suggest me some hint?
Many thanks for your valuable input.
Regards,
Hieu.
reply other threads:[~2016-10-12 16:36 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='CADEmUHPSkO7bsM=FCiv2XPL0s9QEZzYyH8132FZxqpgjdiR7ew@mail.gmail.com' \
--to=hieu.le@veriksystems.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).