<?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>Nrf mesh android app import nodes</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106456/nrf-mesh-android-app-import-nodes</link><description>i am currently working on nrf mesh android app and I want to import nodes but app removes exisiting nodes from the list and add the imported nodes (new) to the list i want to append the new nodes to the list if its possible can you please provide me a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Dec 2023 12:46:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106456/nrf-mesh-android-app-import-nodes" /><item><title>RE: Nrf mesh android app import nodes</title><link>https://devzone.nordicsemi.com/thread/459921?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 12:46:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee9189c2-5944-4344-90cf-80ed61d3eb61</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Looks like the new nodes have not received the network key before merging the networks. Remember, that merging networks required the nodes to &amp;quot;know&amp;quot; the same network key(s) without the same key index. Although it&amp;#39;s possible to add a key with a different indeed, it may cause issues and it&amp;#39;s not supported in the database.&lt;/p&gt;
&lt;p&gt;If you have a node A provisioned with a key NK1 as primary network key and a node B provisioned initially to another network with a key NK2, those keys on these devices have the same index 0. For example, message Config Net Key Delete with index 0 will remove them (assuming more keys exist). If you want to merge networks, you need to add another key to add nodes, NK3, with the same key index, and probably remove old keys, add a new primary key NK4 to all nodes and delete NK3. Then, all nodes will have the same key at index 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf mesh android app import nodes</title><link>https://devzone.nordicsemi.com/thread/459882?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 09:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45bb8ca0-d865-4558-9eca-898f214f7e8e</guid><dc:creator>Kamrans124</dc:creator><description>&lt;p&gt;To clarify, I am unable to modify nodes such as TTL or any other information after merging the file that contains nodes copied from different JSON files. It&amp;#39;s worth noting that all nodes have device keys, but I can only configure the nodes that were originally in my file. The other nodes are not editable which were copied from different json file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf mesh android app import nodes</title><link>https://devzone.nordicsemi.com/thread/459868?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 09:06:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f27d0531-449a-4d10-b50a-92eeb962aa42</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;What do you mean by &amp;quot;unable to edit the configuration&amp;quot;? Do you mean you can&amp;#39;t control the nodes (send any messages)? Can&amp;#39;t configure then by sending Config messages? Can&amp;#39;t edit the file, or is not getting accepted in nRF Mesh?&lt;/p&gt;
&lt;p&gt;Do you have Device Keys in all the nodes that you want to configure?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf mesh android app import nodes</title><link>https://devzone.nordicsemi.com/thread/459835?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 06:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af54eaa6-93dc-4bec-9550-34112b08758f</guid><dc:creator>Kamrans124</dc:creator><description>&lt;p&gt;I apologize for previously rejecting your answer. I copied the nodes, app keys, and network keys from a different JSON file into my own file, and while it connected successfully, I am unable to edit the configuration. The nodes that were originally in my file are still working fine. Could you please let me know what the issue might be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf mesh android app import nodes</title><link>https://devzone.nordicsemi.com/thread/459510?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2023 11:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adf551eb-5f18-4656-a49b-400da98f6fd8</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;Indeed, the only thing&amp;nbsp;nRF Mesh app&amp;nbsp;(Android or iOS) can do is switching mesh networks when importing. It does not &amp;quot;merge&amp;quot; them, as there may be conflicts, which are not easy to solve, e.g. conflicting keys with the same key index, or nodes with the same UUID, but different configuration. This would have to be solved by the used.&lt;/p&gt;
&lt;p&gt;In general, the assumption is, that the mesh network configuration (JSON file) is synchronized between&amp;nbsp;provisioners and they don&amp;#39;t override each other, as configs may diverge. Then it would be difficult to get the actual configuration.&lt;/p&gt;
&lt;p&gt;Solution for you is to merge the files on the PC. Export the existing config to a JSON file, open the new one, copy required nodes from the new to the old and check if everything is correct. Then import the config again.&lt;/p&gt;
&lt;p&gt;Hope that helped.&lt;br /&gt;Aleksander Nowakowski&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>