<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://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>current time service and calendar in nrf connect sdk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98750/current-time-service-and-calendar-in-nrf-connect-sdk</link><description>Hey there, Dev team! 
 I was wondering if you could help me out with using the &amp;quot;peripheral_cts_client&amp;quot; sample (struct bt_cts_current_time *current_time) to synchronize a timestamp of date and time (in the format like dd.mm.yyyy hh:mm:ss) on the peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jan 2025 09:04:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98750/current-time-service-and-calendar-in-nrf-connect-sdk" /><item><title>RE: current time service and calendar in nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/516925?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 09:04:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97a90a7f-a37c-4c15-a0b4-07a3c27ccdff</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The orginal post here refered to the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/86320e0f45cc576fb25a590638d6bffb44fc2ae3/samples/bluetooth/peripheral_cts_client"&gt;peripheral_cts_client sample&lt;/a&gt;. If you have other questions, please &lt;a href="https://devzone.nordicsemi.com/support/add"&gt;make a new question&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current time service and calendar in nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/516735?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 06:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f56efd-bec2-42c2-a79b-f84d215c998d</guid><dc:creator>lara</dc:creator><description>&lt;p&gt;can you share the api u used or sample code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current time service and calendar in nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/421407?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2023 08:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cf29653-b2e9-4b85-854c-3513bc6747c4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The accuracy is given by your low frequency clock source. If you use the internal RC oscillator that will be 500 ppm when calibrated regularly (which is the default configuration). The reason for this not begin 250 is &lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev3/ERR/nRF52832/Rev3/latest/anomaly_832_146.html"&gt;erratum 146&lt;/a&gt;. If you have an external 32.768 kHz on your board and use that, the accuracy of the&amp;nbsp;crystal will dictate the accuracy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current time service and calendar in nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/421318?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 18:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ce3cba6-1fda-4746-9503-7ab6c0ce71ce</guid><dc:creator>aurna</dc:creator><description>&lt;div style="background-color:#10a37f;"&gt;&lt;/div&gt;
&lt;div class="text-xs flex items-center justify-center gap-1 invisible absolute left-0 top-2 -ml-4 -translate-x-full group-hover:visible !invisible"&gt;&lt;/div&gt;
&lt;div class="flex flex-grow flex-col gap-3"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;p&gt;Hey Einar!&lt;br /&gt;&lt;br /&gt; I just wanted to say thanks for your help in clarifying things for me. With your guidance, I was able to successfully add the date and time feature to my application!&lt;br /&gt;&lt;br /&gt; However, I do have a question about the accuracy of the rtCounter when it comes to maintaining time on the board. Do you happen to know if the oscillator is 250 ppm? And if so, do you have any suggestions on how to improve the accuracy? Thanks so much!&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current time service and calendar in nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/420810?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 14:02:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e471baaf-a51f-48fe-8df4-b5ab3dc45630</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The CTS sample demonstartes how to get the current data and time via Bluetooth. Internally, Zephyr has a 64 bit timer to keep track of the uptime, and that can be combined. If you store the system time when you get the current data and time via CTS, you can subsequently compensate for that to know the current data and time at any point after that. See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/zephyr/kernel/timeutil.html"&gt;Time Utilities&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>