Re: Out of tree plugins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 12, 2011 at 2:29 AM, Alon Bar-Lev <alon.barlev@xxxxxxxxx> wrote:
> On Sat, Nov 12, 2011 at 2:17 AM, Lucas De Marchi
> <lucas.demarchi@xxxxxxxxxxxxxx> 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);
> ---

I could not find how to do this, as the device should be created, and
all creation funcitons needs dbus connection.
How do you suggest to replace the adapter_get_device() to something
else that does not need dbus?

Thanks,
Alon.
--
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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux