ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:374 k_sem_take failed with err -11

I use NRF52832 as a Bluetooth gateway to receive commands and initiate connections to devices. Each instruction received will be interrupted through the IO pin, and the MAC data of the connected device will be transmitted to nrf52832 through SPI. After receiving multiple commands, Bluetooth will display err=k_sem_take (&sync_dem, HCI-CMD_TIMEOUT);

BT_ASSERT_MSG(err == 0, "k_sem_take failed with err %d", err);

err = k_sem_take(&sync_sem, HCI_CMD_TIMEOUT);
BT_ASSERT_MSG(err == 0, "k_sem_take failed with err %d", err);

What does this error mean?
How to solve it?

Parents Reply Children
No Data
Related