<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Timer discontinuity in Mesh SDK</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/86949/timer-discontinuity-in-mesh-sdk</link><description>The Mesh SDK timer_now() function is discontinuous once the overflow counter reaches 256 (and all subsequent times where m_ovfw_counter % 256 == 0). Since the local variable is a 32-bit int, shifting by 24 results in a value of 0: https://github.com/NordicSemiconductor</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 30 May 2022 08:16:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/86949/timer-discontinuity-in-mesh-sdk" /><item><title>RE: Timer discontinuity in Mesh SDK</title><link>https://test-devzone.nordicsemi.com/thread/369898?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 08:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e554833-1237-414b-8897-65359bdc3334</guid><dc:creator>user15475</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you try applying this patch and see if it fixes your issue?&lt;/p&gt;
&lt;p&gt;The patch is for nRF5 SDK for Mesh 5.0.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/timer_5F00_scheduler.patch"&gt;test-devzone.nordicsemi.com/.../timer_5F00_scheduler.patch&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer discontinuity in Mesh SDK</title><link>https://test-devzone.nordicsemi.com/thread/364305?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 15:46:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7e20b1c-cdac-42e4-8650-42e9a877ea3d</guid><dc:creator>user15475</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can fix this&amp;nbsp;by changing the type of `&lt;/span&gt;&lt;tt&gt;ovfw_counter`from `uint32_t`&lt;/tt&gt;&lt;span&gt;&amp;nbsp;to `&lt;/span&gt;&lt;tt&gt;uint64_t`&lt;/tt&gt;&lt;span&gt;&amp;nbsp;in `timer_now` function.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer discontinuity in Mesh SDK</title><link>https://test-devzone.nordicsemi.com/thread/364042?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 22:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:838cb0a1-55ff-4c48-9cd5-541294fd4d69</guid><dc:creator>user93769</dc:creator><description>&lt;p&gt;This was observed originally with v4.1, but the relevant code in 5.0 looks identical so I would guess it&amp;#39;s also affected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer discontinuity in Mesh SDK</title><link>https://test-devzone.nordicsemi.com/thread/363858?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 10:35:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc12daeb-c467-46f8-a994-0ecd33737c6d</guid><dc:creator>user15475</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your feedback, I will report this internally.&lt;/p&gt;
&lt;p&gt;What version of the SDK are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>