<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Wireless MCUのトピックRe: Get sleep time</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Get-sleep-time/m-p/1015906#M8637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linklai, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL type="1"&gt;&lt;LI&gt;There's no defined way to calculate the amount of time a device was asleep for, as the existent functions work with the wake timer, which will periodically wake the device up as specified.&lt;/LI&gt;&lt;LI&gt;The u64AHI_WakeTimerReadLarge function returns the value for the wake timer. The value returned from this function specifies the time remaining until the next time the device is scheduled to wake up.&lt;/LI&gt;&lt;LI&gt;For calculating the sleep time of the device, a custom implementation of some timers would need to be made, as there's no established way to measure the time the device was asleep for.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please take a look at this document &lt;A href="https://www.nxp.com/docs/en/user-guide/JN-UG-3087.pdf"&gt;here&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2020 19:46:41 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2020-03-17T19:46:41Z</dc:date>
    <item>
      <title>Get sleep time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Get-sleep-time/m-p/1015905#M8636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JN-AN-1219-Zigbee-3-0-Controller-and-Switch&lt;/P&gt;&lt;P&gt;SDK:JN-SW-4170-v1840&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1、For sleeping devices, if the device terminal wakes up interrupted, how do I get the actual sleeping time of the terminal device instead?&lt;/P&gt;&lt;P&gt;2、I tried using u64AHI_WakeTimerReadLarge (), but it returned 0.And u32AHI_WakeTimerReadLarge () can return data.&lt;/P&gt;&lt;P&gt;3、What can I do to calculate the actual sleep time of the device?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2020 11:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Get-sleep-time/m-p/1015905#M8636</guid>
      <dc:creator>LChll</dc:creator>
      <dc:date>2020-03-11T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get sleep time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Get-sleep-time/m-p/1015906#M8637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linklai, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL type="1"&gt;&lt;LI&gt;There's no defined way to calculate the amount of time a device was asleep for, as the existent functions work with the wake timer, which will periodically wake the device up as specified.&lt;/LI&gt;&lt;LI&gt;The u64AHI_WakeTimerReadLarge function returns the value for the wake timer. The value returned from this function specifies the time remaining until the next time the device is scheduled to wake up.&lt;/LI&gt;&lt;LI&gt;For calculating the sleep time of the device, a custom implementation of some timers would need to be made, as there's no established way to measure the time the device was asleep for.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please take a look at this document &lt;A href="https://www.nxp.com/docs/en/user-guide/JN-UG-3087.pdf"&gt;here&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 19:46:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Get-sleep-time/m-p/1015906#M8637</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-03-17T19:46:41Z</dc:date>
    </item>
  </channel>
</rss>

