Program still run main loop after set extended sleep mode
Hello Dialog PM,
I am developping a project based on SDK5.0.3 and ble_app_profile project. After program excuted following function, chip should halt and only an external interrupt can wake up system.
int user_app_adv_timer_handler(ke_msg_id_t const msgid,
void const *param,
ke_task_id_t const dest_id,
ke_task_id_t const src_id)
{
app_easy_gap_advertise_stop();
ke_timer_clear(APP_ADV_TIMER, TASK_APP);