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

Re: [bluetooth-dev] btd application - connect failed



Hi Frank,

this might be a problem with your "other side". Can you tell us what
your other side looks like (Device type, software etc).

Is it possible that you swapped the BD_ADDR between the inquiry result
and the rf_conn command ? See below ?

Matthias

Frank Wöhrle wrote:
> 
> Hello
> 
> When I run the btd application with my modules I can start an inquiry an get
> the BD_Adress
> from my second module.
> Then after making an rf_conn I get "Connect failed [HCI - Page Timeout
> ((4))]" !
> 
> The debug messages are:
> 
> Apr 23 13:50:50 blue2 kernel: hci_inquiry (9)
> Apr 23 13:50:50 blue2 kernel:    0x01 0x01 0x04 0x05 0x33 0x8b 0x9e 0x0a
> 0x01
> Apr 23 13:50:53 blue2 kernel: BD addr 1
> Apr 23 13:50:53 blue2 kernel:
> Apr 23 13:50:53 blue2 kernel: BD (6)
> Apr 23 13:50:53 blue2 kernel:    0x00 0x00 0x00 0x00 0x00 0x52
Inquiry result ---------------------------^

> Apr 23 13:51:12 blue2 kernel: BT (driver) bt_ioctl: BTCONNECT
> Apr 23 13:51:12 blue2 kernel: BT (driver) bt_connect : Connecting srv ch 1
> on line 1
> Apr 23 13:51:12 blue2 kernel: we don't have l2cap ch yet for this rfcomm ch
> Apr 23 13:51:12 blue2 kernel:
> Apr 23 13:51:12 blue2 kernel: bd (6)
> Apr 23 13:51:12 blue2 kernel:    0x52 0x00 0x00 0x00 0x00 0x00
rf_conn address you entered ------------------^
They seem to be swapped :-)
> Apr 23 13:51:12 blue2 kernel: sleep on line 1
> Apr 23 13:51:18 blue2 kernel: bt_connect_cfm status : 4
> Apr 23 13:51:18 blue2 kernel: BT (driver) bt_connect_cfm [RCOMM]
> Apr 23 13:51:18 blue2 kernel: BT (driver) bt_connect_cfm, line 1 [RCOMM]
> Apr 23 13:51:18 blue2 kernel: BT SYS: ACL link failed for some reason,
> remove con object
> Apr 23 13:51:18 blue2 kernel: BT SYS: process_event, CONNECTION_COMPLETE
> Page Timeout
> Apr 23 13:51:18 blue2 kernel: BT SYS: ERROR :reset_hci_con_bd, : Didn't find
> connection with con_hdl 0
> 
> What´s wrong ? Has anybody some suggestions ?
> 
> with regards
> Frank
> 
> -
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com

-- 
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@xxxxxxx.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com