<?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>sd_ble_gap_adv_set_configure() returns NRF_ERROR_INVALID_PARAM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90224/sd_ble_gap_adv_set_configure-returns-nrf_error_invalid_param</link><description>Hello, 
 
 I am recompiling a system from a nRF52832 to the nRF52840. 
 This is a BLE peripheral. I started with a working ble peripheral example so that I was able to start with the new sdk_config.h and project solutions (Segger) so I believe these are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Jul 2022 13:24:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90224/sd_ble_gap_adv_set_configure-returns-nrf_error_invalid_param" /><item><title>RE: sd_ble_gap_adv_set_configure() returns NRF_ERROR_INVALID_PARAM</title><link>https://devzone.nordicsemi.com/thread/378115?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 13:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d697ea4d-3f83-4473-94bf-d40c689385c9</guid><dc:creator>TimW</dc:creator><description>&lt;p&gt;That worked and thank you for getting back to me quickly.!&lt;/p&gt;
&lt;p&gt;My project is rather large. I have over 8 services with as many as 30 characteristics in a service.&amp;nbsp; I appreciate your links back to the soft-device document that you supply with your answers. Quite often &amp;quot;experts&amp;quot; don&amp;#39;t take the time to provide supplementary information (not referring to this forum). This forum is great.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_adv_set_configure() returns NRF_ERROR_INVALID_PARAM</title><link>https://devzone.nordicsemi.com/thread/377956?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2022 00:21:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70d48453-b9b0-4e53-9c23-5edbd578b6c1</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;It is not allowed to combine the flag for limited discoverability - which is meant to signify that the advertisings will stop shortly, and thus needs to be prioritized by a scanner - with an indefinite timeout. I see that you use&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___a_d_v___f_l_a_g_s.html"&gt;BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE&lt;/a&gt;&amp;nbsp;in your code. &lt;br /&gt;Try instead with&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___a_d_v___f_l_a_g_s.html#gaa57375a29c3f6acc5a22565528118cc6"&gt;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE&lt;/a&gt;&amp;nbsp;and see if it resolves your issues.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>