public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: oohay otihs <oohaynotihs@yahoo.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Resetting the Major Device Class Not Working
Date: Wed, 19 Dec 2007 03:42:52 -0800 (PST)	[thread overview]
Message-ID: <244364.8286.qm@web38502.mail.mud.yahoo.com> (raw)


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

                 reply	other threads:[~2007-12-19 11:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=244364.8286.qm@web38502.mail.mud.yahoo.com \
    --to=oohaynotihs@yahoo.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox