2011-10-18 03:48:25

by Sathish Narasimman

[permalink] [raw]
Subject: AVRCP

Hi,
I like to know , how to implement avrcp between two systems in Linux
using bluez . Is there any one one who can help me. where bluez supports
both control and target. but how to implement it .

Regards,
Sathish N


2011-10-18 22:13:30

by Lucas De Marchi

[permalink] [raw]
Subject: Re: AVRCP

Hi Sathish

On Tue, Oct 18, 2011 at 1:48 AM, sathish <[email protected]> wrote:
> Hi,
> ? I like to know , how to implement avrcp between two systems in Linux using
> bluez . Is there any one one who can help me. where bluez supports both
> control and target. but how to implement it .

The functionality provided in control role is very limited. It's only
some pieces of 1.0 spec. Since target only reacts to commands coming
from CT, you'll not be able to do anything useful with 2 systems using
Linux.


If you want to use it only as target, it has all the mandatory
features of AVRCP 1.3 + some optional ones. Then you can use it by:

1) Enable the Media interface in /etc/bluetooth/audio.conf
2) Start bluetoothd service
3) Start test/mpris-player
4) Use a media player that supports mpris 2.0: amarok, rhytmbox and a
few others.

If you are going to implement it in a media player, I suggest
implementing our dbus interface, so you can cut the 3rd step.


regards,
Lucas De Marchi

2011-11-28 05:51:36

by Sathish Narasimman

[permalink] [raw]
Subject: Re: AVRCP

On Wednesday 19 October 2011 03:43 AM, Lucas De Marchi wrote:
> Hi Sathish
>
> On Tue, Oct 18, 2011 at 1:48 AM, sathish<[email protected]> wrote:
>> Hi,
>> I like to know , how to implement avrcp between two systems in Linux using
>> bluez . Is there any one one who can help me. where bluez supports both
>> control and target. but how to implement it .
> The functionality provided in control role is very limited. It's only
> some pieces of 1.0 spec. Since target only reacts to commands coming
> from CT, you'll not be able to do anything useful with 2 systems using
> Linux.
>
>
> If you want to use it only as target, it has all the mandatory
> features of AVRCP 1.3 + some optional ones. Then you can use it by:
>
> 1) Enable the Media interface in /etc/bluetooth/audio.conf
> 2) Start bluetoothd service
> 3) Start test/mpris-player
> 4) Use a media player that supports mpris 2.0: amarok, rhytmbox and a
> few others.
>
> If you are going to implement it in a media player, I suggest
> implementing our dbus interface, so you can cut the 3rd step.
>
>
> regards,
> Lucas De Marchi
>
Hi sir,
Sub: Regarding Media interface in audio.conf & few others

I have used the bluez dbus api for VolumeUp and VolumeDown and its
working fine. I want few suggestions how to extract MetaData information
from player(I am using amarok) where it is usually a AVRCP TG and to
send those information to AVRCP CT. And what are the Media interfaces i
need to change ? I am using ubuntu 10.04 LTS. It will be very useful for
my study

--
Thanks& Regards,
Sathish N


2011-12-15 13:12:16

by Sathish Narasimman

[permalink] [raw]
Subject: Re: AVRCP

On Wednesday 19 October 2011 03:43 AM, Lucas De Marchi wrote:
> Hi Sathish
>
> On Tue, Oct 18, 2011 at 1:48 AM, sathish<[email protected]> wrote:
>> Hi,
>> I like to know , how to implement avrcp between two systems in Linux using
>> bluez . Is there any one one who can help me. where bluez supports both
>> control and target. but how to implement it .
> The functionality provided in control role is very limited. It's only
> some pieces of 1.0 spec. Since target only reacts to commands coming
> from CT, you'll not be able to do anything useful with 2 systems using
> Linux.
>
>
> If you want to use it only as target, it has all the mandatory
> features of AVRCP 1.3 + some optional ones. Then you can use it by:
>
> 1) Enable the Media interface in /etc/bluetooth/audio.conf
> 2) Start bluetoothd service
> 3) Start test/mpris-player
> 4) Use a media player that supports mpris 2.0: amarok, rhytmbox and a
> few others.
>
> If you are going to implement it in a media player, I suggest
> implementing our dbus interface, so you can cut the 3rd step.
>
>
> regards,
> Lucas De Marchi
>
Hi sir,
The target part you said is working fine. I want to know how to get
the control side information which dbus mwthod call will provide the
metadata information. In control-api there is no api for getting
metadata from the remote device. please help in the above mentioned
scenario which will be very useful for my understanding of avrcp in bluez

--

Thanks& Regards,
Sathish N