Return-Path: MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 12 Nov 2011 02:29:05 +0200 Message-ID: Subject: Re: Out of tree plugins From: Alon Bar-Lev To: Lucas De Marchi Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Sat, Nov 12, 2011 at 2:17 AM, Lucas De Marchi wrote: > ( e.g. in the mail thread you mentioned, dbus_connection_unref() and > dbus_bus_get() are not right. If you need those you should link > against d-bus instead when building as an external module ) This is needed in order to get the address of the bluetooth controller. I am no expert in this library so maybe there is another way to do so. The code currently uses: --- struct btd_device *adapter_get_device(DBusConnection *conn, struct btd_adapter *adapter, const char *address); --- Can this be somehow be replaced with: --- struct btd_device *adapter_find_device(struct btd_adapter *adapter, const char *dest); --- Alon