<?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>Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94308/get-data-sent-time-in-mesh-model</link><description>Hello 
 I want the example code how to implement the time model i.e get the time, when the particular data is sent from server and received in client side along with the data(eg: temperature data : 23.5, temperature published at time : 15:30) 
 Hope i</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Dec 2022 09:33:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94308/get-data-sent-time-in-mesh-model" /><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/398480?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 09:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:903f7e33-614a-4f06-b0fc-21d941280fec</guid><dc:creator>SaSu</dc:creator><description>&lt;p&gt;Thank you for the support:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/398450?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 07:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f5edf19-6951-4cff-b69a-73a3062db36b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please refer to the time_srv.h/.c files in&amp;nbsp;...&lt;strong&gt;\&amp;lt;NCS FOLDER&amp;gt;\v2.1.0\nrf\include\bluetooth\mesh\time_srv.h&lt;/strong&gt; &lt;strong&gt;&lt;/strong&gt;and ...&lt;strong&gt;\&amp;lt;NCS FOLDER&amp;gt;\v2.1.0\nrf\subsys\bluetooth\mesh\time_srv.c&amp;nbsp;&lt;/strong&gt;Here you have the functions (more descriptions are available in the time_srv.h file:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;BT_MESH_TIME_SRV_INIT() that lets you set the initial parameters.&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;bt_mesh_time_srv_time_status_send() that publishes unsolicited time status messages.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;bt_mesh_time_srv_mktime() and _localtime()&amp;nbsp; to get the device local time at a given uptime&amp;nbsp;or local time&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;bt_mesh_time_srv_time_set() to set the TAI status parameters&lt;/li&gt;
&lt;li&gt;bt_mesh_time_srv_role_set() to set role parameters for the server&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/398282?ContentTypeID=1</link><pubDate>Wed, 30 Nov 2022 10:14:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:191bbb81-38c8-40f8-858d-f1c0dab9f064</guid><dc:creator>SaSu</dc:creator><description>&lt;p&gt;Hello &lt;/p&gt;
&lt;p&gt;okay no problem. Atleast tell me what is the exact functions i can use in timer server and time client documentation and how? because i am very confused with those functions i could not decide what to use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/398281?ContentTypeID=1</link><pubDate>Wed, 30 Nov 2022 10:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:261e7fb9-18e0-449d-aa88-4b6a8e0dc3ac</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am very sorry, but we will not be able to provide sample projects outside of what we already have available in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/samples_bl.html"&gt;nRF Connect SDK&lt;/a&gt;. But it should not be too much work for you to implement the time server and model to the existing sample projects. Please read through the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/bluetooth_services/mesh/time_srv.html"&gt;Time Server&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/bluetooth_services/mesh/time_cli.html"&gt;Time Client &lt;/a&gt;documentation, which should explain how to use and set up the time model correctly in a Mesh network. Let me know if you have any specific questions.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/398189?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 18:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e10276fa-725c-4a37-a841-b2b682230265</guid><dc:creator>SaSu</dc:creator><description>&lt;p&gt;That&amp;#39;s so sweet of you . Thank You So Much:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/398188?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 18:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05ebfa8a-237d-40df-8e3b-684aa5d2fab9</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Please be inform that due to some health problems I am out of office today and likely the rest of the week. As you have expressed request for urgent support, I will request someone from my team to follow up with you instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/398152?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 14:32:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:604e9fcc-01af-45e5-844e-b44103d499c8</guid><dc:creator>SaSu</dc:creator><description>&lt;ul&gt;
&lt;li&gt;My plan is to sync real time information via laptop or pc but i have no idea how it is possible also need help regarding this.&lt;/li&gt;
&lt;li&gt;To use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/bluetooth_services/mesh/time.html"&gt;Time Model&lt;/a&gt; also which function exactly is possible with?&lt;/li&gt;
&lt;li&gt;When i sync the realtime from external source(i.e., laptop) to the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/bluetooth_services/mesh/time_srv.html"&gt;Time Server&lt;/a&gt; which function exactly i need to use?&lt;/li&gt;
&lt;li&gt;And can you clearly explain the example consideration?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/397939?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 15:41:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f4218b6-b0e8-4842-86ac-5cf5ebc6f39b</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Unfortunately, it seems there are no existing sample code for time sync with Bluetooth Mesh.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Devices running Bluetooth Mesh and BLE cannot just get&amp;nbsp;the true real time. How do you intend to sync real time information to your devices?&lt;/p&gt;
&lt;p&gt;Using the Time Model is appropriate. It solves syncing time for almost all nodes. However, you still need to sync real time for the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/bluetooth_services/mesh/time_srv.html"&gt;Time Server&lt;/a&gt;&amp;nbsp;with an external source. What would this external source be?&lt;/p&gt;
&lt;p&gt;Depends on that, it &lt;em&gt;&lt;strong&gt;might&lt;/strong&gt;&lt;/em&gt; be faster for you to just sync time manually for all nodes instead of using the Time Models.&lt;/p&gt;
&lt;p&gt;An example consideration is: If your nodes often reset (so lose the time sync), then you probably don&amp;#39;t want to have to manually sync time every reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/397903?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 14:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de2deeeb-8703-433e-b05d-4c83006cd6dc</guid><dc:creator>SaSu</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I am following the nordic documentation, and i am talking about &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/bluetooth_services/mesh/time.html"&gt;Time models&lt;/a&gt; this(FYI: I dont know whether we have that feature in this documentation). And I did not verify in bluetooth official page.&lt;/li&gt;
&lt;li&gt;My goal is : we already have &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/mesh/sensor_server/README.html"&gt;Bluetooth: Mesh Sensor&lt;/a&gt; acts as mesh server and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/mesh/sensor_client/README.html#bluetooth-mesh-sensor-client"&gt;Bluetooth: Mesh sensor observer&lt;/a&gt; acts as mesh client right? for that code i need to integrate some time function(FYI: No idea which function or code it is thats my question here) for date and time.&lt;/li&gt;
&lt;li&gt;For example in this mesh setup we get &amp;quot;Chip temperature&amp;quot; value in client sent from server where we can see on the console screen may be on PuTTY or RTT Console. Along with that value i need at what time and when did the value was taken from the sensor(eg:Chip temperature : 23.5, temperature taken at time : 15:30, date of&amp;nbsp;temperature taken : 28-11-2022) something like that.&lt;/li&gt;
&lt;li&gt;FYI I am using thingy-53 with nRF5340_DK for Sensor_Server and nRF 52840_DK for Sensor_Client&lt;/li&gt;
&lt;li&gt;Any example code or what functions is needed to get the data like above? Need Assistance.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get data sent time in mesh model</title><link>https://devzone.nordicsemi.com/thread/397879?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 13:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81a0ec2f-66be-4f67-8f41-838366695574</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi SaSu,&lt;/p&gt;
&lt;p&gt;There seems to be some mixed-up terminologies here, so&amp;nbsp;please answer some questions to clarify your setup and requirement first.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When you say Time Model, do you mean to setup a Time Model as described in section&amp;nbsp;&lt;em&gt;5 Time and Scenes&lt;/em&gt;&amp;nbsp;of this document?&lt;br /&gt;&lt;a href="https://www.bluetooth.com/specifications/specs/mesh-model-1-0-1/"&gt;Mesh Model – Bluetooth&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt; Technology Website&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;If you are talking about Bluetooth Mesh, how is your data being sent?&amp;nbsp;Do you have your own Vendor Model or&amp;nbsp;are you using a standard Sensor Model?&lt;br /&gt;If you are using your own Vendor Model, you can update your message however you like.&lt;br /&gt;If you are using a&amp;nbsp;specified Model, the message has to follow the specification, and adding a timestamp should not be done. For this, if you describe your&amp;nbsp;setup and requirement motivation better maybe&amp;nbsp;we can find a workaround.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>