On Sat, 2008-06-28 at 00:23 +0200, Marcel Holtmann wrote: > looks nice. However you have to break this up into pieces for. Sent > small patches and I can quickly review and commit them. Here's a patch to add support for connecting to devices via the client code. This patch depends on the callback patch. It finds known services on startup (in setup_services()). Bastien suggested that we don't need to call setup_services() since those services are enabled by default, but I'm not quite sure what he meant. We need to call it to get the service bus IDs so that we can then get DBusGProxies for them. It adds the function bluetooth_client_available_services() which gives back a type mask for services that were detected. Basically which devices are likely to succeed from a bluetooth_client_connect() call. bluetooth_client_connect() does device-specific connection handling. It only handles a few types right now (input and headset). -mt