Re: [connman] CreatDevice signal should be emitted at function create_stored_device_from_profiles() in src/adapter.c

Luiz Augusto von Dentz
2009-04-16T13:31:50Z

Hi,

On Thu, Apr 16, 2009 at 5:49 AM, Xu, Martin <martin.xu@intel.com> wrote:
> Hi:
> I found that at bluez CreatDevice signal is not emitted at function create_stored_device_from_profile() in src/adapter.c.
> That leads to system can not got the CreatDevice singal when the deivce is created though storage. The usage case is that, when I unplug the bluethooth usb dongle and then plug in again. System can not get the CreatDevice signal. So ConnMan can not handle the CreatDevice signal.

IMO the correct way of doing it is to via AdapterAdded signal and then
GetProperties, which in most cases is what you really should do to
discover all devices. If you make stored devices to emit signals you
will probably just slow down the boot.

--
Luiz Augusto von Dentz
Engenheiro de Computação