< 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?