This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2564MODA: Bluetooth Stack is not pairing

Part Number: CC2564MODA


Hi,

When we answer to the pin request on an Android device, we receive the following events and the connection closes.
What could be the problem?

00:06:35 [DB: Uart_BT.c L1553] RX EVENT: 04 20 07 0E 79 4B AC F5 BC 00
00:06:35 [DB: hci.c L836] hci_event_input: Page Scan Repetition Mode changed
00:06:35 [DB: hci.c L840] bdaddr: bc:f5:ac:4b:79:0e
00:06:35 [DB: hci.c L842] rep mode: 0
00:06:35 [DB: Uart_BT.c L1553] RX EVENT: 04 1B 03 01 00 05
00:06:35 [DB: hci.c L799] hci_event_input: Max slots changed. Conn_hdl: 0x1 	 LMP max slots: 0x5
00:06:35 [DB: Uart_BT.c L1569] RX ACL: 02 01 20 0A 00 06 00 01 00 0A 02 02 00 02 00
00:06:35 [DB: hci.c L262] conhdl: 1
00:06:35 [DB: hci.c L264] pcb->flow: 0
00:06:35 [DB: hci.c L282] link == conhdl
00:06:35 [DB: hci.c L286] link->conhdl == conhdl
00:06:35 [DB: hci.c L292] link val: a0003cc4
00:06:35 [DB: hci.c L296] aclhdr->len: 10
00:06:35 [DB: hci.c L301] hci_acl_input: Forward ACL packet to higher layer p->tot_len = 180
00:06:35 [DB: l2cap.c L1015] l2cap_input: Start of L2CAP packet p->len = 10, p->tot_len = 10
00:06:35 [DB: l2cap.c L355] l2cap_process_sig: Request signal received id = 2 code = 10
00:06:35 [DB: l2cap.c L1285] l2cap_signal: Allocate memory for l2cap_sig. Code = 0x1
00:06:35 [DB: l2cap.c L1323] l2cap_signal: Sending response/reject signal with id = 2 code = 1
00:06:35 [DB: l2cap.c L236] l2cap_write: len 10 maxsize 1021 p->len 8
00:06:35 [DB: hci.c L1646] lp_acl_write: HC num ACL 4
00:06:35 [DB: hci.c L1702] lp_acl_write: q->tot_len = 15 aclhdr->len + q->len = 15
00:06:35 [DB: usbif.c L116] TX: 02 01 20 0a 00 00 00 00 80 47 00 a0 00 00 00 
00:06:35 [DB: l2cap.c L265] ret(0) = lp_acl_write(bdaddr, q, len (10), pb (2))
00:06:35 [DB: l2cap.c L271] l2cap_write: DONE with code: 0
00:06:35 [DB: l2cap.c L1356] l2cap_signal: Deallocating sent response/reject signal with id = 2 code = 1
00:06:35 [DB: Uart_BT.c L1553] RX EVENT: 04 0E 05 01 11 0C 00 01
00:06:35 [DB: hci.c L603] hci_event_input: Command Complete. Num_HCI_Command_Packets: 0x1
00:06:35 [DB: hci.c L615] HCI_COMMAND_COMPLETE: OCF == 0x11 OGF == 0x3
00:06:35 [ERR: bt_spp.c L979] Unknown HCI_HC_BB_OGF command complete event
00:06:35 [DB: Uart_BT.c L1553] RX EVENT: 04 13 05 01 01 00 01 00
00:06:35 [DB: hci.c L744] hci_event_input: Number Of Completed Packets
00:06:35 [DB: hci.c L746] Number_of_Handles: 0x1
00:06:35 [DB: hci.c L752] Conn_hdl: 0x10
00:06:35 [DB: hci.c L754] HC_Num_Of_Completed_Packets: 0x1
00:06:38 [DB: Uart_BT.c L1569] RX ACL: 02 01 20 0C 00 08 00 01 00 02 03 04 00 01 00 40 00
00:06:38 [DB: hci.c L262] conhdl: 1
00:06:38 [DB: hci.c L264] pcb->flow: 0
00:06:38 [DB: hci.c L282] link == conhdl
00:06:38 [DB: hci.c L286] link->conhdl == conhdl
00:06:38 [DB: hci.c L292] link val: a0003cc4
00:06:38 [DB: hci.c L296] aclhdr->len: 12
00:06:38 [DB: hci.c L301] hci_acl_input: Forward ACL packet to higher layer p->tot_len = 180
00:06:38 [DB: l2cap.c L1015] l2cap_input: Start of L2CAP packet p->len = 12, p->tot_len = 12
00:06:38 [DB: l2cap.c L355] l2cap_process_sig: Request signal received id = 3 code = 2
00:06:38 [DB: l2cap.c L434] l2cap_process_sig: A connection request was received. Send a response
00:06:38 [DB: l2cap.c L1285] l2cap_signal: Allocate memory for l2cap_sig. Code = 0x3
00:06:38 [DB: l2cap.c L1323] l2cap_signal: Sending response/reject signal with id = 3 code = 3
00:06:38 [DB: l2cap.c L236] l2cap_write: len 16 maxsize 1021 p->len 8
00:06:38 [DB: hci.c L1646] lp_acl_write: HC num ACL 4
00:06:38 [DB: hci.c L1702] lp_acl_write: q->tot_len = 21 aclhdr->len + q->len = 21
00:06:38 [DB: usbif.c L116] TX: 02 01 20 10 00 00 00 00 80 47 00 a0 00 00 00 00 00 00 00 00 00 
00:06:38 [DB: l2cap.c L265] ret(0) = lp_acl_write(bdaddr, q, len (16), pb (2))
00:06:38 [DB: l2cap.c L271] l2cap_write: DONE with code: 0
00:06:38 [DB: l2cap.c L1356] l2cap_signal: Deallocating sent response/reject signal with id = 3 code = 3
00:06:38 [DB: Uart_BT.c L1553] RX EVENT: 04 13 05 01 01 00 01 00
00:06:38 [DB: hci.c L744] hci_event_input: Number Of Completed Packets
00:06:38 [DB: hci.c L746] Number_of_Handles: 0x1
00:06:38 [DB: hci.c L752] Conn_hdl: 0x10
00:06:38 [DB: hci.c L754] HC_Num_Of_Completed_Packets: 0x1
00:06:38 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 29
00:06:39 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 28
00:06:40 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 27
00:06:41 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 26
00:06:42 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 25
00:06:43 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 24
00:06:44 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 23
00:06:45 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 22
00:06:46 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 21
00:06:47 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 20
00:06:48 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 19
00:06:49 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 18
00:06:50 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 17
00:06:51 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 16
00:06:52 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 15
00:06:53 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 14
00:06:54 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 13
00:06:55 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 12
00:06:56 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 11
00:06:57 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 10
00:06:58 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 9
00:06:59 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 8
00:07:00 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 7
00:07:01 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 6
00:07:02 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 5
00:07:03 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 4
00:07:04 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 3
00:07:05 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 2
00:07:06 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 1
00:07:07 [DB: l2cap.c L182] l2cap_tmr: Configuration timer = 0
00:07:07 [DB: l2cap.c L1285] l2cap_signal: Allocate memory for l2cap_sig. Code = 0x6
00:07:07 [DB: l2cap.c L1333] l2cap_signal: Sending request signal with id = 1 code = 6
00:07:07 [DB: l2cap.c L236] l2cap_write: len 12 maxsize 1021 p->len 8
00:07:07 [DB: hci.c L1646] lp_acl_write: HC num ACL 4
00:07:07 [DB: hci.c L1702] lp_acl_write: q->tot_len = 17 aclhdr->len + q->len = 17
00:07:07 [DB: usbif.c L116] TX: 02 01 20 0c 00 00 00 00 80 47 00 a0 00 00 00 00 00 
00:07:07 [DB: l2cap.c L265] ret(0) = lp_acl_write(bdaddr, q, len (12), pb (2))
00:07:07 [DB: l2cap.c L271] l2cap_write: DONE with code: 0
00:07:07 [DB: l2cap.c L1349] l2cap_signal: Registering sent request signal with id = 1 code = 6
00:07:07 [DB: bt_spp.c L425] bt_connect_ind
00:07:07 [DB: bt_spp.c L434] bt_connect_ind SDP
00:07:07 [DB: Uart_BT.c L1553] RX EVENT: 04 13 05 01 01 00 01 00
00:07:07 [DB: hci.c L744] hci_event_input: Number Of Completed Packets
00:07:07 [DB: hci.c L746] Number_of_Handles: 0x1
00:07:08 [DB: hci.c L752] Conn_hdl: 0x10
00:07:08 [DB: hci.c L754] HC_Num_Of_Completed_Packets: 0x1
00:07:38 [DB: Uart_BT.c L1569] RX ACL: 02 01 20 0C 00 08 00 01 00 02 04 04 00 01 00 41 00
00:07:38 [DB: hci.c L262] conhdl: 1
00:07:38 [DB: hci.c L264] pcb->flow: 0
00:07:38 [DB: hci.c L282] link == conhdl
00:07:38 [DB: hci.c L286] link->conhdl == conhdl
00:07:38 [DB: hci.c L292] link val: a0003cc4
00:07:38 [DB: hci.c L296] aclhdr->len: 12
00:07:38 [DB: hci.c L301] hci_acl_input: Forward ACL packet to higher layer p->tot_len = 180
00:07:38 [DB: l2cap.c L1015] l2cap_input: Start of L2CAP packet p->len = 12, p->tot_len = 12
00:07:38 [DB: l2cap.c L355] l2cap_process_sig: Request signal received id = 4 code = 2
00:07:38 [DB: l2cap.c L434] l2cap_process_sig: A connection request was received. Send a response
00:07:38 [DB: l2cap.c L1285] l2cap_signal: Allocate memory for l2cap_sig. Code = 0x3
00:07:38 [DB: l2cap.c L1323] l2cap_signal: Sending response/reject signal with id = 4 code = 3
00:07:38 [DB: l2cap.c L236] l2cap_write: len 16 maxsize 1021 p->len 8
00:07:38 [DB: hci.c L1646] lp_acl_write: HC num ACL 4
00:07:38 [DB: hci.c L1702] lp_acl_write: q->tot_len = 21 aclhdr->len + q->len = 21
00:07:38 [DB: usbif.c L116] TX: 02 01 20 10 00 00 00 00 80 47 00 a0 00 00 00 00 00 00 00 00 00 
00:07:38 [DB: l2cap.c L265] ret(0) = lp_acl_write(bdaddr, q, len (16), pb (2))
00:07:38 [DB: l2cap.c L271] l2cap_write: DONE with code: 0
00:07:38 [DB: l2cap.c L1356] l2cap_signal: Deallocating sent response/reject signal with id = 4 code = 3
00:07:38 [DB: Uart_BT.c L1553] RX EVENT: 04 13 05 01 01 00 01 00
00:07:38 [DB: hci.c L744] hci_event_input: Number Of Completed Packets
00:07:38 [DB: hci.c L746] Number_of_Handles: 0x1
00:07:38 [DB: hci.c L752] Conn_hdl: 0x10
00:07:38 [DB: hci.c L754] HC_Num_Of_Completed_Packets: 0x1