Re: AVRCP: player object path

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

 



Hello Marco,

On 20 July 2016 at 13:26, Marco Trapanese <marcotrapanese@xxxxxxxxx> wrote:
> Hello, I'm trying to implement some function of AVRCP protocol. From here:
>
> http://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/media-api.txt
>
> I don't understand how to retreive the |object path| of my player:
>
>    Object path [variable
>    prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX
>
> I'm not sure if it is returned from some DBus methods or I have to manually
> build it using the bluetooth address and the local device.

This is something I'm currently trying to get my head around.

There appears to be a dbus.INTROSPECTABLE_IFACE interface that has an
Introspect() method.

I've got an example of using it in Python at:
https://github.com/ukBaz/python-bluezero/blob/master/examples/iterate.py
In build_introspection()

You can do something similar on the command line with:
gdbus introspect --system --dest org.bluez --object-path / --recurse

Hope that helps move you forward.

Regards,
Barry

>
> Thanks!
> Marco
>
>
> --
> 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
--
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