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

[bluetooth-dev] LINK_KEY_REQUEST_NEGATIVE_REPLY..!



Sir, 
     The following is the debug when I tried to
connect to a btdevice from Axis access point from my
application.While connecting itself Iam providing pin
and Iam not able to understand why it cant find the
link key.Do I need to configure btsec in any other
way? The error is 
Connect failed [HCI: LMP Response Timeout (34)] 
and the following the the debug.

bd (6):
0x00 0xde 0x17 0xc6 0x10 0x00
HCI: create_connection
HCI: insert_cmd
l2ca_connect_req: wait baseband, sleep on wq
0xc03f3133
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_receive_data: hci-7
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: release_cmd_timer
HCI: process_event: COMMAND_STATUS
HCI: update_nhcp: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_receive_data: hci-9
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: process_event: LINK_KEY_REQUEST
Jan  1 00:20:36 AxisProduct login: ROOT LOGIN ON ttyp1
FROM 192.168.2.242
hci_receive_data: hci-14
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: process_event: CONNECTION_COMPLETE: LMP Response
Timeout
lp_connect_cfm (neg), wake up wq 0xc03f3133
BT SYS: process_event: CONNECTION_COMPLETE LMP
Response Timeout
BT SYS: ERROR: reset_hci_con_bd: Didn't find
connection with con_hdl 40
l2ca_connect_req: wait baseband, woke up !
BT SYS: ERROR: l2ca_connect_req: lp_connect_req
failed, no connection (status 34)
BT SYS: ERROR: rfcomm_connect_req: l2ca_connect_req
failed
HCI: hci_read_stored_link_key
HCI: start_cmd_timer
HCI: insert_cmd
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_receive_data: hci-11
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: process_event: COMMAND_COMPLETE
HCI: <CC>
HCI: release_cmd_timer
BT SYS: process_return_param: READ_STORED_LINK_KEY
HCI: process_return_param: READ_STORED_LINK_KEY
Success
BT SYS: process_return_param: Max number of Linkkeys:
16
BT SYS: process_return_param: Number of Linkkeys read:
0
HCI: update_nhcp: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
 
hci_link_key_request_negative_reply:  BD_addr (6):
0x00 0xde 0x17 0xc6 0x10 0x00
HCI: start_cmd_timer
HCI: insert_cmd
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_receive_data: hci-13
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: process_event: COMMAND_COMPLETE
HCI: <CC>
HCI: release_cmd_timer
HCI: process_return_param:
LINK_KEY_REQUEST_NEGATIVE_REPLY
BT SYS: ERROR: process_return_param:
LINK_KEY_REQUEST_NEGATIVE_REPLY No Connection
HCI: update_nhcp: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_link_key_request_negative_reply: Returned from
send_secblock

bd (6):
0xa9 0xe0 0x17 0xc6 0x10 0x00
HCI: create_connection
HCI: insert_cmd
HCI: insert_cmd: WRAP
l2ca_connect_req: wait baseband, sleep on wq
0xc03f2833
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: get_next_cmd: next_to_send WRAP
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_receive_data: hci-7
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: release_cmd_timer
HCI: process_event: COMMAND_STATUS
HCI: update_nhcp: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_receive_data: hci-9
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: process_event: LINK_KEY_REQUEST
hci_receive_data: hci-14
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: process_event: CONNECTION_COMPLETE: LMP Response
Timeout
lp_connect_cfm (neg), wake up wq 0xc03f2833
BT SYS: process_event: CONNECTION_COMPLETE LMP
Response Timeout
BT SYS: ERROR: reset_hci_con_bd: Didn't find
connection with con_hdl 41
l2ca_connect_req: wait baseband, woke up !
BT SYS: ERROR: l2ca_connect_req: lp_connect_req
failed, no connection (status 34)
BT SYS: ERROR: rfcomm_connect_req: l2ca_connect_req
failed
HCI: hci_read_stored_link_key
HCI: start_cmd_timer
HCI: insert_cmd
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_receive_data: hci-11
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: process_event: COMMAND_COMPLETE
HCI: <CC>
HCI: release_cmd_timer
BT SYS: process_return_param: READ_STORED_LINK_KEY
HCI: process_return_param: READ_STORED_LINK_KEY
Success
BT SYS: process_return_param: Max number of Linkkeys:
16
BT SYS: process_return_param: Number of Linkkeys read:
0
HCI: update_nhcp: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
 
hci_link_key_request_negative_reply:  BD_addr (6):
0xa9 0xe0 0x17 0xc6 0x10 0x00
HCI: start_cmd_timer
HCI: insert_cmd
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue
hci_receive_data: hci-13
HCI: hci_receive_data: WAIT_FOR_PACKET_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_TYPE
HCI: hci_receive_data: WAIT_FOR_EVENT_LENGTH
HCI: process_event: COMMAND_COMPLETE
HCI: <CC>
HCI: release_cmd_timer
HCI: process_return_param:
LINK_KEY_REQUEST_NEGATIVE_REPLY
BT SYS: ERROR: process_return_param:
LINK_KEY_REQUEST_NEGATIVE_REPLY No Connection
HCI: update_nhcp: Num_HCI_Command_Packets=1
hci_link_key_request_negative_reply: Returned from
send_secblock
HCI: send_cmd_queue: start: Num_HCI_Command_Packets=1
HCI: send_cmd_queue: end : 0 cmds left in queue



__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com