public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Crane <steve.crane@rococosoft.com>
To: bluez@spamzed.com
Cc: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] inquiry_info device class to string
Date: Tue, 19 Oct 2004 10:23:49 +0100	[thread overview]
Message-ID: <1098177829.4538.121.camel@baroque.rococosoft.com> (raw)
In-Reply-To: <275070-2200410219819354@M2W046.mail2web.com>

Hi,

On Tue, 2004-10-19 at 09:19, postmaster@spamzed.com wrote:
> Im sort of new to bluetooth and bt development but its going ok so far. Im
> writing a little tool which displays all current devices in range. Since my
> code uses ripped parts from hcitool scan i can succesfully enumerate the
> device address and name, my question is , how do I parse  the device_class
> item from the inquiry_info structure ? Say device ID is 001, i want to
> convert it to an human readable string like 001 == Phone, 002 == Audio
> etc... where can i find an translation list for this ? after a heavy google
> battle i found a PalmOS site which mentions the bluetooth specs, but the
> prop is , i can find only parts of it and my 'bluetooth unreveiled' book is
> currently beeing shipped to me (i hope its mentioned there). I hope im not
> forced to use a sdptool query since some 'light' devices dont have it
> onboard, like headsets etc

See hciconfig.c in bluez-utils.

Cheers,
Steve
-- 
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
steve.crane@rococosoft.com +353-1-6601315 (ext 209)



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2004-10-19  9:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-19  8:19 [Bluez-devel] inquiry_info device class to string postmaster
2004-10-19  9:23 ` Stephen Crane [this message]
2004-10-19 11: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=1098177829.4538.121.camel@baroque.rococosoft.com \
    --to=steve.crane@rococosoft.com \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=bluez@spamzed.com \
    /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