<?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>Format of data sent from central in Current Time Service.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62542/format-of-data-sent-from-central-in-current-time-service</link><description>Hi, 
 It is understood that,If to the function on_cts_c_evt BLE_CTS_C_EVT_CURRENT_TIME event is passed as arguement then it gives a call to the function current_time_print(p_evt);And All the arguments within passed structure are passed to the corresponding</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Mar 2021 20:35:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62542/format-of-data-sent-from-central-in-current-time-service" /><item><title>RE: Format of data sent from central in Current Time Service.</title><link>https://devzone.nordicsemi.com/thread/298848?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 20:35:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea918590-dd6e-4b85-a764-080b16bdeb71</guid><dc:creator>paul</dc:creator><description>&lt;p&gt;Glad to know I&amp;#39;m not the only one. Thanks for the reply. I&amp;#39;ll continue to use the example as you suggest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Format of data sent from central in Current Time Service.</title><link>https://devzone.nordicsemi.com/thread/298846?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 20:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6478c0a7-629d-4bdf-b63c-11229d91db93</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am afraid I did not figure out where to find those definitions, but you could always use our &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.2%2Fble_sdk_app_cts_c.html"&gt;Current Time Application example&lt;/a&gt; as reference, regarding what are the fields and how it is encoded.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Format of data sent from central in Current Time Service.</title><link>https://devzone.nordicsemi.com/thread/297301?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 17:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c214a90b-7047-4ab0-a996-ebaa869a215b</guid><dc:creator>paul</dc:creator><description>&lt;p&gt;Hi Terje,&lt;/p&gt;
&lt;p&gt;Apologies for reviving this thread, but I have the same question about the Current Time Service, and the format of the characteristic data.&lt;/p&gt;
&lt;p&gt;Going to the link you mentioned, one finds a document called CTS_SPEC_V1.1.0. This document does not define&amp;nbsp;the actual content of the characteristics. Do you know where the characteristic bytes are actually defined now?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Format of data sent from central in Current Time Service.</title><link>https://devzone.nordicsemi.com/thread/255478?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 10:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:001beae4-59d4-4a80-87b1-9d5cc73827b2</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The values are printed to log using the function current_time_print() in main.c. The values are provided from the Current Time Service client event, and the parsing itself is implemented in ble_cts.c.c.&lt;/p&gt;
&lt;p&gt;You can store the values in the application as you wish, yes. For instance store them to variables instead of printing them to log.&lt;/p&gt;
&lt;p&gt;Data formats are specified from the Bluetooth SIG, see e.g. the Current Time Service specification which you can obtain from &lt;a href="https://www.bluetooth.com/specifications/gatt/"&gt;https://www.bluetooth.com/specifications/gatt/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>