Skip to contentSkip to conversation

AVRCP

DISCUSSION sathish 2 participants 4 messages Oct 18, 2011 – Dec 15, 2011 Bluetooth drivers

lore
Share & tools
lore

sathish

author
#0 lore raw

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

#1 lore raw

Hi Sathish

Quoted 4 lines · sathish

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

author
#2 lore raw
Quoted 22 lines · Lucas De Marchi

Hi Sathish

Quoted 4 lines · sathish

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.

Quoted 7 lines

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

Signature · 2 lines
Thanks&  Regards,
Sathish N
author
#3 lore raw
In reply to Lucas De Marchi
Quoted 22 lines · Lucas De Marchi

Hi Sathish

Quoted 4 lines · sathish

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.

Quoted 7 lines

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

Signature · 2 lines
Thanks&  Regards,
Sathish N