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

[bluetooth-dev] btcon: connection problems



Hi everybody
       i successfully connected my bluetooth module (BlueMod SBC) to another 
Bluetooth module (PAN module) using the 'BTCON' command. however the link is 
getting disconnected after a certain time. i got the following log messages. 
could anybody please tell me what the problem is? The PAN module is a DCE 
module which is connected to the terminal at 115200bps. the BlueMOD SBC 
default is also 115200 but in the log messages it is indicating that the 
BlueMod is trying to change the UART speed to 460800. However initially on 
the terminal connected to the PAN module i see the word "CLIENTSERVER" after 
which i see some unusual characters which i assume is due to the disparancy 
in baud rates. could anybody tell me how to prevent the BlueMod from 
changing the UART speed. the maximum speed of the PAN module is 230400bps.

thanks

# btcon -a 00:a0:96:1d:72:06
Connecting to bd:  0:a0:96:1d:72: 6
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 rsp, sleep on wq 0x2ecaf8
rfcomm_connect_pnd : reason 2
l2cap con rsp, wake up wq 0x2ecaf8

l2cap options:  (0):
l2ca_connect_req: wait rsp, woke up !
BT SYS: Setting remote mtu (73:69) to 672 bytes
BT SYS: l2cap channel (73,69) [RFCOMM] connected
BT SYS: rfcomm_config_cfm: l2cap is now open
BT SYS: bt_register_rfcomm: dlci 2 on line 0
BT (driver) bt_connect_cfm: Line 0 [RCOMM]
Connected.
BT (driver) bt_close: Line 7
BT (driver) Unregistering tty on line 7
# BT (driver) Got connection on line 0
line = 0, SESSIONDLCI(line) = 2
BT (driver) bt_open: Line 7
BT (driver) Registering tty on line 7 (hcvbtd)
BT (driver) Now 6 open fd:s for ttyBTC [hcvbtd]
BT (driver) bt_open: Line 0
BT (driver) Registering tty on line 0 (pppd)
BT (driver) bt_set_termios: Forwarding to serial driver
UART1 change speed 460800
BT (driver) bt_set_termios: Forwarding to serial driver
UART1 change speed 460800
BT (driver) bt_flush_chars
BT (driver) bt_set_termios: Forwarding to serial driver
UART1 change speed 460800
BT (driver) bt_set_termios: Forwarding to serial driver
UART1 change speed 460800
BT (driver) bt_set_termios: Forwarding to serial driver
UART1 change speed 460800
BT (driver) bt_set_termios: Forwarding to serial driver
UART1 change speed 460800
BT (driver) bt_chars_in_buffer: 0
BT (driver) bt_chars_in_buffer: 0
(5$%X.Zo.W$$,.e?..?}...3..?.J..??..5Q.BT (driver) bt_chars_in_buffer: 0
BT (driver) bt_chars_in_buffer: 0
BT (driver) bt_set_termios: Forwarding to serial driver
UART1 change speed 460800
BT (driver) bt_close: Line 0
BT (driver) Unregistering tty on line 0
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 6 open fd:s for ttyBTC [hcvbtd]
l2ca_wait : don't sleep flag set
BT SYS: ERROR: l2ca_disconnect_req: Failed (Connection not closed)BT 
(driver) b0BT (driver) bt_unregister_rfcomm: Line 0
BT (driver) bt_hangupline: Hanging up line 0
BT SYS: Warning: bt_hangupline: No upper tty
BT (driver) bt_disconnect_cfm: PSM 3, status 0
BT SYS: l2cap channel (73,69) [RFCOMM] disconnected
l2cap disc rsp, wake up flag not set
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) Waiting on line 0

_________________________________________________________________
Best of Indian handicrafts. 
http://www.fabmall.com/affiliatehtml/redir/nl8.asp At MSN Shopping.

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