<?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>not able to switch Advertise from connectable to non connectable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67719/not-able-to-switch-advertise-from-connectable-to-non-connectable</link><description>i am using ble_app_gatts example as beacon observer ,till 10 sec after powering up device i need connectable advertise after that period ,as i switch the advertising from connectable to non-Connectable i got error ERROR 16 [NRF_ERROR_INVALID_ADDR] from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Oct 2020 10:12:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67719/not-able-to-switch-advertise-from-connectable-to-non-connectable" /><item><title>RE: not able to switch Advertise from connectable to non connectable</title><link>https://devzone.nordicsemi.com/thread/277566?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 10:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5bcc9e8-2613-48c1-a667-40c0885ee315</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Are all data and pointers in RAM? E.g.&amp;nbsp;&lt;span&gt;Tag_broadcastig_data.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I suggest to checkout the beacon example for comparison.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to switch Advertise from connectable to non connectable</title><link>https://devzone.nordicsemi.com/thread/277552?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 09:39:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df13ad8d-3218-4319-b7e3-c716861a3a41</guid><dc:creator>Narendrasinh Dabhi</dc:creator><description>&lt;p&gt;thank you for reply..&lt;/p&gt;
&lt;p&gt;i have checked all three parameter which are passed , All pointers are have valid Address and no one is null,&lt;/p&gt;
&lt;p&gt;i also stop advertise by&amp;nbsp;sd_ble_gap_adv_stop(m_advertising.adv_handle) before calling&amp;nbsp;&amp;nbsp;&lt;span&gt;void Nonconnectable_Advertise(void).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to switch Advertise from connectable to non connectable</title><link>https://devzone.nordicsemi.com/thread/277410?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 13:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44e12427-8d23-4fa4-9fc4-f463110099ad</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;From ble_gap.h I can learn that&amp;nbsp;sd_ble_gap_adv_set_configure():&lt;/p&gt;
&lt;p&gt;* @retval ::NRF_ERROR_INVALID_ADDR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Invalid pointer supplied.&lt;/p&gt;
&lt;p&gt;In other words one (or more) of the 3 parameters is not a valid pointer. Maybe set a breakpoint when calling&amp;nbsp;&lt;span&gt;sd_ble_gap_adv_set_configure() to see which may be wrong?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edit: I assume you stop advertisement&amp;nbsp;here before updating advertisement?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>