<?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>how many device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32953/how-many-device</link><description>Hi I just have a simple question and that&amp;#39;s where the code keeps Bluetooth mesh control how many devices it has in its stack that it has provides keys to. for every time I restart an device, it&amp;#39;s still in the mesh network, but the counter I&amp;#39;ve made thinks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Apr 2018 16:16:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32953/how-many-device" /><item><title>RE: how many device</title><link>https://devzone.nordicsemi.com/thread/128290?ContentTypeID=1</link><pubDate>Fri, 13 Apr 2018 16:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acec3625-fd16-4542-8cf1-b460596ef815</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;No problem, I know.&lt;/p&gt;
&lt;p&gt;It was not for you, but for other people reading this thread in the future. (=&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how many device</title><link>https://devzone.nordicsemi.com/thread/128091?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 13:55:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76c90c8c-33e3-45df-898a-e13808c2d6b4</guid><dc:creator>pca10056</dc:creator><description>&lt;p&gt;no it also me that &lt;span class="short_text" id="result_box" lang="en"&gt;&lt;span class=""&gt;asked that question. just too be sure that someone &lt;span class="" id="result_box" lang="en"&gt;could answer&lt;/span&gt;, but stille thanks&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how many device</title><link>https://devzone.nordicsemi.com/thread/127677?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 16:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c64dee1c-7910-4de6-a006-f7ee2d8958ee</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For anyone still looking for the answer. You will find it in this thread: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/33196/change-time-on-how-often-health-server-send-out"&gt;change time on how often health server send out&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><item><title>RE: how many device</title><link>https://devzone.nordicsemi.com/thread/127335?ContentTypeID=1</link><pubDate>Mon, 09 Apr 2018 06:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c918c7b0-1093-414a-b078-6b6141f13a14</guid><dc:creator>pca10056</dc:creator><description>&lt;p&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;hello &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;do you know where you can change how often the health server model should send out &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;and if yes, where do I do it&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how many device</title><link>https://devzone.nordicsemi.com/thread/126982?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 08:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3ea70a4-32c4-480c-b9f5-1963ef405d41</guid><dc:creator>pca10056</dc:creator><description>&lt;div class="g-unit" id="gt-res-c"&gt;
&lt;div id="gt-res-p"&gt;
&lt;div id="gt-res-data"&gt;
&lt;div id="gt-res-wrap"&gt;
&lt;div id="gt-res-content"&gt;
&lt;div class="trans-verified-button-small" id="gt-res-dir-ctr" dir="ltr"&gt;&lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;thanks again, just as just one last thing that&amp;#39;s how do I make a counter / a timestamp so i now when i last a health status message&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how many device</title><link>https://devzone.nordicsemi.com/thread/126970?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 07:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07d4c562-cdd7-43c6-aa31-fab8db385d9a</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;If you look at the latest v1.0.1 version of the mesh lightswitch demo, you will see that Nordic have implemented the Health client/server model. So every 10 seconds (although this is configurable) the provisioned/configured servers will publish a health status message back to the client.&lt;/p&gt;
&lt;p&gt;If the client fails to get a health status in any timeframe from a specific server node then you could determine that the server node is not ready or functional and base your firmware logic off that.&lt;/p&gt;
&lt;p&gt;Let us know if you need any additional clarification.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how many device</title><link>https://devzone.nordicsemi.com/thread/126964?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 06:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b726fdc-e2f0-4c30-a3b3-7bf2ad885bf2</guid><dc:creator>pca10056</dc:creator><description>&lt;p&gt;thanks, &lt;span class="" id="result_box" lang="en"&gt;&lt;span class=""&gt;do not know if you can help with this too, but is there a way&amp;nbsp; the client can detect&amp;nbsp; that the node is turned off for a while, so the client not write to node, before the node is ready &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how many device</title><link>https://devzone.nordicsemi.com/thread/126951?ContentTypeID=1</link><pubDate>Thu, 05 Apr 2018 04:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7968ae1e-ddb3-4525-9fcc-e87ef4e6e3b3</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;hello&amp;nbsp;pca10056,&lt;/p&gt;
&lt;p&gt;Within Bluetooth Mesh, only the Provisioner device is aware of which devices have been configured into the mesh network and as such it is the sole arbiter of the make up of any single mesh network. It is also (&lt;em&gt;via whatever persistent storage mechanism you choose&lt;/em&gt;) the only device within the mesh network that knows the mesh unicast addresses of all the nodes (along with other vital pieces of information).&lt;/p&gt;
&lt;p&gt;The current (v1.0) Mesh specification does not specify the format in which this mesh network meta-data is held or how an implementer should either backup that data or provide resilience/failover. I believe that there are moves afoot to establish a JSON type format for provisioning data which can be stored/accessed/restored etc.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Within the Nordic stack, if you look at the light-switch demo, the client (&lt;em&gt;which also acts as the provisioner&lt;/em&gt;) stores this data in persistent storage (flash). Look for the &lt;em&gt;dsm_*&lt;/em&gt; for the persistent storage functions and specifically the&amp;nbsp;&lt;em&gt;provisioned_device_handles_load(void)&lt;/em&gt; function (in main.c) (see snippet below...) which determines the number of nodes that the light-switch client has provisioned/configured into its mesh..&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**
 * Retrieves stored device state manager configuration.
 * The number of provisioned devices is calculated from the number of device keys stored. The device
 * key for each server is stored on provisioning complete in the `provisioner_prov_complete_cb()`.
 *
 * @returns Number of provisioned devices.
 */
static uint16_t provisioned_device_handles_load(void)
{
    uint16_t provisioned_devices = 0;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>