[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] bt_set_classofdevice: Invalid argument?



hi- I'm working with the openbt stack on axis' dev board. I have the stack
installed, but I get a "bt_set_classofdevice: Invalid argument" error when
trying to use btd. I have an ericsson rok-101 module plugged into the dev
board's com1 serial port (/dev/ttyS0). the command I execute and the
resulting outputs are included below. any ideas?
	thanks, erik

When I execute:
 26# btd -u /dev/ttyS0 -r client

It responds:
 Bluetooth Control Application
 -----------------------------
 Running as client
 Physdev /dev/ttyS0, btdev /dev/ttyBT0, speed 460800 baud
 Registered bluetooth line discipline on /dev/ttyS0
 Init stack
 bt_set_classofdevice: Invalid argument


And the debug console (sent to com2 on the dev board) shows:
 Jan  1 00:12:03 axisdev btd: close_device
 Jan  1 00:12:21 axisdev btd: Initiating signal handler
 Jan  1 00:12:21 axisdev btd: Opening dev /dev/ttyS0
 BT SYS: Setting BT driver to use serial tty
 Jan  1 00:12:21 axisdev btd: Opening dev /dev/ttyBTC
 BT SYS: Registering tty on line 7
 BT SYS: Initialising Bluetooth Stack
 BT SYS: Initialising HCI
 BT SYS: HCI emulator off
 BT SYS: Initialising HCI inbuffers [17000]
 BT SYS: Reading buffer sizes in the module...

 HW module contains...
 10 ACL buffers at 800 bytes
 0 SCO buffers at 0 bytes

 Ericsson HW revision info:
  Generated: 2000-04-28 15:54
  Comment: CXC 125 244 P9A

 BT SYS: Initialising L2CAP
 process_return_param: READ_BD_ADDR
 BT SYS: Local bd [00:d0:b7:03:29:7b]
 BT SYS: Initialising RFCOMM
 BT SYS: Initialising SDP
 BT SYS: Initialising TCS
 BT SYS: Initialising BTMEM [2500 bytes]
 Jan  1 00:12:22 axisdev btd: Shutting down bluetooth stack
 BT SYS: Unregistering tty on line 7
 Jan  1 00:12:22 axisdev btd: Shutting down stack failed (bt_cfd = 7)
 Jan  1 00:12:22 axisdev btd: close_device
 BT SYS: No more upper tty:s lets shutdown stack...
 BT SYS: Shutting down bluetooth stack
 BT SYS: Shutting down RFCOMM
 BT SYS: Shutting down SDP
 BT SYS: Shutting down TCS
 BT SYS: Shutting down L2CAP
 BT SYS: Shutting down BTMEM
 Jan  1 00:12:22 axisdev btd: close_device

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com