|
inquiry_info device class to string: msg#00067linux.bluez.devel
Hi there 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 thanks for the help ! Ed. -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . ------------------------------------------------------- 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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Piconet Routing: 00067, Marcel Holtmann |
|---|---|
| Next by Date: | Re: Piconet Routing: 00067, GUILLON Gabriel |
| Previous by Thread: | Sharing link keys with windows?i: 00067, Fred Schaettgen |
| Next by Thread: | Re: inquiry_info device class to string: 00067, Stephen Crane |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |