Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Marcus Redeker <marcus@openremote.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Device class not writeable via dbus
Date: Thu, 16 Apr 2015 08:48:10 +0200	[thread overview]
Message-ID: <1815811.8ZlaWYb6CG@leonov> (raw)
In-Reply-To: <16972ECC-114B-4CA0-A2B1-1BE0FB115199@openremote.org>

Hi Marcus,

On Wednesday 15 of April 2015 21:03:08 Marcus Redeker wrote:
> All,
> the class property is read only on the dbus interface of
> „org.blue.Adapter1“. Why is that?
> How can I change the device class from my program?
> Regards,
> -Marcus

You can configure CoD in main.conf
[General]
Class = 0x000100

Note the comment that only major and minor bits are considered. Service bits 
are dynamically configured based on registered services.


-- 
BR
Szymon Janc

  reply	other threads:[~2015-04-16  6:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 19:03 Device class not writeable via dbus Marcus Redeker
2015-04-16  6:48 ` Szymon Janc [this message]
2015-04-16  7:09   ` Marcus Redeker
2015-04-16  8:01     ` Szymon Janc
2015-04-16  8:15       ` Luiz Augusto von Dentz
2015-04-16  8:53         ` Marcus Redeker
2015-04-16  9:36           ` Luiz Augusto von Dentz
2015-04-16 10:08             ` Marcus Redeker
2015-04-16 10:35               ` Luiz Augusto von Dentz
2015-04-16  8:44       ` Marcus Redeker

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=1815811.8ZlaWYb6CG@leonov \
    --to=szymon.janc@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcus@openremote.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