CFG_MAX_SLEEP_DURATION_EXTERNAL_WAKEUP_MS

2 posts / 0 new
Last post
Andrea Longobardi
Offline
Last seen:4 years 10 months ago
加入:2015-03-09 17:04
CFG_MAX_SLEEP_DURATION_EXTERNAL_WAKEUP_MS

Hello,

I'm using the DA14580 standalone (as target, no external processor). Therefore I think I don't need to check the GTL interface at all in my code.
Although SDK 5 has this definition which I don't quite understand:

/****************************************************************************************************************/
/* Periodic wakeup period if GTL iface is not enabled. Time in BLE slots. */
/****************************************************************************************************************/
#define CFG_MAX_SLEEP_DURATION_EXTERNAL_WAKEUP_MS

and I have seen that the core wakes up periodically accordingly with this time definition.

How can I disable that?
I have seen that setting to 0 seems to do the job, is it the right way?

Thanks,

Andrea

Keywords:
Device:
MT_dialog
Offline
Last seen:8 hours 37 min ago
工作人员
加入:2015-06-08 34
Hi Andrea,

Hi Andrea,

This definition is active in case you are not using an external proccessor, we dont advise to remove this or to set it zero, you can try and place it in the maximum value which is nearly a day (about 23.3 hours) in seconds or you since you want to put the 580 in sleep you can invoke the app_ble_ext_wakeup_on() which will suppress this phenomenon.

Thanks MT_dialog