From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <20120302093917.GB27242@uw000554.eu.tieto.com> References: <1330613135-16552-1-git-send-email-michal.labedzki@tieto.com> <1330613135-16552-2-git-send-email-michal.labedzki@tieto.com> <20120302093917.GB27242@uw000554.eu.tieto.com> From: Lucas De Marchi Date: Fri, 2 Mar 2012 13:59:34 -0300 Message-ID: Subject: Re: [PATCH 2/3] avrcp: Add error code for rejected vendor command To: Michal Labedzki Cc: linux-bluetooth@vger.kernel.org, Luiz Augusto von Dentz Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Fri, Mar 2, 2012 at 6:39 AM, Michal Labedzki wrote: > On Thu, Mar 01, 2012 at 05:34:19PM +0200, Luiz Augusto von Dentz wrote: >> Hi Michal, >> >> On Thu, Mar 1, 2012 at 4:45 PM, Michal Labedzki >> wrote: >> > Make correct response for any vendor commands when there are not any >> > registered player. According to the specification responses should be >> > REJECTED with error code. >> >> Please quote the spec whenever possible, actually what spec does this come from? >> >> >> -- >> Luiz Augusto von Dentz > > Hi Luiz, > > Here you are: > "For error response PDU the response parameter is always the error code independent > of the response format defined for ACCEPTED PDU response for the corresponding > PDU command." > (source: AVRCP 1.3 specification, pages 34,56 or AVRCP 1.4 specification, pages 33,93) Ack. Could you put this in the commit message? Lucas De Marchi