This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2340R5: Central connect

Part Number: CC2340R5

SDK version : 7.40.00.64

CCS version : 12.7.0

I am currently developing CC2340 as Central. When I enter the BLEAPPUTIL_ADV_REPORT event in Central_ScanEventHandler() in app_central.c, I want to connect to the device.

CC2340 enters the BLEAPPUTIL_LINK_ESTABLISHED_EVENT event of Connection_ConnEventHandler() after calling BLEAppUtil_connect(), but CC2340 enters BLEAPPUTIL_LINK_TERMINATED_EVENT soon after. How to ensure that the connection can be continued and will not be automatically interrupted? Or the connection will only be disconnected when I want the CC2340 to disconnect