<?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 diable and restart softdevice on nrf552840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110648/how-to-diable-and-restart-softdevice-on-nrf552840</link><description>I need to run a time-sensitive application on the NRF52840 platform, hence I require disabling and re-enabling the softdevice. After successfully disabling and re-enabling the softdevice, when running ble_advertising_init, an ERROR 12289 [Unknown error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Apr 2024 12:32:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110648/how-to-diable-and-restart-softdevice-on-nrf552840" /><item><title>RE: how to diable and restart softdevice on nrf552840</title><link>https://devzone.nordicsemi.com/thread/481082?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 12:32:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc5f1a98-b05b-4bf6-a5ec-99a6a8a66811</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error code&amp;nbsp;&lt;span&gt;12289&amp;nbsp;(0x3001) corresponds to&lt;/span&gt;&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group__ble__err.html#ga521db6a097589b80939d76cb453fad3c"&gt;BLE_ERROR_NOT_ENABLED&lt;/a&gt;. This means that the SoftDevice have not yet been enabled. It is possible that the process of enabling the SoftDevice is not yet completed (&lt;span&gt;nrf_sdh_enable_request() is asynchronous, and completion is indicated by the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__sdh.html#gga6a92f798d247ada5b1290e8a03bbc169adb2735f3bfedba16b3369d5c98691fae"&gt;NRF_SDH_EVT_STATE_ENABLED&lt;/a&gt;&amp;nbsp;event). You can also use the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__sdh.html#gafeb65d7fc5d540caef6549d430a36ca3"&gt;nrf_sdh_is_enabled&lt;/a&gt;() API to check the current state of the procedure and wait for it to complete before calling other SoftDevice APIs.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>