All of lore.kernel.org
 help / color / mirror / Atom feed
* The org.bluez.Network1 dbus interface does not emit PropertiesChanged signals on Disconnect
@ 2020-05-11 17:33 Kai Ruhnau
  0 siblings, 0 replies; only message in thread
From: Kai Ruhnau @ 2020-05-11 17:33 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I'm using the dbus interface to connect to an iPhone Personal Hotspot using
Bluez 5.54 / Linux 5.4.32. When connecting, Bluez emits PropertiesChanged 
signals for the org.bluez.Network1 interface of the device informing me of
the Connected (true), Interface (bnep0) and UUID (00001116-...). However,
when disconnecting, no such signal is emitted. Querying the properties
shows, however, that the values reverted to the unconnected values.

When I disconnect by disabling the hotspot on the iPhone, the signal
is emitted.

To reproduce, run `busctl monitor org.bluez` on one console and issue

# busctl call org.bluez /org/bluez/hci0/dev_? org.bluez.Network1 Connect s 00001116-0000-1000-8000-00805f9b34fb

resulting in
- method_call
- signal PropertiesChanged for org.bluez.Device1 (Connected true)
- method_return
- signal PropertiesChanged for org.bluez.Network1 (Connected true)

and then

# busctl call org.bluez /org/bluez/hci0/dev_? org.bluez.Network1 Disconnect

resulting in
- method_call
- method_return
- signal PropertiesChanged for org.bluez.Device1 (Connected false)

but no PropertiesChanged for org.bluez.Network1 (Connected false).

Thanks and Cheers,
Kai

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-11 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 17:33 The org.bluez.Network1 dbus interface does not emit PropertiesChanged signals on Disconnect Kai Ruhnau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.