Device class in hcid.conf - Problems setting the correct description of the device.
Hello Everybody,
I've just decided to set a correct device class on my Linux box (a
notebook to be exact) and I've come to unexpected problem - there is no description of class (in hcid.conf man page the description is not complete, to say the least).
I've looked up google and it seams that the "Assigned Number" list became confidential (the page to which the pdf specification redirects is member-only on bluetooth.org)
I've set the class for my Linux devices a while back (a year or two
back), but then the list was easily available. Still the operation wasn't fast - the specs describe the class bit by bit... which a bit differs form the way hcid.conf require it to be put.
Did somebody found a easy way to set up the device class?
My best regards to you all!
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Radek,
Quoted 4 lines
I've just decided to set a correct device class on my Linux box (a
notebook to be exact) and I've come to unexpected problem - there is no description of class (in hcid.conf man page the description is not complete, to say the least).
Quoted 8 lines
I've looked up google and it seams that the "Assigned Number" list became confidential (the page to which the pdf specification redirects is member-only on bluetooth.org)
I've set the class for my Linux devices a while back (a year or two
back), but then the list was easily available. Still the operation wasn't fast - the specs describe the class bit by bit... which a bit differs form the way hcid.conf require it to be put.
Did somebody found a easy way to set up the device class?
you can use the D-Bus interface. Especially the SetMinorClass() method.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 7 lines · On Thu, 05 Jul 2007 10:07:53 +0200 Marcel Holtmann <[email protected]> wrote:
Quoted 5 lines
I've set the class for my Linux devices a while back (a year or two
back), but then the list was easily available. Still the operation wasn't fast - the specs describe the class bit by bit... which a bit differs form the way hcid.conf require it to be put.
Did somebody found a easy way to set up the device class?you can use the D-Bus interface. Especially the
SetMinorClass()method.
Thank you very much! :)
I'm starting to appreciate Bluez migration to dbus.
For those who are less eager to learn the dbus ;)
$ dbus-send --system --print-reply --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMinorClass string:"laptop"
hciconfig hci0 class
and input the class into hcid.conf
Or stick with d-bus interface.
My best regards.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users