<?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>assert reached on unprovisioning a device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110584/assert-reached-on-unprovisioning-a-device</link><description>Hello, 
 On a nrf52840 (sdk 16.0.0) I have sporadically an unexpected behaviour when I unprovision my device, both with the nRF Mesh and with our custom app. As showed in the attached image, where the RTT logs are reported, the assert is caused by the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2024 11:16:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110584/assert-reached-on-unprovisioning-a-device" /><item><title>RE: assert reached on unprovisioning a device</title><link>https://devzone.nordicsemi.com/thread/480655?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 11:16:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37ffa88b-cc0d-430f-89a2-9b078169bcfe</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Stefano&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;&lt;strong&gt;sd_ble_gap_data_length_update&lt;/strong&gt;() function returning NRF_ERROR_INVALID_STATE just refers to the device being in an invalid state to perform the data length update, so most likely the device is not in a connected state, which it needs to in order to run this function successfully.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>