Hi Marcel,

In the last email about bluetoothd, you suggested send patches to enhance hcid. I studied the hcid code and I would like align our ideas before start coding. My suggestions are:

1. Develop a common code addressing all D-Bus versions
2. Send signals to connection complete and disconnection
3. Register a D-Bus hci object path as a initial point for bluetoothd and provide basic services(inquiry, auth, ...).

Do you agree? Do you have suggestions/comments?

I am sending a patch to solve the problem of D-Bus versions. Sorry,  byte array is not being handled yet, but I will fix it. This is just a idea of how solve the problem of several D-Bus versions. Get the dbus major/minor version in the "configure" is a better approach, instead of check if the function dbus_message_iter_get_basic belongs to the dbus-1 library. If you allow change the makefiles(acinclude.m4, configure.in, config.h.in ) I can modify it.

Regards,
Claudio.