15.09.2017 16:46, Luiz Augusto von Dentz пишет:
Ive just a set of patches adressing race condition with StartDiscovery
and StopDiscovery, please have a try. Also it is not a good idea to
mix usage of D-Bus with btmgmt, they might not play well together
especially when it comes to discovery.
May be add time delay after the StarDiscovery (for example 60 sec) and
bluetoothd automatically turn off the Discovery process? I do not know
when it would be required to start the process for a time longer than 60
seconds.
This will help solve the problem with the call StartDiscovery through
the script via dbus-send. My method through power off, power on not help
me, after power off founded adapters deleted from dbus tree.
My script is finished at 80%. It remains only to make the Discovery and
network connection via bluetooth (GN, PANU, PAN).
--
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