<?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>Using ble_advertising_start() to transition from slow to fast advertising fails with NRF_ERROR_INVALID_STATE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39800/using-ble_advertising_start-to-transition-from-slow-to-fast-advertising-fails-with-nrf_error_invalid_state</link><description>Under some conditions I want to force advertising to transition from slow to fast. With SDK 14, I could just call ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST), but with SDK 15, that returns NRF_ERROR_INVALID_STATE. 
 I see that there are some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Nov 2018 16:16:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39800/using-ble_advertising_start-to-transition-from-slow-to-fast-advertising-fails-with-nrf_error_invalid_state" /><item><title>RE: Using ble_advertising_start() to transition from slow to fast advertising fails with NRF_ERROR_INVALID_STATE</title><link>https://devzone.nordicsemi.com/thread/155625?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 16:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e27227db-f4ec-478b-b06f-af64c75cba25</guid><dc:creator>eric-appion</dc:creator><description>&lt;p&gt;OK, I&amp;#39;ll give that a try. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using ble_advertising_start() to transition from slow to fast advertising fails with NRF_ERROR_INVALID_STATE</title><link>https://devzone.nordicsemi.com/thread/155544?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 11:13:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d93456d0-4729-48d9-ab0f-6d9fe1ebc9f7</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;As far as I can see in our SDK we usually change mode when the previous mode has timed out. If you want to change mode while advertising is ongoing you could consider stopping it first. An example would be the &amp;quot;&lt;em&gt;ble_advertising_restart_without_whitelist&lt;/em&gt;&amp;quot; function in ble_advertising.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using ble_advertising_start() to transition from slow to fast advertising fails with NRF_ERROR_INVALID_STATE</title><link>https://devzone.nordicsemi.com/thread/154562?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2018 16:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b83e3e3f-b76e-468a-99ca-a204e8e585db</guid><dc:creator>eric-appion</dc:creator><description>&lt;p&gt;Thanks for the suggestion! I have just migrated to SDK 15.2.0, and that new API call may be useful to me in the future. However, at the moment I&amp;#39;m not trying to update the advertising data. I want to continue advertising with the same data, but to transition from _MODE_SLOW to _MODE_FAST.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using ble_advertising_start() to transition from slow to fast advertising fails with NRF_ERROR_INVALID_STATE</title><link>https://devzone.nordicsemi.com/thread/154533?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2018 14:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cf58977-ef1c-40d1-81a2-dd9e9cc322ea</guid><dc:creator>awneil</dc:creator><description>[quote userid="73274" url="~/f/nordic-q-a/39800/using-ble_advertising_start-to-transition-from-slow-to-fast-advertising-fails-with-nrf_error_invalid_state"]SDK 15[/quote]
&lt;p&gt;Is that 15&lt;strong&gt;.0&lt;/strong&gt; or 15&lt;strong&gt;.2&lt;/strong&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using ble_advertising_start() to transition from slow to fast advertising fails with NRF_ERROR_INVALID_STATE</title><link>https://devzone.nordicsemi.com/thread/154519?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2018 13:17:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3cdead4-adf9-4098-9195-2e3fd7fe79c4</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In sdk 15.2. there is a function called &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/group__ble__advertising.html#gaed156c3a650acabf79890fa9da01dec2"&gt;ble_advertising_advdata_update&lt;/a&gt; that you could use to update the advdata. This function is just calling &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.1.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=2_3_1_1_0_2_1_2_3#ga9969047f4e7485c3f856c841978cc31a"&gt;sd_ble_gap_adv_set_configure&lt;/a&gt; to update the advertisement set.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>