雷竞技电竞平台对话半导体客户支持-睡眠唤醒CFG_MAX_SLEEP_DURATION_EXTERNAL_WAKEUP_MS MS_TO_SLOTS_CONVERT https://support.dialog-semiconductor.com/resource-keywords/sleep-wake-cfgmaxsleepdurationexternalwakeupms-mstoslotsconvert 定时唤醒时间不能超过10分钟 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/periodic-wake-cant-be-set-more-10 < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >我想设置周期性23小时醒来,因为这篇文章https://support.dialog-semiconductor.com/cfgmaxsleepdurationexternalwake…。确切的最大值是什么,我如何计算它?

但是,当我通过将CFG_MAX_SLEEP_DURATION_EXTERNAL_WAKEUP_MS设置为(1000*60*60*23)将唤醒设置为23小时时,它开始每4分钟醒来一次。我试着将它设置为(1000*60*10),它每10分钟醒来一次。较低的值也按照预期工作。当我将它设置为(1000*60*30)时,它开始每8分钟醒来一次。

I read in this post https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-blhref="//www.wsdof.com/support/forums/post/dialog-smartbond-da1458x-bt42-%E2%80%93-software/what-purpose-archbleextwakeupon">https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-da…说明MS_TO_SLOTS_CONVERT函数有bug。 I tried the suggested fix with converting to 'long long' but it still doesn't work. Perhaps there is some other integer overflow error somewhere?

Device: 
星期一,2017年12月18日13:16:24 +0000 这次访问 127237年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/periodic-wake-cant-be-set-more-10#comments