Multirole Ble is not working properly

Hi,

Iam trying to implement multirole ble in nrf5340 using ncs. I am using legacy  advertizing type for advertize and observing both.

why it is working only first time and then it start misbehaving. mybe i am lacking in some config. 

this is my prj,

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SCAN=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_LOG=y
CONFIG_BT_DEVICE_NAME="Connect"
CONFIG_BT_FILTER_ACCEPT_LIST=y
CONFIG_BT_OBSERVER=y
CONFIG_LOG_MODE_MINIMAL=y
CONFIG_BT_OBSERVER=y
CONFIG_BT_EXT_SCAN_BUF_SIZE=1650

CONFIG_MAIN_STACK_SIZE=4096
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_BT_LL_SOFTDEVICE=y
Related