* [Bluez-users] Resetting the Major Device Class Not Working
@ 2007-12-19 11:42 oohay otihs
0 siblings, 0 replies; only message in thread
From: oohay otihs @ 2007-12-19 11:42 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1.1: Type: text/plain, Size: 1953 bytes --]
Hello everybody.
Can one reset the Major Device Class to something other than 0x01 (Personal Computer)? I would like to masquerade as a Mobile Phone because I have a device that only connects to mobiles, and I would like for it to connect to a desktop PC.
I've tried editing the class option in the device section in /etc/bluetooth/hcid.conf, and upon restarting the bluetooth services, hciconfig -a still lists my device's class as if it's a PC.
Here's an excerpt from /etc/bluetooth/hcid.conf:
...
device {
# Local device name
# %d - device id
# %h - host name
#name "%h-%d";
name "Logger_3";
# Local device class
class 0x5a020c;
...
}
Here's the output from hciconfig -a:
hci0: Type: USB
BD Address: 00:80:5A:46:A1:E5 ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:944 acl:0 sco:0 events:41 errors:0
TX bytes:612 acl:0 sco:0 commands:27 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'Logger_3'
Class: 0x3e0104
Service Classes: Networking, Rendering, Capturing, Object Transfer, Audio
Device Class: Computer, Desktop workstation
HCI Ver: 2.0 (0x3) HCI Rev: 0x7a6 LMP Ver: 2.0 (0x3) LMP Subver: 0x7a6
Manufacturer: Cambridge Silicon Radio (10)
Is it likely that I've got something misconfigured, or does Bluez allow for the resetting of the Major Device class?
As a side question - might anybody have a link to the Bluetooth Assigned Numbers document? I can't find it on the Bluetooth SIG site (just broken links), nor does Google seem to turn up anything fruitful.
Anybody's help would be greatly appreciated. Thanks.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[-- Attachment #1.2: Type: text/html, Size: 2825 bytes --]
[-- Attachment #2: Type: text/plain, Size: 308 bytes --]
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-19 11:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19 11:42 [Bluez-users] Resetting the Major Device Class Not Working oohay otihs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox