Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 01-27-2009, 02:40 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 14

Rep: Reputation: 0
bluez hciconfig doesn't list the device class


I am using, bluez*3.7.

{Just to give a background:
We are trying to build/run bluetooth stack on an imx.31 (arm based) platform which runs linux.
bluetooth chip is connected to imx.31 platform via a serial port.
I am trying to connect imx.31 to a sony-ericsson mobile handset.}

1) "hciconfig -a", will list all the details of the connected device, like the device class, services, device local name etc. But in our case, it doesn't seem to list such details.
It shows as follows (hcidump is enabled, so there are more messages)
mx31# hciconfig -a
hci0: Type: UART
BD Address: 00:02:5B:00:A5:A5 ACL MTU: 310:10 SCO MTU: 64:8
RX bytes:573 acl:0 sco:0 events:12 errors:0
TX bytes:254 acl:0 sco:0 commands:13 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
< HCI Command: Read Local Name (0x03|0x0014) plen 0
Name: 'CSR - bc4'
> HCI Event: Command Complete (0x0e) plen 252
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0
HCI Ver: 2.0 (0x3) HCI Rev: 0xc5c LMP Ver: 2.0 (0x3) LMP Subver: 0xc5c
Manufacturer: Cambridge Silicon Radio (10)

> HCI Event: Command Complete (0x0e) plen 12
2) I tried setting the device class (that I found in /etc/bluetooth/hcid.conf) as "0x3e0100" using
mx31#hciconf -a hci0 device "0x3e0100"
Then the device class was listed properly but later PIN exchange failed.

{On another host PC (this runs a different version of bluez), when I edited the "hcid.conf" file to enter a different device class, and later when I ran "hciconfig -a", after running "hcid -f /etc/bluetooth/hcid.conf", I could see this device class modification reflected}

Any suggestions ?
Am I missing something ?

Ebin Jose.


bluez, hciconfig

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
python: list of class-objects? Valkyrie_of_valhalla Programming 3 08-24-2008 06:26 AM
c++ generic list class? true_atlantis Programming 1 09-03-2005 10:17 PM
Implementing a vector class from a list class purefan Programming 9 04-14-2005 10:48 PM
c++ list class, type of node? exodist Programming 2 05-20-2004 06:27 PM
USB Audio Class Device Maninux Linux - Hardware 0 09-18-2003 03:28 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration