<?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>Softdevice - basic BLE advertising/transmission. Getting return error code 18 for ble_advertising_start() function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85180/softdevice---basic-ble-advertising-transmission-getting-return-error-code-18-for-ble_advertising_start-function</link><description>Hello, 
 I am using the nRF 52840 DK board. Using nRF5_SDK_17.0.2 I am trying to implement basic BLE advertising in my code. Also, I have turned on the RTT log. From the log, I can see I am getting error code 18 for the ble_advertising_start() function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 26 Feb 2022 14:25:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85180/softdevice---basic-ble-advertising-transmission-getting-return-error-code-18-for-ble_advertising_start-function" /><item><title>RE: Softdevice - basic BLE advertising/transmission. Getting return error code 18 for ble_advertising_start() function</title><link>https://devzone.nordicsemi.com/thread/355134?ContentTypeID=1</link><pubDate>Sat, 26 Feb 2022 14:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6e6183a-a0d5-4325-8065-0b4a11d5791e</guid><dc:creator>Neeraj Dhekale</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have checked the sdk_config.h file and found that it was occurring due to NRF_SDH_BLE_PERIPHERAL_LINK_COUNT being set to 0 it should be non-zero after setting it NRF_SDH_BLE_PERIPHERAL_LINK_COUNT to 1 it works and the return error code is 0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Neeraj Dhekale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>