public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix extra PropertyChanged signal sent after DeviceRemoved
@ 2009-09-22 21:31 Claudio Takahasi
  2009-09-22 21:54 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Takahasi @ 2009-09-22 21:31 UTC (permalink / raw)
  To: BlueZ development

Hi,

for paired devices, there is an extra PropertyChanged signal sent
after DeviceRemoved:

signal sender=:1.78 -> dest=(null destination) serial=145
path=/org/bluez/24533/hci0; interface=org.bluez.Adapter;
member=PropertyChanged
   string "Devices"
   variant       array [
      ]
signal sender=:1.78 -> dest=(null destination) serial=146
path=/org/bluez/24533/hci0; interface=org.bluez.Adapter;
member=DeviceRemoved
   object path "/org/bluez/24533/hci0/dev_00_1F_00_CE_BE_AF"
signal sender=:1.78 -> dest=(null destination) serial=147
path=/org/bluez/24533/hci0/dev_00_1F_00_CE_BE_AF;
interface=org.bluez.Device; member=PropertyChanged
   string "Paired"
   variant       boolean false


The patch to fix this issue is in my branch devel:

git://git.infradead.org/users/cktakahasi/bluez.git devel

I removed  "textfile_caseget()" call before call "textfile_casedel()",
let me know if you wanna keep this check, I can revert this minor
change.

Br,
Claudio

-- 
--
Claudio Takahasi
Instituto Nokia de Tecnologia
Recife - Pernambuco - Brasil
+55 81 30879999

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

* Re: [PATCH] Fix extra PropertyChanged signal sent after DeviceRemoved
  2009-09-22 21:31 [PATCH] Fix extra PropertyChanged signal sent after DeviceRemoved Claudio Takahasi
@ 2009-09-22 21:54 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-09-22 21:54 UTC (permalink / raw)
  To: Claudio Takahasi; +Cc: BlueZ development

Hi Claudio,

> for paired devices, there is an extra PropertyChanged signal sent
> after DeviceRemoved:
> 
> signal sender=:1.78 -> dest=(null destination) serial=145
> path=/org/bluez/24533/hci0; interface=org.bluez.Adapter;
> member=PropertyChanged
>    string "Devices"
>    variant       array [
>       ]
> signal sender=:1.78 -> dest=(null destination) serial=146
> path=/org/bluez/24533/hci0; interface=org.bluez.Adapter;
> member=DeviceRemoved
>    object path "/org/bluez/24533/hci0/dev_00_1F_00_CE_BE_AF"
> signal sender=:1.78 -> dest=(null destination) serial=147
> path=/org/bluez/24533/hci0/dev_00_1F_00_CE_BE_AF;
> interface=org.bluez.Device; member=PropertyChanged
>    string "Paired"
>    variant       boolean false
> 
> 
> The patch to fix this issue is in my branch devel:
> 
> git://git.infradead.org/users/cktakahasi/bluez.git devel

patch has been applied. Thanks.

> I removed  "textfile_caseget()" call before call "textfile_casedel()",
> let me know if you wanna keep this check, I can revert this minor
> change.

I can't remember why it is there. Johan might know and we can revert it
then later if I missed the reason.

Regards

Marcel



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

end of thread, other threads:[~2009-09-22 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 21:31 [PATCH] Fix extra PropertyChanged signal sent after DeviceRemoved Claudio Takahasi
2009-09-22 21:54 ` Marcel Holtmann

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