All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frederic Danis <frederic.danis@palmsource.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Dbus and RemoteDeviceFound API
Date: Tue, 30 May 2006 17:20:26 +0200	[thread overview]
Message-ID: <447C62BA.4060301@palmsource.com> (raw)
In-Reply-To: <1147884880.14106.30.camel@localhost>

Hello

Marcel Holtmann wrote:
> Hi Renaud,
> 
> 
>> The LIMITED_DISCOVERABLE_MODE service class is missing and minor
>>classes for other major classes than Computer and Phone are not listed
>>in "constant definition" (ie: uncategorized, keyboard, pointing, combo
>>for Peripheral major class).
>> I use the "class of device" to filter and/or display specific icon for
>>all couple of major and minor in an embedded device.
> 
> 
> we happily accept patches for fixing this. I must admit that in the
> beginning we needed to concentrate on other things and I told people not
> to focus on this. We will fix it later.
> 
> Are you really using LIMITED_DISCOVERABLE_MODE service class.
> 

I am trying to implement other values for minor classes :

     Minor classes access point
         fully, 1-17 percent, 17-33 percent, 33-50 percent, 50-67 percent,
         67-83 percent, 83-99 percent, not available

     Minor classes audio video
         uncategorized, headset, handsfree, reserved1, microphone, loudspeaker,
         headphones, portable audio, car audio, set-top box, hifi audio, vcr,
         video camera, camcorder, video monitor, video display and loudspeaker,
         video conferencing, reserved2, gaming/toy

     Minor classes imaging
         display, camera, scanner, printer

     Minor classes wearable
         wrist watch, pager, jacket, helmet, glasses

     Minor classes toy
         robot, vehicle, doll, controller, game

But I have a problem with peripheral class as its minor classes are divided in two parts :

     Minor classes peripheral
         uncategorized, keyboard, pointing, combo

     Minor classes peripheral 2
         uncategorized, joystick, gamepad, remote control, sensing,
         digitizer tablet, card reader

A peripheral can set two minor classes (i.e. pointing and digitizer tablet) but GetRemoteMinorClass call can only return one string.
Do you have an idea how this should be implemented to address this ?
Are you OK with this list of constants ?

> 
>> Perhaps a new set of APIs could be better ?
> 
> 
> Why? And what advantages would you gain?
> 
> Regards
> 
> Marcel

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


_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2006-05-30 15:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17 16:44 [Bluez-devel] Dbus and RemoteDeviceFound API Renaud Malaval
2006-05-17 16:54 ` Marcel Holtmann
2006-05-18 18:10   ` [Bluez-devel] how to measure RSSI with C ozkan gumus
2006-05-30 15:20   ` Frederic Danis [this message]
2006-05-30 15:34     ` [Bluez-devel] Dbus and RemoteDeviceFound API Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2006-05-17 15:51 Renaud Malaval
2006-05-17 16:03 ` 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=447C62BA.4060301@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.