Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [RFC PATCH] doc/mgmt-api: Add appearance command and event specification From: Marcel Holtmann In-Reply-To: <1471953334-469-1-git-send-email-michal.narajowski@codecoup.pl> Date: Tue, 23 Aug 2016 08:06:45 -0400 Cc: linux-bluetooth@vger.kernel.org Message-Id: References: <1471953334-469-1-git-send-email-michal.narajowski@codecoup.pl> To: =?utf-8?Q?Micha=C5=82_Narajowski?= Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Michal, > --- > doc/mgmt-api.txt | 39 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 3f593f9..f7e760d 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -2811,6 +2811,31 @@ Start Limited Discovery Command > Invalid Index > > > +Set Appearance Command > +====================== > + > + Command Code: 0x0042 > + Controller Index: > + Command Parameters: Appearance (2 Octets) > + Return Parameters: Appearance (2 Octets) > + > + This command is used to set the appearance value of a controller. > + > + This command can be used when the controller is not > + powered and all settings will be programmed once powered. > + > + The value of appearance will be remembered when switching > + the controller off and back on again. So the appearance only > + have to be set once when a new controller is found and will > + stay until removed. > + > + This command generates a Command Complete event on success > + or a Command Status event on failure. > + > + Possible errors: Invalid Parameters > + Invalid Index what is this good for? Regards Marcel