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

[bluetooth-dev] connection problems while using BTCON



Hello everybody
  i tried connecting my bluetooth module( BlueMod SBC)to another bluetooth 
module(PAN module) using the 'btcon' command. however it is not getting 
connected. i don't think it is a hardware problem. i got the following log 
messages. could anybody point out what the problem is?
"1111" is the PIN of the module i am trying to connect to.
both the modules are manufactured by HCV wireless. however i connected the 
PAN module with my bluetooth mobile so i am confident that it is not a 
hardware problem. it might be the btcon command or maybe the syntax i am 
using is wrong.can anobody please help..

thanks very much



# btcon -d /dev/ttyBT0 -p '1111' -a 00:a0:96:1d:72:06 -S 1
btdev  /dev/ttyBT0
Using pin code: 1111
set_pin_code not implemented [bt_misc.c, line 532]
Connecting to bd:  0:a0:96:1d:72: 6
Using rfcomm server ch: 1
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (btcon)
BT (driver) Now 6 open fd:s for ttyBTC [btcon]
Connecting to 00:A0:96:1D:72:06 on line 0
BT (driver) __bt_ioctl: BTCONNECT
BT (driver) bt_connect: Connecting srv ch 1 on line 0

bd (6):
0x06 0x72 0x1d 0x96 0xa0 0x00
l2ca_connect_req: wait baseband, sleep on wq 0x2ec4f8
lp_connect_cfm (neg), wake up wq 0x2ec4f8
BT (driver) bt_connect_cfm: Line 0 [RCOMM]
BT SYS: process_event: CONNECTION_COMPLETE Page Timeout
BT SYS: ERROR: reset_hci_con_bd: Didn't find connection with con_hdl 0
BT (driver) Got connection on line 0
line = 0, SESSIONDLCI(line) = 0
l2ca_connect_req: wait baseband, woke up !
BT SYS: ERROR: l2ca_connect_req: lp_connect_req failed, no connection 
(status 4)BT SYS: ERROR: rfcomm_connect_req: l2ca_connect_req failed
BT (driver) bt_connect: Failed
Connect failed [General Failure (1)]
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (hcvbtd)
BT (driver) Now 5 open fd:s for ttyBTC [hcvbtd]
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (hcvbtd)
BT (driver) Now 5 open fd:s for ttyBTC [hcvbtd]
BT (driver) Waiting on line 0

instead of the PIN i tried using 'disable' as mentioned in "btcon.c" but i 
am getting the same log message.

_________________________________________________________________
Easiest Money Transfer to India. Send Money To 6000 Indian Towns. 
http://go.msnserver.com/IN/48198.asp Easiest Way To Send Money Home!

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