After update to SDK 2.4.0 I'm seeing this error:
[00:01:37.116,943] <inf> ble_nus: Central Disconnected: 70:23:B7:FE:65:27 (random) (reason 8)
00> [00:01:37.117,309] <wrn> bt_hci_core: opcode 0x2005 status 0x0c
00> [00:01:37.117,340] <err> bt_adv: Controller cannot resume connectable advertising (-5)
After the error advertising does not resume any more and I have to reset the device. I didn't see this problem using the sdk 2.1.1 for the same code.
I am utilizing both the central and peripheral roles in my project. The issue arises when the central device (my phone) disconnects from the board (which is acting as the peripheral role) due to being out of range. However, I haven't encountered the same problem when manually connecting and disconnecting the devices (reason 9). Here is the configuration for my project:
Could you help me to understand what is happening?