OSDN Git Service

AVCTP: Add timeout for pass-through commands with value pressed
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 10 May 2013 11:02:02 +0000 (14:02 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 10 May 2013 11:24:28 +0000 (14:24 +0300)
commit1adba2161cf235e24b58ffac936e180c6080b34d
tree2b36ada73548d94f3a6fb4f34bcba2344ac22af7
parent10daf196dd514559eacd3e54188b2c77916c3a23
AVCTP: Add timeout for pass-through commands with value pressed

From AV/C spec 1.23, page 76:

"A command with the pressed value is valid for two seconds from the time
when a target sends back a response of the command. The controller shall
continue sending pressed value with identical operation id value in the
operation_id field while the command is wished to stay valid. Either if
the target has not received the pressed command within two seconds or the
target receives the pressed command with another operation id, then the
target regards that the released command was sent but missed to receive."
profiles/audio/avctp.c