<?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 to extract json file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104761/how-to-extract-json-file</link><description>Hi everyone, 
 I&amp;#39;m working with a own device who acts like a provisioner in a bluetooth mesh net and with more devices acting like slaves devices (lights, switches, etc). Is it possible to extract the json file from the cdb on the device that acts as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Nov 2023 23:09:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104761/how-to-extract-json-file" /><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/457045?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 23:09:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b620d40-069e-4a44-835a-7290a8f3c1fe</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Happy to help!&lt;/p&gt;
&lt;p&gt;You are welcome to post a new ticket if you have any further questions in the future.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/456818?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 07:18:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cb80370-c7e4-4a0b-b961-acb6e63321c0</guid><dc:creator>ivangh24</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;will continue to work on my project and look for more information about it. You have been a great help, thank you very much.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Ivan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/456298?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 00:52:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2f4ca9e-7ef8-4d77-9e3c-c8f1e367ab4e</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You can read about the IV update procedure in the specification.&lt;/p&gt;
&lt;p&gt;Also, there is quite some information about this here on devzone;&lt;/p&gt;
&lt;p&gt;ie:&amp;nbsp; &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/87923/iv-index-and-lpn-devices-that-leave-mesh/368239"&gt;RE: IV Index and LPN devices that leave mesh&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/456079?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2023 07:55:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:854937e9-6845-4b60-b17e-fb357c00b84f</guid><dc:creator>ivangh24</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;That sounds very good, although I have some doubts about how it works. So imagine you have this non-read-protected device but you can only read its memory once at the beginning of an installation. That means that normally the IV index will be 0 (normally) and, once the installation is created, that index will start to rise due to the exchange of messages. If we transmit the original data from the master to a new device, will it work? My understanding is that if its IV index is different from the network index, it will not be able to communicate.&lt;/p&gt;
&lt;p&gt;If we have a device running in a network but, this device needs to be changed and moved to another installation but no message has been sent from the provisioner to reset the node within the mesh network. How can we communicate with it to reset it? What is the best way?&lt;/p&gt;
&lt;p&gt;Thank you in advance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ivan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/453682?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 11:20:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:436898bd-f47e-4640-994a-63132d3c6e7f</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Sorry about the delay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;If the device is not read protected:&amp;nbsp;&lt;br /&gt;Read the flash and settings storage: That would give you pretty much all the snapshot of key materials, sequence numbers, IV indices, etc.&amp;nbsp;Once you have this data,&amp;nbsp;you can transfer this to the new device via shell commands (or by custom methods).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;If the device is read protected:&lt;br /&gt;The device must periodically transfer CDB data to some gateway. This data can then be migrated to the new device via shell commands (or by custom methods).&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Once the new gateway has keys, it can query entire network one-by-one to restore its understanding of configuration of each node in the network.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/452425?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 07:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9743782-0321-4bf8-ad3f-f148b57b2521</guid><dc:creator>ivangh24</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Now imagine that you have hundreds of nodes in an industrial installation and a master device that controls all of them and acts as the network provisioner and configurator. That master breaks down, for whatever reason. What is the best way to replace it so that it is the same as the other one and contains the cdb, all the network information and can communicate with all the nodes just like the previous one?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Ivan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/452297?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 13:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c712588-9324-4e04-92cc-a5ae1e173006</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is no API for this as far as I know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Mesh shell has some support for CDB if that is something that is interesting for your case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can read more here:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/mesh/shell.html#bluetooth-mesh-shell"&gt;Mesh shell&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/mesh/shell.html#configuration-database"&gt;Configuration database&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/450955?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 07:11:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f1dede7-2f0c-4c79-aee6-fd885612b7dc</guid><dc:creator>ivangh24</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;thanks for the answer. I&amp;#39;m working with the nrf52840 DK board on which I&amp;#39;m developing&amp;nbsp;my own version of a provisioner device based on the example. I&amp;#39;m working with the latest version of nRF Connect SDK. Just to clarify, I&amp;#39;m aware of I can import/export the json file through nRF Mesh app but I want to know if&amp;nbsp;it would be possible to export it with an API.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ivan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to extract json file</title><link>https://devzone.nordicsemi.com/thread/450923?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 23:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52f813d2-e79e-4c35-ab40-0d489a2d3630</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Thank you for your interest in BLE Mesh and Nordic&amp;#39;s solutions.&lt;/p&gt;
[quote user=""]I&amp;#39;m working with a own device who acts like a provisioner in a bluetooth mesh net and with more devices acting like slaves devices[/quote]
&lt;p&gt;So this a provisioner based on an nRF device, not a smartphone i.e using the nRF Mesh app?&lt;/p&gt;
&lt;p&gt;Could I ask you to also share which device, SDK version etc you are working with?&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>