This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

db_disc_handler Repeated invalidly and System Reset at NUS Service Discovery in Multi-Link Central with NUS-c

Hardware: nRF 52840 DK (PCA1005)

Software: nRF5_SDK_15.0.0_a53641a, s140_nrf52_6.1.0

Development Software: Keil v5.23 in Win7

Project file: ble_app_multilink_central_and_uart_c_nrf52840dk_20180907.rar

----------------------------------------------------------------------------------------------------------

Dear Nordic Support Team:

I want to make a multi-link network, and the central has NUS-c function. Base the sample program "ble_app_multilink_central" and "ble_app_uart_c", I integrate them and get the attached file. 
In the file sdk_config.h, If I set "#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 1,#ifndef NRF_SDH_BLE_TOTAL_LINK_COUNT 1", the system works right like the following figure.
If I set "#define NRF_SDH_BLE_CENTRAL_LINK_COUNT 2,#ifndef NRF_SDH_BLE_TOTAL_LINK_COUNT 2", or more than 1, the system resets repeatedly.
I find that the function db_disc_handler() was called repeatedly and invalidly,the current NUS service discovery can not be completed, and can not connect to peripherals.

For the trouble, hope to help me to solve it, thanks!

Related