Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <44D8AC0E.1080308@palmsource.com> References: <44859045.7090208@palmsource.com> <1150263854.5359.1.camel@aeonflux.holtmann.net> <44969FA3.7030805@palmsource.com> <1151325308.7694.16.camel@localhost> <44D8AC0E.1080308@palmsource.com> Date: Thu, 10 Aug 2006 00:20:00 +0200 Message-Id: <1155162001.4492.19.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] [PATCH] Minor classes support Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Frederic, > We found a bug in DBus function GetRemoteMinorClass when major class is > "imaging". In this case, the minor class can be a combo of minor values > (minor part of the class is not an "index" in a table but a "field of > bit", e.g. "scanner printer"). > The patch attached returns the first matching value. It may be useful to > change this API to allow it to return multiple values. I applied the patch to the CVS. We might need some more defined minor class strings in the documentation. Feel free to propose something, but actually I prefer not to return more than one value or a list of strings. This API is supposed to be simple. I also added a GetRemoteClass to return the full 3 bytes class value. Regards Marcel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel