<?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 App Cannot Interact with Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119216/nrf-mesh-app-cannot-interact-with-devices-after-iv-index-update</link><description>We are finding an issue where after a network is running for a while we are unable to interact with devices beyond connecting to them via the nRF Mesh App. Specifically, we are trying to deprovision the devices. This is true across multiple devices -</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Mar 2025 20:17:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119216/nrf-mesh-app-cannot-interact-with-devices-after-iv-index-update" /><item><title>RE: nRF Mesh App Cannot Interact with Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/526643?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2025 20:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bef3234-f2aa-495d-a4a2-a981ecfc9f80</guid><dc:creator>jm_solar</dc:creator><description>&lt;p&gt;Hi Simon, &lt;/p&gt;
&lt;p&gt;Thank you I think this is solved and can be closed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh App Cannot Interact with Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/525656?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 08:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0877af4-f6d4-4938-8e41-4576cf20006d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;&lt;span&gt;Ah, I see! I didn&amp;#39;t catch that you were sharing the sequence number/address of the provisioners. Doing that will effectively be replay attacking yourself. Each provisioner should be allocated its own unicast address. This approach avoids sequence number conflicts and ensures that each provisioner operates independently within the network.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Glad we have it figured out then. Let me know if we can close this case or if you have any further follow-ups.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh App Cannot Interact with Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/525617?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 00:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62a838c8-feaf-4793-9c0b-a566a9d1858d</guid><dc:creator>jm_solar</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/android_2D00_log.txt"&gt;devzone.nordicsemi.com/.../android_2D00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached a log from the Android app. In this session I did the following: &lt;/p&gt;
&lt;p&gt;1. Tried to get the TTL from the connected device (timed out)&lt;/p&gt;
&lt;p&gt;2. Tried to deprovision the connected device (timed out)&lt;/p&gt;
&lt;p&gt;3. Created a new provisioner and set the phone to use this new provisioner&lt;/p&gt;
&lt;p&gt;4. Again requested the TTL from the connected device which succeeded. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was also able to crack open one of our devices today to get logs (they were in sealed enclosures for environmental testing which restricted access). I found that the device was rejecting the messages as a replay attack - it seems the IV index update was a bit of a red herring. Apologies for spending your time on that. &lt;/p&gt;
&lt;p&gt;It seems like perhaps the best practice is that every device should be allocated its own address rather than having all the phone devices share an address? Or is there a good way to share the sequence number?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh App Cannot Interact with Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/525615?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 23:31:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a4ef054-a637-4e82-8965-23fa0a323f53</guid><dc:creator>jm_solar</dc:creator><description>&lt;p&gt;Hi Simon, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have logs for you yet, are Android logs okay? We currently primarily are developing for android so that will be easier for us. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I wanted to update that one of our engineers seems to have found a &amp;quot;work around&amp;quot; perhaps. It seems that if we create a new provisioner and operate as that provisioner instead we can interact with the devices and de-provision them. This new provisioner can also be shared between devices. Perhaps the new provisioner will also stop working next IV-Index update. Unfortunately these devices need to be updated so I don&amp;#39;t think they will operate that long. But I will try to get an android log before they are taken down. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh App Cannot Interact with Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/525448?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 08:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe558b94-82a2-4430-a410-d91569ec99c6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I talked to our nRF Mesh developer today, and they agree with you that you should get the IV index when returning. If you have a Mac OS device, you can use an app called Console (native on Mac), and select the connected iPhone, enable Debug and Info messages in the menu, and set a filter for &lt;em&gt;&amp;#39;subsystem = com.nordicsemi.nRFProvision&amp;#39;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;That should give you some useful debug info. If you&amp;#39;re not able to get anywhere from that, please upload that here and we can review the debug info on our end.&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: nRF Mesh App Cannot Interact with Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/525350?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 18:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a86e516-0ed4-45c7-9980-51522e127300</guid><dc:creator>jm_solar</dc:creator><description>&lt;p&gt;Hi Simon, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My understanding is that the phone should get the current IV index from the SMB messages upon returning, is this not correct?&lt;/p&gt;
&lt;p&gt;I found &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/119216/nrf-mesh-app-cannot-interact-with-devices-after-iv-index-update/525304/A%20node,%20inactive%20for%20more%20than%2096%20hours,%20needs%20to%20be%20able%20to%20scan%20for%20at%20least%205%20seconds%20for%20Secure%20Network%20Beacon%20to%20recover%20IV%20Index"&gt;this presentation from Nordic&lt;/a&gt; that says &amp;quot;A node, inactive for more than 96 hours, needs to be able to scan for at least 5 seconds for Secure Network Beacon to recover IV Index&amp;quot;. I was expecting the phone/app would do this.&amp;nbsp;&amp;nbsp; I did try enabling IV test mode, that made no difference. &lt;/p&gt;
&lt;p&gt;Also our co-worker who originally setup the next work, now ~2 weeks ago, returned to the office today and has the same results with the original provisioner device as we had on other devices. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Our use case requires the networks to be able to be operated in the field later by a phone or other mobile device to add/remove/replace devices (gaps between uses could perhaps be measured in decades if the system is working very reliably). We are working on our own app using the Nordic SDKs for customer use but internally using the nrf Mesh app in the meantime. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh App Cannot Interact with Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/525304?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 14:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b81dbbf-afa9-47bb-a48c-b83ff5b30505</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hey Jonathan&lt;/p&gt;
&lt;p&gt;Thank you for the additional details. I&amp;#39;m sorry for the late reply here. Can you also share the details on how your phone (provisioner) gets the IV index update events in that week of the devices running? If the phone just &amp;quot;leaves&amp;quot; the network it might never get any IV index updates, and thus it is &amp;quot;out of the loop&amp;quot; after coming back for a week.&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: nRF Mesh App Cannot Connect to Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/524441?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 20:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345dcfdb-5505-4870-ac06-52d51cce1a15</guid><dc:creator>jm_solar</dc:creator><description>&lt;p&gt;Hi Simon, &lt;/p&gt;
&lt;p&gt;Sorry I should have incldued these details originally:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. Yes provisioned from a phone using the nrf mesh app&lt;/p&gt;
&lt;p&gt;2. The shortest period of time we have seen this is ~1 week&lt;/p&gt;
&lt;p&gt;3. Currently it is only on different devices (we have tried multiple). I want to try with the original provisioner device, unfortunately it is with a a coworker who has been out sick. I will update as soon as we are able to try that, hopefully in the next few days.&lt;/p&gt;
&lt;p&gt;4. We are able to see the device and connect, but we cannot operate any models, deprovision devices, etc. These operations all time out. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Mesh App Cannot Connect to Devices after IV Index Update</title><link>https://devzone.nordicsemi.com/thread/524359?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 13:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe09dc2b-5aeb-441c-88d8-7b283ce030fc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There are some more details we need to be able to start helping you here.&lt;/p&gt;
&lt;p&gt;1. Is it a phone acting as the provisioner when you set up the network or some other device?&lt;/p&gt;
&lt;p&gt;2. When you say you &amp;quot;wait a while&amp;quot;. How long is the network going before you come back and change the configuration exactly?&lt;/p&gt;
&lt;p&gt;3. Do you use the same provisioner/app for importing the JSON from the network as you used initially, or are you using some other device for this?&lt;/p&gt;
&lt;p&gt;4. When trying to connect to devices to unprovision them, what do you mean by seeing them and not being able to interact with them? Are all of these proxy nodes presented in a GATT scan, or are you using another device for unprovisioning than you used for the initial provisioning? Do you get an error code of some kind since you&amp;#39;re &amp;quot;unable to interact with the devices?&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></channel></rss>