Hello support team.
I would like to set DA 14680 to Extended Sleep mode except Active mode.
我应该调用哪个API ?
Could you provide a sample project, or could you tell me where to reference the existing SDK samples?
I tried to execute "pm_set_sleep_mode (pm_mode_extended_sleep)" before starting the task scheduler,
advertise stopped and could not be set to sleep state.
Regards,
Jun-ichi
Device:
Hi Jun-ichi Tobe,
I think you already found what you need. To set the sleep mode for DA14681 you change the input param in functionpm_set_sleep_mode(sleep_mode_t mode)within pm_system_init in main.c
You can refer to projectextened_sleepin the SDK to see how it works