linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] vendor/manufacture id
@ 2006-01-24 21:17 Michiel van Hulst
  2006-01-24 22:56 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Michiel van Hulst @ 2006-01-24 21:17 UTC (permalink / raw)
  To: bluez-devel

Hi there,

I posted almost the same email to the bluez-user mailing list, but its more developer related I think;

I use the outdated jBluez native Java API and got a question about the manufacture 
id's.

When getting version info for a remote device using the Java API wich is native corresponding with Bluez a manufacture 
id is retreived and stored. This is great but I don't have or can't find any list corresponding with 
these manufacture id's. I browsed some Bluez c code and did see some manufacture id such as 10 (Nokia) being stored and used in functions.

So:

- Is there a list available which vendors/manufactures correspond with these id's?
- Or which algoritme/function should I use to findout which device vendor I found?

Another question which is proberbly asked many times before, but I just can't 
settle with it, yet:

- Is there a good, can be simple but good and maintened opensource Java API for Bluez?

Thanks & Cheers,

Michiel van Hulst

-- 
regards,

M.P.A. (Michiel) van Hulst

Y'All . http://www.yall.nl
Grotestraat 182 5141 HD Waalwijk . The Netherlands
Tel: +31 (0) 416 340 019  . Fax. : +31 (0) 416 340 019 

Information in this message may be confidential and is intended for
the recipient only. Please do not use the content of this message
if you receive this unintentionally and notify us by return mail.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-devel] vendor/manufacture id
  2006-01-24 21:17 [Bluez-devel] vendor/manufacture id Michiel van Hulst
@ 2006-01-24 22:56 ` Marcel Holtmann
  2006-01-25  1:06   ` Jim Wyllie
  2006-01-25  9:12   ` Michiel van Hulst
  0 siblings, 2 replies; 6+ messages in thread
From: Marcel Holtmann @ 2006-01-24 22:56 UTC (permalink / raw)
  To: bluez-devel

Hi Michiel,

> I posted almost the same email to the bluez-user mailing list, but its more developer related I think;
> 
> I use the outdated jBluez native Java API and got a question about the manufacture 
> id's.
> 
> When getting version info for a remote device using the Java API wich is native corresponding with Bluez a manufacture 
> id is retreived and stored. This is great but I don't have or can't find any list corresponding with 
> these manufacture id's. I browsed some Bluez c code and did see some manufacture id such as 10 (Nokia) being stored and used in functions.

the company id 10 stands for CSR. Take a look at the Bluetooth assigned
numbers documents from their website.

> Another question which is proberbly asked many times before, but I just can't 
> settle with it, yet:
> 
> - Is there a good, can be simple but good and maintened opensource Java API for Bluez?

Nobody spent the time to run something like that by me. So actually
there is no real good JSR-82 implementation for BlueZ.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-devel] vendor/manufacture id
  2006-01-24 22:56 ` Marcel Holtmann
@ 2006-01-25  1:06   ` Jim Wyllie
  2006-01-25  9:12   ` Michiel van Hulst
  1 sibling, 0 replies; 6+ messages in thread
From: Jim Wyllie @ 2006-01-25  1:06 UTC (permalink / raw)
  To: bluez-devel


> Nobody spent the time to run something like that by me. So actually
> there is no real good JSR-82 implementation for BlueZ.
> 
> Regards
> 
> Marcel

I've tested all of the JSR-82 options out there that are available for 
free on Linux: the only thing I got to work is Avetana's JSR-82 spec 
(GPL code on Linux).  You can grab it from SourceForge here:

http://sourceforge.net/projects/avetanabt/

The build instructions are unusual and the latest release is poorly put 
together (possibly by me), but if you read through the documentation, 
you should be able to get it up and running.  There's some example code 
in the project.

Lastly, if you have any other option besides JSR-82, I suggest you take 
it -- you'll save yourself many headaches.

Jim


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-devel] vendor/manufacture id
  2006-01-24 22:56 ` Marcel Holtmann
  2006-01-25  1:06   ` Jim Wyllie
@ 2006-01-25  9:12   ` Michiel van Hulst
  2006-01-25  9:33     ` Marcel Holtmann
  1 sibling, 1 reply; 6+ messages in thread
From: Michiel van Hulst @ 2006-01-25  9:12 UTC (permalink / raw)
  To: Jim Wyllie, Marcel Holtmann; +Cc: bluez-devel

Hi Marcel, Jim,

Thanks for the reply,

> the company id 10 stands for CSR. Take a look at the Bluetooth assigned
> numbers documents from their website.
The tool hcitool using the option "info <btaddr>" prints out Manufacture:=20
Cambridge Silicon Radio (10) or Nokia Mobile Phones (1) and so on. So in th=
e=20
tool code should be a mapping for these numbers? Trough JBluez I only recei=
ve=20
the manufacture number (1) and (10) in this example.

Is there a list availible or array in c code which has these mappings?=20

My program should respond deferent on every bluetooth manafacture device it=
=20
detects, so I'm looking for the manufacture id's from the Bluetooth device=
=20
market leaders

> I've tested all of the JSR-82 options out there that are available for
> free on Linux: the only thing I got to work is Avetana's JSR-82 spec
> (GPL code on Linux).  You can grab it from SourceForge here:
>
> http://sourceforge.net/projects/avetanabt/
Great! The project release date is much more promecing ;-). I downloaded th=
is=20
project and its seems the include a prebuild version of the .jar and .so I'=
m=20
going to test this for sure

Cheers,

Michiel

On Tuesday 24 January 2006 23:56, Marcel Holtmann wrote:
> Hi Michiel,
>
> > I posted almost the same email to the bluez-user mailing list, but its
> > more developer related I think;
> >
> > I use the outdated jBluez native Java API and got a question about the
> > manufacture id's.
> >
> > When getting version info for a remote device using the Java API wich is
> > native corresponding with Bluez a manufacture id is retreived and store=
d.
> > This is great but I don't have or can't find any list corresponding with
> > these manufacture id's. I browsed some Bluez c code and did see some
> > manufacture id such as 10 (Nokia) being stored and used in functions.
>
> the company id 10 stands for CSR. Take a look at the Bluetooth assigned
> numbers documents from their website.
>
> > Another question which is proberbly asked many times before, but I just
> > can't settle with it, yet:
> >
> > - Is there a good, can be simple but good and maintened opensource Java
> > API for Bluez?
>
> Nobody spent the time to run something like that by me. So actually
> there is no real good JSR-82 implementation for BlueZ.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

=2D-=20
regards,

M.P.A. (Michiel) van Hulst

Y'All . http://www.yall.nl
Grotestraat 182 5141 HD Waalwijk . The Netherlands
Tel: +31 (0) 416 340 019 =C2=A0. Fax. : +31 (0) 416 340 019=20

Information in this message may be confidential and is intended for
the recipient only. Please do not use the content of this message
if you receive this unintentionally and notify us by return mail.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-devel] vendor/manufacture id
  2006-01-25  9:12   ` Michiel van Hulst
@ 2006-01-25  9:33     ` Marcel Holtmann
  2006-01-25  9:44       ` Michiel van Hulst
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2006-01-25  9:33 UTC (permalink / raw)
  To: Michiel van Hulst; +Cc: Jim Wyllie, bluez-devel

Hi Michiel,

> > the company id 10 stands for CSR. Take a look at the Bluetooth assigned
> > numbers documents from their website.
> The tool hcitool using the option "info <btaddr>" prints out Manufacture: 
> Cambridge Silicon Radio (10) or Nokia Mobile Phones (1) and so on. So in the 
> tool code should be a mapping for these numbers? Trough JBluez I only receive 
> the manufacture number (1) and (10) in this example.
> 
> Is there a list availible or array in c code which has these mappings? 

the library function is called bt_compidtostr().

> My program should respond deferent on every bluetooth manafacture device it 
> detects, so I'm looking for the manufacture id's from the Bluetooth device 
> market leaders

You read my answer with the Bluetooth assigned numbers document? Go to
the Bluetooth website and get this document/webpage.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-devel] vendor/manufacture id
  2006-01-25  9:33     ` Marcel Holtmann
@ 2006-01-25  9:44       ` Michiel van Hulst
  0 siblings, 0 replies; 6+ messages in thread
From: Michiel van Hulst @ 2006-01-25  9:44 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: bluez-devel

Hi Marcel,

> the library function is called bt_compidtostr().
Great thanks.

> You read my answer with the Bluetooth assigned numbers document? Go to
> the Bluetooth website and get this document/webpage.
I misread your comments and went looking for the document on the CSR websit=
e=20
dooh ;-)

This is the link to the document containting the bt device company=20
identifiers:
https://www.bluetooth.org/foundry/assignnumb/document/company_identifiers

Thanks,

Michiel

On Wednesday 25 January 2006 10:33, Marcel Holtmann wrote:
> Hi Michiel,
>
> > > the company id 10 stands for CSR. Take a look at the Bluetooth assign=
ed
> > > numbers documents from their website.
> >
> > The tool hcitool using the option "info <btaddr>" prints out Manufactur=
e:
> > Cambridge Silicon Radio (10) or Nokia Mobile Phones (1) and so on. So in
> > the tool code should be a mapping for these numbers? Trough JBluez I on=
ly
> > receive the manufacture number (1) and (10) in this example.
> >
> > Is there a list availible or array in c code which has these mappings?
>
> the library function is called bt_compidtostr().
>
> > My program should respond deferent on every bluetooth manafacture device
> > it detects, so I'm looking for the manufacture id's from the Bluetooth
> > device market leaders
>
> You read my answer with the Bluetooth assigned numbers document? Go to
> the Bluetooth website and get this document/webpage.
>
> Regards
>
> Marcel

=2D-=20
regards,

M.P.A. (Michiel) van Hulst

Y'All . http://www.yall.nl
Grotestraat 182 5141 HD Waalwijk . The Netherlands
Tel: +31 (0) 416 340 019 =C2=A0. Fax. : +31 (0) 416 340 019=20

Information in this message may be confidential and is intended for
the recipient only. Please do not use the content of this message
if you receive this unintentionally and notify us by return mail.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-01-25  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24 21:17 [Bluez-devel] vendor/manufacture id Michiel van Hulst
2006-01-24 22:56 ` Marcel Holtmann
2006-01-25  1:06   ` Jim Wyllie
2006-01-25  9:12   ` Michiel van Hulst
2006-01-25  9:33     ` Marcel Holtmann
2006-01-25  9:44       ` Michiel van Hulst

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