Hi Frédéric, On Mon, May 19, 2025 at 12:18 PM Frédéric Danis <frederic.danis@xxxxxxxxxxxxx> wrote: > > --- > doc/org.bluez.Device.rst | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/doc/org.bluez.Device.rst b/doc/org.bluez.Device.rst > index 80501eddd..6229f95ad 100644 > --- a/doc/org.bluez.Device.rst > +++ b/doc/org.bluez.Device.rst > @@ -155,6 +155,23 @@ array{array{byte}} GetServiceRecords() [experimental] > :org.bluez.Error.NotConnected: > :org.bluez.Error.DoesNotExist: > > +Signals > +------- > + > +void Disconnected(string reason) > +```````````````````````````````` > + > + This signal is launched when a device is disconnected with the reason of > + the disconnection. > + > + Possible reasons: > + > + :disconnection-unknown: > + :disconnection-timeout: > + :disconnection-local-host: > + :disconnection-remote: > + :disconnection-local-suspend: Perhaps it would be better to use to the actual HCI code instead of converting it to string, since I suspect application using this signal may want to recover the actual error to do some sort of reconnecting policy, etc, or having them both in case the client just wants to print it. > + > Properties > ---------- > > -- > 2.43.0 > > -- Luiz Augusto von Dentz