2012-06-23 19:03:15

by Zheng, Wu

[permalink] [raw]
Subject: using simple-player for testing avrcp

Hi,

I want to use simple-player for testing avrcp.

Run the following step in control device.

1.Use the "connect" method of org.bluez.AudioSource to connect target device.

2.Use simple-player to test avrcp.

The command of "playing", "paused" cannot be sent to target device.

After checking the process, the reason should be that avrcp connection did not setup.

Which test script or interfaces need be used for setup avrcp connection? Then simple-player can be used to test avrcp?

Best regards
Zheng wu


2012-06-26 07:07:29

by Michal Labedzki

[permalink] [raw]
Subject: RE: using simple-player for testing avrcp

Hi,

> Call "Connect" on Control interface (you need to enable it in your
> /etc/bluetooth/audio.conf file)

"Control" interface seems to be enabled by default (for a long time). Depending on BlueZ version
"Media" interface are enabled (latest) or not, so to be sure I recommend to enable both in audio.conf.

Does your remote controller not try to connect to AVRCP on device with BlueZ?
Some remote controller can autoconnect AVRCP by triggering A2DP.

Regards / Pozdrawiam
-------------------------------------------------------------------------------------------------------------
Micha? ?ab?dzki
ASCII: Michal Labedzki
e-mail: [email protected]
office communicator: [email protected]
location: Poland, Wroc?aw, Legnicka 55F
room: 315
phone: +48 717 740 340
---
Tieto Corporation / Tieto Poland
http://www.tieto.com / http://www.tieto.pl
---
Tieto Poland sp??ka z ograniczon? odpowiedzialno?ci? z siedzib? w Szczecinie, ul. Malczewskiego 26. Zarejestrowana w S?dzie Rejonowym Szczecin-Centrum w Szczecinie, XIII Wydzia? Gospodarczy Krajowego Rejestru S?dowego pod numerem 0000124858. NIP: 8542085557. REGON: 812023656. Kapita? zak?adowy: 4 271500 PLN

2012-06-25 15:59:54

by Lucas De Marchi

[permalink] [raw]
Subject: Re: using simple-player for testing avrcp

On Sat, Jun 23, 2012 at 4:03 PM, Zheng, Wu <[email protected]> wrote:
> Hi,
>
> I want to use simple-player for testing avrcp.
>
> Run the following step in control device.
>
> 1.Use the "connect" method of org.bluez.AudioSource to connect target device.
>
> 2.Use simple-player to test avrcp.

Call "Connect" on Control interface (you need to enable it in your
/etc/bluetooth/audio.conf file)

or... let "AutoConnect=true" in this file and call Connect on Audio interface

Lucas De Marchi