Skip to contentSkip to conversation

vendor/manufacture id

Bluez-devel Michiel van Hulst 3 participants 6 messages Jan 24, 2006 – Jan 25, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

Signature · 23 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#1 lore raw

Hi Michiel,

Quoted 8 lines

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.

Quoted 4 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
Quoted 7 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw
In reply to Marcel Holtmann

Hi Marcel, Jim,

Thanks for the reply,

Quoted 2 lines

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

Quoted 5 lines

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

Quoted 10 lines · Marcel Holtmann

Hi Michiel,

Quoted 8 lines

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.

Quoted 23 lines
Quoted 3 lines

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.

Quoted 5 lines

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

Quoted 5 lines

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

Quoted 4 lines

_______________________________________________
Bluez-devel mailing list
[email protected]
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.

maintainer
#4 lore raw

Hi Michiel,

Quoted 8 lines
Quoted 2 lines

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

Quoted 3 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#5 lore raw

Hi Marcel,

Quoted 1 line

the library function is called bt_compidtostr().

Great thanks.

Quoted 2 lines

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

Quoted 3 lines · Marcel Holtmann

Hi Michiel,

Quoted 1 line
Quoted 1 line

the company id 10 stands for CSR. Take a look at the Bluetooth assign=

ed

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

numbers documents from their website.

The tool hcitool using the option "info <btaddr>" prints out Manufactur=

e:

Quoted 2 lines
Quoted 2 lines

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

Quoted 10 lines
Quoted 3 lines

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

Quoted 3 lines

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

Quoted 6 lines

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.