<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>I want to start adverting at the push of a button.</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88401/i-want-to-start-adverting-at-the-push-of-a-button</link><description>Hello 
 SDK starts adverting when reset. I want to start adverting at the push of a button. 
 SDK version : 17.0.0 
 SWDevide : s112 
 
 When the button is pressed as above, ble_advertising_start(&amp;amp;advertising, BLE_ADV_MODE_FAST); called but it doesn&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 30 May 2022 14:24:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88401/i-want-to-start-adverting-at-the-push-of-a-button" /><item><title>RE: I want to start adverting at the push of a button.</title><link>https://test-devzone.nordicsemi.com/thread/370030?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 14:24:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38f34f9d-c514-4fa0-85f6-f57cbe1bbcc3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Error 8 means&amp;nbsp;NRF_ERROR_INVALID_STATE. You can find this information if you look at the ble_advertising_start description.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This happened most probably because the device is already advertising and you call&amp;nbsp;&lt;span&gt;ble_advertising_start() again, o&lt;/span&gt;&lt;span&gt;r if the softdevice is not initialized.&amp;nbsp;&lt;br /&gt;Please try to add a flag, if the device is already advertising you shouldn&amp;#39;t call&amp;nbsp;ble_advertising_start() again.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>