Hi Support Team,
I'm using BLE in 'Split Controller and Host' mode on nRF5340 DK. I ported the sample 'peripheral_uart' for appCore and 'hci_rpmsg' for netCore, and the bidirectional communication between the appCore's terminal and 'nRF Connect for Mobile' APP is successful.
I met twice ASSERTION FAIL on BLE host side:
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:338 command opcode 0x200a timeout with err -11 [00:03:32.090,637] <err> os: r0/a1: 0x00000003 r1/a2: 0x00041fa4 r2/a3: 0x00000000 [00:03:32.090,667] <err> os: r3/a4: 0x000227f5 r12/ip: 0x20001b48 r14/lr: 0x0001163d [00:03:32.090,698] <err> os: xpsr: 0x61000000 [00:03:32.090,698] <err> os: Faulting instruction address (r15/pc): 0x00011648 [00:03:32.090,728] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 [00:03:32.090,759] <err> os: Current thread: 0x20005938 (sysworkq) [00:03:32.265,838] <err> fatal_error: Resetting system
I checked the code, seems the opcode 0x200a is ' #define BT_HCI_OP_REJECT_CONN_REQ BT_OP(BT_OGF_LINK_CTRL, 0x000a)'.
It happened when I disconnect the BLE connection on the app 'nRF Connect for Mobile'.
Could you give some guidance on why this happened and how to fix it? Thank you very much.
Best regards,
Yanpeng Wu