<?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 temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42420/get-temperature-and-heartbeat-data-after-mesh-provisioning</link><description>Hi dear Nordic engineers and enthusiasts, 
 I am currently testing and researching on the functionalities of Nordic Thingy 52 in Bluetooth Mesh . I have tested with the provided mesh provisioning demo: 
 https://github.com/NordicPlayground/thingy52-mesh</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jan 2019 12:07:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42420/get-temperature-and-heartbeat-data-after-mesh-provisioning" /><item><title>RE: Get temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/thread/165949?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 12:07:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a516880-2513-4662-a005-109ad5c8ab16</guid><dc:creator>The Boon</dc:creator><description>&lt;p&gt;You have my thanks Hung Bui.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/thread/165948?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 12:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac891ba3-d93b-4406-9c61-24806bd215c4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Correct, it&amp;#39;s a blocking function. It will return after the temperature is measured and put into p_temp.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/thread/165813?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 16:36:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abace411-91cc-4b04-96e8-dea749682cb7</guid><dc:creator>The Boon</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Ahh, so the SD_TEMP_GET is the Supervisor Call (SVC) numbers used, it will execute the temperature measurement on SoC. Meanwhile p_temp is the result I need from the temperature measurement. Am I right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/thread/165796?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 15:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c07907f-5cd7-42c1-9972-58424c7c8ef6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Boon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure why SES couldn&amp;#39;t find it. But if you have a look at the nrf_soc.h file, you can find the&amp;nbsp;SD_TEMP_GET API call defined.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/thread/165444?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 12:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ae3994-31eb-439f-b417-d55e0589c8cc</guid><dc:creator>The Boon</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;By &amp;#39;temperature data&amp;#39; I refer to the data that are collected by the internal sensor of thingy in a Bluetooth mesh network. (Actually my concern is how to retrieve and manage data sent in a mesh network, it could be humidity data as well). Is sd_temp_get() a method in the &lt;em&gt;actual thingy firmware project&lt;/em&gt;? I couldn&amp;#39;t find the method neither in &lt;em&gt;thingy52 mesh provisioning demo project &lt;/em&gt;nor in &lt;em&gt;ble_app_thingy_s132_pca20020.uvprojx&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Thank you! I&amp;#39;ve got it now. What is needed to be done are programming the subscription of the gateway to the health client and followed by sending of health message from health client to all the subscribers. Okay I will implement it this way.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/thread/165425?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 12:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d436224-bfa1-447f-8b78-8fc9545b748a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. What do you meant by &amp;quot;temperature data&amp;quot; ? Are you planning to have an external temperature sensor ? Or you want to collect the temperature data from the internal sensor ? If you plan to collect the temperature internally on the chip, you need to call&amp;nbsp;sd_temp_get()&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. You can configure the health client to send the health message to the gateway and it will be forwarded by other nodes to the gateway. But the gateway need to subscribe to that health client. And other nodes wouldn&amp;#39;t read that message, they will only forward.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/thread/165402?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 10:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcff7096-3212-4212-951f-5a1e037e49da</guid><dc:creator>The Boon</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Thank you for your kind reply and insights. I have some following questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If &lt;em&gt;GPIOTE_IRQHandler&lt;/em&gt; is responsible for handling the event generated by a button press, then which will it be for access to the temperature data? Do I have to generate &lt;em&gt;UUID&lt;/em&gt;, or write on&lt;em&gt; CCCD (Client Characteristic Configuration Descriptor)&lt;/em&gt;, for forwarding the temperature sensor data?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Thanks for the correction. You are right, Heartbeat msg are for telling whether the node is still active and how far the recipient is from it. As you mentioned about health message, the &lt;em&gt;health_server.c&lt;/em&gt; sends the attention about the faults of the node. What is of my concern is that whether is it possible that the node will forward its status of e.g. low battery, let&amp;#39;s say less than 5% of battery, using the nodes in the mesh as hopping points to pass the data to the gateway. In the end, the low-battery-node (faulty node) could then be located and replaced before its operation stop.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I appreciate your time Hung Bui. I hope to hear from you again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get temperature and heartbeat data after mesh provisioning</title><link>https://devzone.nordicsemi.com/thread/165172?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 13:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38cb6e4f-5b8d-4e6e-802c-5797037578e0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the provisioning demo, if you configure the publication address of the light bulb (the server), it will send a message to the publication address when the state is changed. You can make your own model to do similar thing to report the temperature.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think you can add the battery status to the heartbeat. It meant to have only the initial TTL to know how far a node is to the other.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can think of using health message instead. But it also has a limitation that the client has to subscribe to the server. Group address is not possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In your case I would think of making your own proprietary model to broadcast data about the battery.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that the demo was based on an old SDK: v2.2. The current SDK is v3.1 . I would suggest to start your development on a new SDK.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>