Linux bluetooth development
 help / color / mirror / Atom feed
* DiscoverableTimeout not working as expected
@ 2010-02-25 12:19 Ross Burton
  2010-02-26  9:24 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Burton @ 2010-02-25 12:19 UTC (permalink / raw)
  To: linux-bluetooth

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-26 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 12:19 DiscoverableTimeout not working as expected Ross Burton
2010-02-26  9:24 ` Luiz Augusto von Dentz
2010-02-26 10:29   ` Ross Burton
2010-02-26 11:58     ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox