[RFC v0 02/15] bluetooth: Detect BlueZ 5

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

 



On Wed, 2012-12-19 at 13:58 +0100, Mikel Astiz wrote:
> +static void get_managed_objects_reply(DBusPendingCall *pending, void *userdata) {
> +    DBusMessage *r;
> +    pa_dbus_pending *p;
> +    pa_bluetooth_discovery *y;
> +
> +    pa_assert_se(p = userdata);
> +    pa_assert_se(y = p->context_data);
> +    pa_assert_se(r = dbus_pending_call_steal_reply(pending));
> +
> +    if (dbus_message_is_error(r, DBUS_ERROR_UNKNOWN_METHOD)) {
> +        pa_log_warn("D-Bus ObjectManager not detected so falling back to BlueZ version 4 API.");

This is not worth a warning, because it's still normal to not have bluez
5 running. "Info" level is enough.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux