Hi Aleksandr, On Fri, Sep 15, 2017 at 6:25 AM, Проклов Александр Валерьевич <ProklovAV@xxxxxxxxxxxxxxxx> wrote: > Hello All, > > Maybe it's a bug? > > I'm trying to manage Bluetooth using dbus-send command, > I send command for start discovery: > dbus-send --system --reply-timeout=5000 --type=method_call --dest=org.bluez > /org/bluez/hci0 org.bluez.Adapter1.StartDiscovery dbus-send disconnects from the bus so the discovery is stopped because there is no client to report the devices found. > > Discovery process NOT stop!!! in btmgmt i see: > hci0 type 7 discovering off > hci0 type 7 discovering on > hci0 type 7 discovering off > hci0 type 7 discovering on > hci0 type 7 discovering off > hci0 type 7 discovering on > > and it goes on continuously! > How can I stop the search process? "StopDiscovery" not work from dbus-send > command. > > > --------------------- > Best regards, > Aleksandr Proklov > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" > in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Luiz Augusto von Dentz -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html