<?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>Beaconing while in connected state</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74496/beaconing-while-in-connected-state</link><description>SDK 16, S132 V7.0.1, NRF52832, custom device, custom firmware. 
 Hello, 
 I want to keep beaconing advertisement (not connectable advertisement) while the BLE is connected to a central device. 
 In my firmware I have a scheduler that run Connectivity</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 May 2021 13:35:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74496/beaconing-while-in-connected-state" /><item><title>RE: Beaconing while in connected state</title><link>https://devzone.nordicsemi.com/thread/307958?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 13:35:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c3dc5b2-884a-4960-9979-754f29232f5d</guid><dc:creator>sboudaud</dc:creator><description>&lt;p&gt;I use the version S132 V7.0.1&amp;nbsp; for a while and it worked well, the change done should work with V7.0.1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beaconing while in connected state</title><link>https://devzone.nordicsemi.com/thread/307955?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 13:31:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89987592-bfde-49a8-bb92-e9c38feee404</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you programmed the correct softdevice?&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/getting_started_softdevice.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/getting_started_softdevice.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beaconing while in connected state</title><link>https://devzone.nordicsemi.com/thread/307932?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 12:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e127c290-41d0-4c5a-838c-17be634fe86c</guid><dc:creator>sboudaud</dc:creator><description>&lt;p&gt;Hello, I tried starting advertisement from the main and it doesn&amp;#39;t start (no error returned)&lt;br /&gt;And when I incremented the value of the flags NRF_SDH_BLE_PERIPHERAL_LINK_COUNT and&amp;nbsp;NRF_SDH_BLE_TOTAL_LINK_COUNT I get errors :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1- err_code = ble_advertising_init(&amp;amp;mm_advertising, &amp;amp;init); &amp;nbsp;&amp;nbsp; ==&amp;gt; error = 12289 = 0x3001 = BLE_ERROR_NOT_ENABLED&lt;/p&gt;
&lt;p&gt;2- err_code = sq_ble_gap_tx_power_set()&amp;nbsp;&amp;nbsp; ==&amp;gt; error = 1 = 0x0001 = NRF_ERROR_SVC_HANDLER_MISSING&lt;/p&gt;
&lt;p&gt;In the code before the first error I enable the SD!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beaconing while in connected state</title><link>https://devzone.nordicsemi.com/thread/307221?ContentTypeID=1</link><pubDate>Wed, 28 Apr 2021 11:26:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce8b173c-bfa0-4d60-bf50-79ece5e0ca93</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any reason why this should not work when you don&amp;#39;t have any error. Have you tried starting the non-connectable advertisement from main() instead (after handling the connected event)?&lt;/p&gt;
&lt;p&gt;Also, can you try to increase&amp;nbsp;NRF_SDH_BLE_PERIPHERAL_LINK_COUNT and&amp;nbsp;NRF_SDH_BLE_TOTAL_LINK_COUNT?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beaconing while in connected state</title><link>https://devzone.nordicsemi.com/thread/307071?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 14:23:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f280b22-fc8a-4006-be29-6d3d1a0e79ab</guid><dc:creator>sboudaud</dc:creator><description>&lt;p&gt;Yes the duration is 0 (not stopped)&lt;/p&gt;
&lt;p&gt;The scheduler part work well when advertising for connectivity and beaconing in the same time.&lt;/p&gt;
&lt;p&gt;As advertising (connectable or not) while connected should works, you can help me about that?.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beaconing while in connected state</title><link>https://devzone.nordicsemi.com/thread/307051?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 13:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99c55ac1-1294-4fe2-a74f-b0d35f97f7e9</guid><dc:creator>awneil</dc:creator><description>[quote userid="61978" url="~/f/nordic-q-a/74496/beaconing-while-in-connected-state"]duration 0[/quote]
&lt;p&gt;is that right?&lt;/p&gt;
[quote userid="61978" url="~/f/nordic-q-a/74496/beaconing-while-in-connected-state"]In my firmware I have a scheduler that run Connectivity advertisement and beaconing advertisement at the same time[/quote]
&lt;p&gt;So is that part working?&lt;/p&gt;
&lt;p&gt;It certainly &lt;em&gt;&lt;strong&gt;is&lt;/strong&gt; &lt;/em&gt;possible to do advertising (connectable or not) while connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>