OSDN Git Service

audio/AVRCP: Connect browsing channel in case of GetCapabilities response
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 29 Jul 2013 14:04:37 +0000 (17:04 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 30 Jul 2013 09:52:42 +0000 (12:52 +0300)
commit153a607801b677d21d7ad4a417fb8d8217512269
treec2cb81f33112982973ea8cd6c07585cae3b9f663
parentbd56b05de43abdc39a598167bc29deff09755cbf
audio/AVRCP: Connect browsing channel in case of GetCapabilities response

If the remote stack respond to GetCapabilities before connecting to
browsing channel connect it immediatelly as some events might depend on
it to work properly.

The spec actually recommends the browsing channel to be connected
immediatelly after the control channel:

AVRCP 1.5 - Page 23

"4.1.1 Connection establishment
...
If a browsing channel is supported by both devices it shall be
established after control channel establishment. It is recommended that
the browsing channel is established immediately after the control
channel is established and released immediately before the control
channel is released to avoid unsatisfactory latency when a browsing
command is sent."
profiles/audio/avrcp.c