From: Szymon Janc <szymon.janc@gmail.com>
To: Nazmul Alam <fadedreamz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: DBus WriteValue is failing for bluez 5.31 with kernel 4.1+
Date: Sat, 05 Sep 2015 19:58:17 +0200 [thread overview]
Message-ID: <9183639.i2tkjIN3Um@ix> (raw)
In-Reply-To: <CACjvaw=OrVRqQG37j6gh7Pap7sksqonNhauBrHxTK720T-Uk-g@mail.gmail.com>
Hi,
On Friday 04 September 2015 18:05:56 Nazmul Alam wrote:
> Hello,
> I am unable to write to atrribute value to a characteristics exposed
> via dbus on the new 4.1 kernel.
>
> Before upgrading to kernel 4.1 the same application can write
> attribute value to the characteristics via dbus without any issue.
>
> Following is the log collected from bluetoothd -
>
> org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1
> matched rules; type="method_call", sender=":1.24" (uid=0 pid=4112
> comm="bluez-5.31/src/bluetoothd -ndE ")
> interface="org.bluez.GattCharacteristic1" member="WriteValue" error
> name="(unset)" requested_reply="0" destination=":1.25" (uid=0 pid=4114
> comm="./test ")
>
> Any suggestions?
> Thanks in advance.
This error doesn't seem to be related to kernel change but to outdated
bluetoothd D-Bus policy file. (src/bluetooth.conf)
--
pozdrawiam
Szymon Janc
prev parent reply other threads:[~2015-09-05 17:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 12:05 DBus WriteValue is failing for bluez 5.31 with kernel 4.1+ Nazmul Alam
2015-09-05 14:42 ` Neil Martin
2015-09-05 17:58 ` Szymon Janc [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=9183639.i2tkjIN3Um@ix \
--to=szymon.janc@gmail.com \
--cc=fadedreamz@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;
as well as URLs for NNTP newsgroup(s).