* [Bluez-users] Device class in hcid.conf - Problems setting the correct description of the device.
@ 2007-07-04 13:55 Radek
2007-07-05 8:07 ` Marcel Holtmann
0 siblings, 1 reply; 3+ messages in thread
From: Radek @ 2007-07-04 13:55 UTC (permalink / raw)
To: bluez-users
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-users] Device class in hcid.conf - Problems setting the correct description of the device.
2007-07-04 13:55 [Bluez-users] Device class in hcid.conf - Problems setting the correct description of the device Radek
@ 2007-07-05 8:07 ` Marcel Holtmann
2007-07-07 22:09 ` Radek
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2007-07-05 8:07 UTC (permalink / raw)
To: BlueZ users
Hi Radek,
> 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?
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-users] Device class in hcid.conf - Problems setting the correct description of the device.
2007-07-05 8:07 ` Marcel Holtmann
@ 2007-07-07 22:09 ` Radek
0 siblings, 0 replies; 3+ messages in thread
From: Radek @ 2007-07-07 22:09 UTC (permalink / raw)
To: bluez-users
On Thu, 05 Jul 2007 10:07:53 +0200
Marcel Holtmann <marcel@holtmann.org> wrote:
> > 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-07 22:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 13:55 [Bluez-users] Device class in hcid.conf - Problems setting the correct description of the device Radek
2007-07-05 8:07 ` Marcel Holtmann
2007-07-07 22:09 ` Radek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox