linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frederic Danis <frederic.danis@palmsource.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] [PATCH] Minor classes support
Date: Thu, 10 Aug 2006 16:42:37 +0200	[thread overview]
Message-ID: <44DB45DD.3050900@palmsource.com> (raw)
In-Reply-To: <1155162001.4492.19.camel@aeonflux.holtmann.net>

Hello,

>>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.
>
>
>  
>
Personnally, I think that returning a list of strings for minor class 
can be the best way (for class of device with minor and subminor like 
peripheral (i.e. "keyboard" "card reader"), or class that can have 
multiple values for minor like imaging(i.e. "scanner" "printer")). If 
you are okay with this I can try to work on a patch.

Regarding documentation in CVS (dbus-api.txt), only subminor for 
peripheral seems to be missing. Am I right ?

Regards

Fred

-----------------------------------------------
It is not by improving the oil lamp that one invents the electric bulb!
-----------------------------------------------
Danis Frederic            PalmSource Europe
Software engineer
Mail : mailto:frederic.danis@palmsource.com
-----------------------------------------------



-------------------------------------------------------------------------
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

  reply	other threads:[~2006-08-10 14:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-06 14:25 [Bluez-devel] [PATCH] Minor classes support Frederic Danis
2006-06-14  5:44 ` Marcel Holtmann
2006-06-19 12:59   ` Frederic Danis
2006-06-26 12:35     ` Marcel Holtmann
2006-08-08 15:21       ` Frederic Danis
2006-08-09 22:20         ` Marcel Holtmann
2006-08-10 14:42           ` Frederic Danis [this message]
2006-08-10 19:02             ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44DB45DD.3050900@palmsource.com \
    --to=frederic.danis@palmsource.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).