Based on 'ble_app_template' in nRF5_SDK_12.2.0 (S132), I develop a program with nRF52832.
The problem is that the program will restart after reaching APP_ADV_TIMEOUT_IN_SECONDS (instead of going to sleep). All the other fuctions work well.
Resources…