Linux bluetooth development
 help / color / mirror / Atom feed
From: Ross Burton <ross@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Subject: DiscoverableTimeout not working as expected
Date: Thu, 25 Feb 2010 12:19:14 +0000	[thread overview]
Message-ID: <1267100354.22889.16.camel@flashheart.burtonini.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]

Hi,

My client calls SetProperty(DiscoverTimeout, 20) then
SetProperty(Discoverable, True) on my adaptor, but I don't get the
expected behaviour:

signal sender=:1.2 -> dest=(null destination) serial=847 path=/org/bluez/1564/hci0; interface=org.bluez.Adapter; member=PropertyChanged
   string "DiscoverableTimeout"
   variant       uint32 20
signal sender=:1.2 -> dest=(null destination) serial=850 path=/org/bluez/1564/hci0; interface=org.bluez.Adapter; member=PropertyChanged
   string "Discoverable"
   variant       boolean true
signal sender=:1.2 -> dest=(null destination) serial=852 path=/org/bluez/1564/hci0; interface=org.bluez.Adapter; member=PropertyChanged
   string "DiscoverableTimeout"
   variant       uint32 0

As the timeout is now 0, discoverable never resets itself to false.

Am I doing something stupid, or is setting the discovery timeout broken?

Ross
-- 
Intel Open Source Technology Centre
http://oss.intel.com/

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

             reply	other threads:[~2010-02-25 12:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 12:19 Ross Burton [this message]
2010-02-26  9:24 ` DiscoverableTimeout not working as expected Luiz Augusto von Dentz
2010-02-26 10:29   ` Ross Burton
2010-02-26 11:58     ` Luiz Augusto von Dentz

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=1267100354.22889.16.camel@flashheart.burtonini.com \
    --to=ross@linux.intel.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