I am testing the NuttX’s BLE on CC2564 but it is failing for some unknown reason:
ABCDF hciuart_initialize: Initializing HCIUART3 hciuart_disableints: CR1 00000000 CR2 00000000 hciuart_instantiate: Instantiating HCIUART3 hciuart_configure: config 801d924 hciuart_line_configure: baud 115200 btuart_register: lower 801d924 bt_initialize: btdev 20007950 btuart_open: dev 20007950 hci_tx_kthread: started hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 0 rxtail 0 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxattach: config 801d924 callback 8013891 arg 20007950 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_cmd_create: opcode 0c03 param_len 0 bt_buf_alloc: buf 20002a40 type 0 reserve 1 bt_hci_cmd_create: buf 20002a40 bt_buf_extend: buf 20002a40 len 3 bt_hci_cmd_send: opcode 0c03 len 3 bt_hci_cmd_create: opcode 1003 param_len 0 hci_tx_kthread: Sending command 0c03 buf 20002a40 to driver bt_buf_alloc: buf 20002a28 type 0 reserve 1 bt_buf_provide: buf 20002a40 len 1 bt_hci_cmd_crehciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 2 txtail 4 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 4 txtail 4 nbytes 2 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 0 rxtail 1 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 0 rxtail 2 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 0 rxtail 3 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 0 rxtail 4 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 0 rxtail 5 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 0 rxtail 6 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 0 rxtail 7 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 ate: buf 20002a28 hciuart_write: config 801d924 buffer 20002760 buflen 4 bt_buf_extend: buf 20002a28 len 3 hciuart_disableints: CR1 0000202c CR2 00000301 bt_hci_cmd_send_sync: opcode 1003 len 3 hciuart_copytotxfifo: txhead 1 txtail 4 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 0 rxtail 7 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 1 rxtail 7 nbytes 1 hciuart_copytorxbuffer: rxhead 1 rxtail 7 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 1 rxtail 7 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 3 rxtail 7 nbytes 2 hciuart_copytorxbuffer: rxhead 3 rxtail 7 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a10 type 1 reserve 0 bt_buf_extend: buf 20002a10 len 2 btuart_evt_recv: hdrlen 4 btuart_rxwork: Need to get 4 bytes btuart_read: buflen 4 minread 0 hciuart_read: config 801d924 buffer 2000265a buflen 4 hciuart_copytorxbuffer: rxhead 3 rxtail 7 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 7 rxtail 7 nbytes 4 hciuart_copytorxbuffer: rxhead 7 rxtail 7 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 4 remaining 0 btuart_rxwork: Received 4 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 7 rxtail 7 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a10 len 6 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a10 type 1 len 6 hci_event: event 14 bt_buf_consume: buf 20002a10 len 2 hci_cmd_complete: opcode 0c03 bt_buf_consume: buf 20002a10 len 3 hci_reset_complete: status 0 bt_buf_release: buf 20002a40 ref 1 type 0 bt_buf_release: Buffer freed: 20002a40 bt_buf_release: buf 20002a10 ref 1 type 1 hci_tx_kthread: Sending command 1003 buf 2hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 6 txtail 8 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 7 txtail 8 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 8 txtail 8 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 8 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 9 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 10 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 11 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 12 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 13 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 14 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 15 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 16 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 17 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 18 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 19 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 20 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 21 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 7 rxtail 22 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 0002a28 to driver bt_buf_release: Buffer freed: 20002a10 bt_buf_provide: buf 20002a28 len 1 hciuart_write: config 801d924 buffer 20002708 buflen 4 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 5 txtail 8 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 7 rxtail 22 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 8 rxtail 22 nbytes 1 hciuart_copytorxbuffer: rxhead 8 rxtail 22 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 8 rxtail 22 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 10 rxtail 22 nbytes 2 hciuart_copytorxbuffer: rxhead 10 rxtail 22 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a10 type 1 reserve 0 bt_buf_extend: buf 20002a10 len 2 btuart_evt_recv: hdrlen 12 btuart_rxwork: Need to get 12 bytes btuart_read: buflen 12 minread 0 hciuart_read: config 801d924 buffer 2000265a buflen 12 hciuart_copytorxbuffer: rxhead 10 rxtail 22 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 22 rxtail 22 nbytes 12 hciuart_copytorxbuffer: rxhead 22 rxtail 22 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 12 remaining 0 btuart_rxwork: Received 12 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 22 rxtail 22 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a10 len 14 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a10 type 1 len 14 hci_event: event 14 bt_buf_consume: buf 20002a10 len 2 hci_cmd_complete: opcode 1003 bt_buf_consume: buf 20002a10 len 3 hci_cmd_complete: Unhandled opcode 1003 bt_buf_addref: buf 20002a10 (old) ref 1 type 1 bt_buf_release: buf 20002a10 ref 2 type 1 bt_buf_release: buf 20002a28 ref 1 type 0 bt_buf_release: Remaining references: 1 bt_buf_release: Buffer freed: 20002a28 read_local_features_complete: status 0 bt_buf_release: buf 20002a10 ref 1 type 1 bt_buf_release: Buffer freed: 20002a10 bt_hci_cmd_create: opcode 1001 param_len 0 bt_buf_alloc: buf 20002a10 type 0 reserve 1 bt_hci_cmd_create: buf 20002a10 bt_buf_extend: buf 20002a10 len 3 bt_hci_cmd_send_sync: opcode 1001 len 3 hchciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 10 txtail 12 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 11 txtail 12 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 12 txtail 12 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 23 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 24 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 25 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 26 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 27 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 28 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 29 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 30 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 31 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 32 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 33 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 34 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 35 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 36 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 22 rxtail 37 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 i_tx_kthread: Sending command 1001 buf 20002a10 to driver bt_buf_provide: buf 20002a10 len 1 hciuart_write: config 801d924 buffer 20002658 buflen 4 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 9 txtail 12 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 22 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 23 rxtail 37 nbytes 1 hciuart_copytorxbuffer: rxhead 23 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 23 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 25 rxtail 37 nbytes 2 hciuart_copytorxbuffer: rxhead 25 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a28 type 1 reserve 0 bt_buf_extend: buf 20002a28 len 2 btuart_evt_recv: hdrlen 12 btuart_rxwork: Need to get 12 bytes btuart_read: buflen 12 minread 0 hciuart_read: config 801d924 buffer 200026b2 buflen 12 hciuart_copytorxbuffer: rxhead 25 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 37 rxtail 37 nbytes 12 hciuart_copytorxbuffer: rxhead 37 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 12 remaining 0 btuart_rxwork: Received 12 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 37 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a28 len 14 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a28 type 1 len 14 hci_event: event 14 bt_buf_consume: buf 20002a28 len 2 hci_cmd_complete: opcode 1001 bt_buf_consume: buf 20002a28 len 3 hci_cmd_complete: Unhandled opcode 1001 bt_buf_addref: buf 20002a28 (old) ref 1 type 1 bt_buf_release: buf 20002a28 ref 2 type 1 bt_buf_release: buf 20002a10 ref 1 type 0 bt_buf_release: Remaining references: 1 bt_buf_release: Buffer freed: 20002a10 read_local_ver_complete: status 0 bt_buf_release: buf 20002a28 ref 1 type 1 bt_buf_release: Buffer freed: 20002a28 bt_hci_cmd_create: opcode 1009 param_len 0 bt_buf_alloc: buf 20002a28 type 0 reserve 1 bt_hci_cmd_create: buf 20002a28 bt_buf_extend: buf 20002a28 len 3 bt_hci_cmd_send_sync: opcode 1009 len 3 hcihciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 14 txtail 16 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 15 txtail 16 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 16 txtail 16 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 38 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 39 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 40 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 41 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 42 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 43 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 44 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 45 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 46 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 47 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 48 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 49 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 37 rxtail 50 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 _tx_kthread: Sending command 1009 buf 20002a28 to driver bt_buf_provide: buf 20002a28 len 1 hciuart_write: config 801d924 buffer 200026b0 buflen 4 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 13 txtail 16 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 37 rxtail 50 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 38 rxtail 50 nbytes 1 hciuart_copytorxbuffer: rxhead 38 rxtail 50 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 38 rxtail 50 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 40 rxtail 50 nbytes 2 hciuart_copytorxbuffer: rxhead 40 rxtail 50 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a10 type 1 reserve 0 bt_buf_extend: buf 20002a10 len 2 btuart_evt_recv: hdrlen 10 btuart_rxwork: Need to get 10 bytes btuart_read: buflen 10 minread 0 hciuart_read: config 801d924 buffer 2000270a buflen 10 hciuart_copytorxbuffer: rxhead 40 rxtail 50 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 50 rxtail 50 nbytes 10 hciuart_copytorxbuffer: rxhead 50 rxtail 50 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 10 remaining 0 btuart_rxwork: Received 10 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 50 rxtail 50 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a10 len 12 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a10 type 1 len 12 hci_event: event 14 bt_buf_consume: buf 20002a10 len 2 hci_cmd_complete: opcode 1009 bt_buf_consume: buf 20002a10 len 3 hci_cmd_complete: Unhandled opcode 1009 bt_buf_addref: buf 20002a10 (old) ref 1 type 1 bt_buf_release: buf 20002a10 ref 2 type 1 bt_buf_release: buf 20002a28 ref 1 type 0 bt_buf_release: Remaining references: 1 bt_buf_release: Buffer freed: 20002a28 read_bdaddr_complete: status 0 bt_buf_release: buf 20002a10 ref 1 type 1 bt_buf_release: Buffer freed: 20002a10 bt_hci_cmd_create: opcode 2003 param_len 0 bt_buf_alloc: buf 20002a10 type 0 reserve 1 bt_hci_cmd_create: buf 20002a10 bt_buf_extend: buf 20002a10 len 3 bt_hci_cmd_send_sync: opcode 2003 len 3 hcihciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 18 txtail 20 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 19 txtail 20 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 20 txtail 20 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 51 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 52 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 53 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 54 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 55 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 56 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 57 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 58 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 59 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 60 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 61 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 62 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 63 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 64 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 50 rxtail 65 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 _tx_kthread: Sending command 2003 buf 20002a10 to driver bt_buf_provide: buf 20002a10 len 1 hciuart_write: config 801d924 buffer 20002708 buflen 4 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 17 txtail 20 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 50 rxtail 65 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 51 rxtail 65 nbytes 1 hciuart_copytorxbuffer: rxhead 51 rxtail 65 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 51 rxtail 65 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 53 rxtail 65 nbytes 2 hciuart_copytorxbuffer: rxhead 53 rxtail 65 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a28 type 1 reserve 0 bt_buf_extend: buf 20002a28 len 2 btuart_evt_recv: hdrlen 12 btuart_rxwork: Need to get 12 bytes btuart_read: buflen 12 minread 0 hciuart_read: config 801d924 buffer 2000265a buflen 12 hciuart_copytorxbuffer: rxhead 53 rxtail 65 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 65 rxtail 65 nbytes 12 hciuart_copytorxbuffer: rxhead 65 rxtail 65 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 12 remaining 0 btuart_rxwork: Received 12 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 65 rxtail 65 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a28 len 14 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a28 type 1 len 14 hci_event: event 14 bt_buf_consume: buf 20002a28 len 2 hci_cmd_complete: opcode 2003 bt_buf_consume: buf 20002a28 len 3 hci_cmd_complete: Unhandled opcode 2003 bt_buf_addref: buf 20002a28 (old) ref 1 type 1 bt_buf_release: buf 20002a28 ref 2 type 1 bt_buf_release: buf 20002a10 ref 1 type 0 bt_buf_release: Remaining references: 1 bt_buf_release: Buffer freed: 20002a10 read_le_features_complete: status 0 bt_buf_release: buf 20002a28 ref 1 type 1 bt_buf_release: Buffer freed: 20002a28 bt_hci_cmd_create: opcode 2002 param_len 0 bt_buf_alloc: buf 20002a28 type 0 reserve 1 bt_hci_cmd_create: buf 20002a28 bt_buf_extend: buf 20002a28 len 3 bt_hci_cmd_send_sync: opcode 2002 len 3 hcihciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 22 txtail 24 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 23 txtail 24 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 24 txtail 24 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 66 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 67 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 68 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 69 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 70 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 71 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 72 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 73 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 74 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 65 rxtail 75 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 _tx_kthread: Sending command 2002 buf 20002a28 to driver bt_buf_provide: buf 20002a28 len 1 hciuart_write: config 801d924 buffer 20002658 buflen 4 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 21 txtail 24 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 65 rxtail 75 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 66 rxtail 75 nbytes 1 hciuart_copytorxbuffer: rxhead 66 rxtail 75 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 66 rxtail 75 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 68 rxtail 75 nbytes 2 hciuart_copytorxbuffer: rxhead 68 rxtail 75 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a10 type 1 reserve 0 bt_buf_extend: buf 20002a10 len 2 btuart_evt_recv: hdrlen 7 btuart_rxwork: Need to get 7 bytes btuart_read: buflen 7 minread 0 hciuart_read: config 801d924 buffer 200026b2 buflen 7 hciuart_copytorxbuffer: rxhead 68 rxtail 75 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 75 rxtail 75 nbytes 7 hciuart_copytorxbuffer: rxhead 75 rxtail 75 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 7 remaining 0 btuart_rxwork: Received 7 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 75 rxtail 75 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a10 len 9 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a10 type 1 len 9 hci_event: event 14 bt_buf_consume: buf 20002a10 len 2 hci_cmd_complete: opcode 2002 bt_buf_consume: buf 20002a10 len 3 hci_cmd_complete: Unhandled opcode 2002 bt_buf_addref: buf 20002a10 (old) ref 1 type 1 bt_buf_release: buf 20002a10 ref 2 type 1 bt_buf_release: buf 20002a28 ref 1 type 0 bt_buf_release: Remaining references: 1 bt_buf_release: Buffer freed: 20002a28 le_read_buffer_size_complete: status 0 bt_buf_release: buf 20002a10 ref 1 type 1 bt_buf_release: Buffer freed: 20002a10 bt_hci_cmd_create: opcode 0c01 param_len 8 bt_buf_alloc: buf 20002a10 type 0 reserve 1 bt_hci_cmd_create: buf 20002a10 bt_buf_extend: buf 20002a10 len 3 bt_buf_extend: buf 20002a10 len 8 bt_hci_cmd_send_sync: opcode 0c01 len 11 hci_hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 26 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 27 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 28 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 29 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 30 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 31 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 32 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 33 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 34 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 35 txtail 36 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 36 txtail 36 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 75 rxtail 76 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 75 rxtail 77 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 75 rxtail 78 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 75 rxtail 79 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 75 rxtail 0 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 75 rxtail 1 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 75 rxtail 2 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 tx_kthread: Sending command 0c01 buf 20002a10 to driver bt_buf_provide: buf 20002a10 len 1 hciuart_write: config 801d924 buffer 200026b0 buflen 12 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 25 txtail 36 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 75 rxtail 2 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 76 rxtail 2 nbytes 1 hciuart_copytorxbuffer: rxhead 76 rxtail 2 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 76 rxtail 2 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 78 rxtail 2 nbytes 2 hciuart_copytorxbuffer: rxhead 78 rxtail 2 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a28 type 1 reserve 0 bt_buf_extend: buf 20002a28 len 2 btuart_evt_recv: hdrlen 4 btuart_rxwork: Need to get 4 bytes btuart_read: buflen 4 minread 0 hciuart_read: config 801d924 buffer 2000270a buflen 4 hciuart_copytorxbuffer: rxhead 78 rxtail 2 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 2 rxtail 2 nbytes 4 hciuart_copytorxbuffer: rxhead 2 rxtail 2 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 4 remaining 0 btuart_rxwork: Received 4 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 2 rxtail 2 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a28 len 6 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a28 type 1 len 6 hci_event: event 14 bt_buf_consume: buf 20002a28 len 2 hci_cmd_complete: opcode 0c01 bt_buf_consume: buf 20002a28 len 3 hci_cmd_complete: Unhandled opcode 0c01 bt_buf_addref: buf 20002a28 (old) ref 1 type 1 bt_buf_release: buf 20002a28 ref 2 type 1 bt_buf_release: buf 20002a28 ref 2 type 1 bt_buf_release: Remaining references: 1 bt_buf_release: Buffer freed: 20002a28 bt_buf_release: buf 20002a10 ref 1 type 0 bt_buf_release: Buffer freed: 20002a10 bt_hci_cmd_create: opcode 0c33 param_len 7 bt_buf_alloc: buf 20002a10 type 0 reserve 1 bt_hci_cmd_create: buf 20002a10 bt_buf_extend: buf 20002a10 len 3 bt_buf_extend: buf 20002a10 len 7 bt_hci_cmd_send: opcode 0c33 len 10 bt_hci_cmd_create: opcode 0c31 param_len 1 hci_tx_kthread: Sending command 0c33 buf 20002a10 to driver bt_buf_alloc: buf 20002a28 type 0 reserve 1 bt_buf_provide: buf 20002a10 len 1 bt_hci_cmd_hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 38 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 39 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 40 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 41 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 42 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 43 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 44 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 45 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 46 txtail 47 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 47 txtail 47 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 2 rxtail 3 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 2 rxtail 4 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 2 rxtail 5 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 2 rxtail 6 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 2 rxtail 7 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 2 rxtail 8 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 2 rxtail 9 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 create: buf 20002a28 hciuart_write: config 801d924 buffer 200026b0 buflen 11 bt_buf_extend: buf 20002a28 len 3 hciuart_disableints: CR1 0000202c CR2 00000301 bt_buf_extend: buf 20002a28 len 1 hciuart_copytotxfifo: txhead 37 txtail 47 nbytes 1 bt_hci_cmd_send_sync: opcode 0c31 len 4 btuart_read: buflen 1 minread 0 hciuart_enableints: CR1 000020ac CR2 00000301 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 2 rxtail 9 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 3 rxtail 9 nbytes 1 hciuart_copytorxbuffer: rxhead 3 rxtail 9 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 3 rxtail 9 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 5 rxtail 9 nbytes 2 hciuart_copytorxbuffer: rxhead 5 rxtail 9 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a40 type 1 reserve 0 bt_buf_extend: buf 20002a40 len 2 btuart_evt_recv: hdrlen 4 btuart_rxwork: Need to get 4 bytes btuart_read: buflen 4 minread 0 hciuart_read: config 801d924 buffer 20002602 buflen 4 hciuart_copytorxbuffer: rxhead 5 rxtail 9 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 9 rxtail 9 nbytes 4 hciuart_copytorxbuffer: rxhead 9 rxtail 9 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 4 remaining 0 btuart_rxwork: Received 4 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 9 rxtail 9 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a40 len 6 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a40 type 1 len 6 hci_event: event 14 bt_buf_consume: buf 20002a40 len 2 hci_cmd_complete: opcode 0c33 bt_buf_consume: buf 20002a40 len 3 hci_cmd_complete: Unhandled opcode 0c33 bt_buf_release: buf 20002a10 ref 1 type 0 bt_buf_release: Buffer freed: 20002a10 bt_buf_release: buf 20002a40 ref 1 type 1 hci_tx_kthread: Sending command 0c31 buf 200hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 49 txtail 52 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 50 txtail 52 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 51 txtail 52 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 52 txtail 52 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 9 rxtail 10 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 9 rxtail 11 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 9 rxtail 12 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 9 rxtail 13 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 9 rxtail 14 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 9 rxtail 15 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 9 rxtail 16 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 02a28 to driver bt_buf_release: Buffer freed: 20002a40 bt_buf_provide: buf 20002a28 len 1 hciuart_write: config 801d924 buffer 20002708 buflen 5 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 48 txtail 52 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 9 rxtail 16 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 10 rxtail 16 nbytes 1 hciuart_copytorxbuffer: rxhead 10 rxtail 16 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 10 rxtail 16 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 12 rxtail 16 nbytes 2 hciuart_copytorxbuffer: rxhead 12 rxtail 16 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a40 type 1 reserve 0 bt_buf_extend: buf 20002a40 len 2 btuart_evt_recv: hdrlen 4 btuart_rxwork: Need to get 4 bytes btuart_read: buflen 4 minread 0 hciuart_read: config 801d924 buffer 20002602 buflen 4 hciuart_copytorxbuffer: rxhead 12 rxtail 16 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 16 rxtail 16 nbytes 4 hciuart_copytorxbuffer: rxhead 16 rxtail 16 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 4 remaining 0 btuart_rxwork: Received 4 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 16 rxtail 16 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a40 len 6 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a40 type 1 len 6 hci_event: event 14 bt_buf_consume: buf 20002a40 len 2 hci_cmd_complete: opcode 0c31 bt_buf_consume: buf 20002a40 len 3 hci_cmd_complete: Unhandled opcode 0c31 bt_buf_addref: buf 20002a40 (old) ref 1 type 1 bt_buf_release: buf 20002a40 ref 2 type 1 bt_buf_release: buf 20002a40 ref 2 type 1 bt_buf_release: Remaining references: 1 bt_buf_release: Buffer freed: 20002a40 bt_buf_release: buf 20002a28 ref 1 type 0 bt_buf_release: Buffer freed: 20002a28 bt_hci_cmd_create: opcode 0c6d param_len 2 bt_buf_alloc: buf 20002a28 type 0 reserve 1 bt_hci_cmd_create: buf 20002a28 bt_buf_extend: buf 20002a28 len 3 bt_buf_extend: buf 20002a28 len 2 bt_hci_cmd_send_sync: opcode 0c6d len 5 hcihciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 54 txtail 58 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 55 txtail 58 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 56 txtail 58 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 57 txtail 58 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 58 txtail 58 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 16 rxtail 17 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 16 rxtail 18 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 16 rxtail 19 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 16 rxtail 20 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 16 rxtail 21 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 16 rxtail 22 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 16 rxtail 23 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 _tx_kthread: Sending command 0c6d buf 20002a28 to driver bt_buf_provide: buf 20002a28 len 1 hciuart_write: config 801d924 buffer 20002708 buflen 6 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 53 txtail 58 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 16 rxtail 23 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 17 rxtail 23 nbytes 1 hciuart_copytorxbuffer: rxhead 17 rxtail 23 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 17 rxtail 23 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 19 rxtail 23 nbytes 2 hciuart_copytorxbuffer: rxhead 19 rxtail 23 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a40 type 1 reserve 0 bt_buf_extend: buf 20002a40 len 2 btuart_evt_recv: hdrlen 4 btuart_rxwork: Need to get 4 bytes btuart_read: buflen 4 minread 0 hciuart_read: config 801d924 buffer 2000265a buflen 4 hciuart_copytorxbuffer: rxhead 19 rxtail 23 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 23 rxtail 23 nbytes 4 hciuart_copytorxbuffer: rxhead 23 rxtail 23 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 4 remaining 0 btuart_rxwork: Received 4 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 23 rxtail 23 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a40 len 6 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a40 type 1 len 6 hci_event: event 14 bt_buf_consume: buf 20002a40 len 2 hci_cmd_complete: opcode 0c6d bt_buf_consume: buf 20002a40 len 3 hci_cmd_complete: Unhandled opcode 0c6d hci_cmd_done: WARNING: status 17 bt_buf_release: buf 20002a40 ref 1 type 1 bt_hci_cmd_send_sync: ERROR: Failed get return parameters bt_buf_release: Buffer freed: 20002a40 bt_buf_release: buf 20002a28 ref 1 type 0 bt_buf_release: Buffer freed: 20002a28 hci_initialize: HCI ver 6 rev 0, manufacturer 13 hci_initialize: ACL buffers: pkts 15 mtu 27 bt_l2cap_chan_register: CID 0x0004 bt_l2cap_chan_register: CID 0x0006 bt_l2cap_chan_register: CID 0x0005 NuttShell (NSH) nsh> bt bnep0 scan start btnet_ioctl: cmd=133f arg=536908336l btnet_ioctl: ifname: bnep0 bt_hci_cmd_create: opcode 200b param_len 7 bt_buf_alloc: buf 20002a28 type 0 reserve 1 bt_hci_cmd_create: buf 20002a28 bt_buf_extend: buf 20002a28 len 3 bt_buf_extend: buf 20002a28 len 7 bt_hci_cmd_send: opcode 200b len 10 bt_hci_cmd_create: opcode 200c param_len 2 hci_tx_kthread: Sending command 200b buf 20002a28 to driver bt_buf_alloc: buf 20002a40 type 0 reserve 1 bt_buf_provide: buf 20002a28 len 1 bt_hci_cmd_hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 60 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 61 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 62 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 63 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 64 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 65 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 66 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 67 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 68 txtail 69 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 69 txtail 69 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 23 rxtail 24 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 23 rxtail 25 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 23 rxtail 26 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 23 rxtail 27 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 23 rxtail 28 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 23 rxtail 29 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 23 rxtail 30 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 create: buf 20002a40 hciuart_write: config 801d924 buffer 20002708 buflen 11 bt_buf_extend: buf 20002a40 len 3 hciuart_disableints: CR1 0000202c CR2 00000301 bt_buf_extend: buf 20002a40 len 2 hciuart_copytotxfifo: txhead 59 txtail 69 nbytes 1 bt_hci_cmd_send_sync: opcode 200c len 5 btuart_read: buflen 1 minread 0 hciuart_enableints: CR1 000020ac CR2 00000301 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 23 rxtail 30 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 24 rxtail 30 nbytes 1 hciuart_copytorxbuffer: rxhead 24 rxtail 30 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 24 rxtail 30 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 26 rxtail 30 nbytes 2 hciuart_copytorxbuffer: rxhead 26 rxtail 30 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a10 type 1 reserve 0 bt_buf_extend: buf 20002a10 len 2 btuart_evt_recv: hdrlen 4 btuart_rxwork: Need to get 4 bytes btuart_read: buflen 4 minread 0 hciuart_read: config 801d924 buffer 20002762 buflen 4 hciuart_copytorxbuffer: rxhead 26 rxtail 30 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 30 rxtail 30 nbytes 4 hciuart_copytorxbuffer: rxhead 30 rxtail 30 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 4 remaining 0 btuart_rxwork: Received 4 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 30 rxtail 30 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a10 len 6 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a10 type 1 len 6 hci_event: event 14 bt_buf_consume: buf 20002a10 len 2 hci_cmd_complete: opcode 200b bt_buf_consume: buf 20002a10 len 3 hci_cmd_complete: Unhandled opcode 200b bt_buf_release: buf 20002a28 ref 1 type 0 bt_buf_release: Buffer freed: 20002a28 bt_buf_release: buf 20002a10 ref 1 type 1 hci_tx_kthread: Sending command 200c buf 200hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 71 txtail 75 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 72 txtail 75 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 73 txtail 75 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 74 txtail 75 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_copytotxfifo: txhead 75 txtail 75 nbytes 1 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 30 rxtail 31 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 30 rxtail 32 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 30 rxtail 33 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 30 rxtail 34 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 30 rxtail 35 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 30 rxtail 36 nbytes 1 hciuart_interrupt: status 000000f0 hciuart_copytorxbuffer: rxhead 30 rxtail 37 nbytes 1 hciuart_interrupt: status 000000c0 hciuart_interrupt: status 000000c0 02a40 to driver bt_buf_release: Buffer freed: 20002a10 bt_buf_provide: buf 20002a40 len 1 hciuart_write: config 801d924 buffer 200026b0 buflen 6 hciuart_disableints: CR1 0000202c CR2 00000301 hciuart_copytotxfifo: txhead 70 txtail 75 nbytes 1 hciuart_enableints: CR1 000020ac CR2 00000301 btuart_read: buflen 1 minread 0 hciuart_read: config 801d924 buffer 20005f2b buflen 1 hciuart_copytorxbuffer: rxhead 30 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 31 rxtail 37 nbytes 1 hciuart_copytorxbuffer: rxhead 31 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 1 remaining 0 btuart_read: buflen 2 minread 2 hciuart_read: config 801d924 buffer 20005f2c buflen 2 hciuart_copytorxbuffer: rxhead 31 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 33 rxtail 37 nbytes 2 hciuart_copytorxbuffer: rxhead 33 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 2 remaining 0 bt_buf_alloc: buf 20002a10 type 1 reserve 0 bt_buf_extend: buf 20002a10 len 2 btuart_evt_recv: hdrlen 4 btuart_rxwork: Need to get 4 bytes btuart_read: buflen 4 minread 0 hciuart_read: config 801d924 buffer 20002762 buflen 4 hciuart_copytorxbuffer: rxhead 33 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_copyfromrxbuffer: rxhead 37 rxtail 37 nbytes 4 hciuart_copytorxbuffer: rxhead 37 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 btuart_read: read 4 remaining 0 btuart_rxwork: Received 4 bytes btuart_rxwork: Full packet received hciuart_rxdrain: config 8013f7d hciuart_copytorxbuffer: rxhead 37 rxtail 37 nbytes 0 hciuart_rxenable: config 801d924 enable 0 (non-DMA) hciuart_disableints: CR1 0000200c CR2 00000300 hciuart_rxenable: config 801d924 enable 1 (non-DMA) hciuart_enableints: CR1 0000202c CR2 00000301 bt_hci_receive: buf 20002a10 len 6 hci_rx_work: list 20002a5c hci_rx_work: buf 20002a10 type 1 len 6 hci_event: event 14 bt_buf_consume: buf 20002a10 len 2 hci_cmd_complete: opcode 200c bt_buf_consume: buf 20002a10 len 3 hci_cmd_complete: Unhandled opcode 200c hci_cmd_done: WARNING: status 12 bt_buf_release: buf 20002a10 ref 1 type 1 bt_hci_cmd_send_sync: ERROR: Failed get return parameters bt_buf_release: Buffer freed: 20002a10 bt_buf_release: buf 20002a40 ref 1 type 0 bt_buf_release: Buffer freed: 20002a40 bt_hci_start_scanning: ERROR: bt_hci_cmd_send_sync failed: -5 btnet_ioctl: Start scan: -5 ERROR: ioctl(SIOCBTSCANSTART) failed: 5 nsh>