<?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>non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87730/non-connectable-undirected-advertising</link><description>Hello 
 I enable BT advertising with the option BT_GAP_ADV_TYPE_ADV_NONCONN_IND 
 
 
 #define BT_LE_ADV_NCONN_IND BT_LE_ADV_PARAM ( BT_GAP_ADV_TYPE_ADV_NONCONN_IND , \ 
 BT_GAP_ADV_FAST_INT_MIN_2 , \ 
 BT_GAP_ADV_FAST_INT_MAX_2 , \ 
 NULL ) 
 
 
 
 const</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 May 2022 12:45:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87730/non-connectable-undirected-advertising" /><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/369028?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 12:45:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8008dda-ef73-4615-8f46-2e2ba56cf9c3</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;Thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/368910?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 06:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebcee315-53be-4dc6-916c-efdeac980a0e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi, I heard back from the development team. on this issue. You should only use the parameter values supported for a parameter and not the BT GAP Advertising Type. The advertising options should be better suited here. If no options are set (set to 0 or &lt;strong&gt;BT_LE_ADV_OPT_NONE&lt;/strong&gt;) the advertising is non-connectable. You should set &lt;strong&gt;BT_LE_ADV_OPT_CONNECTABLE&lt;/strong&gt; to make an advertisement connectable.&lt;/p&gt;
&lt;p&gt;All advertising options can be found &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/3f826560aaf81a444018293bd6acce3c339fe150/include/bluetooth/bluetooth.h#L329-L520"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;strong&gt;BT_GAP_ADV_TYPE_ADV_NONCONN_IND&lt;/strong&gt; is not the value to be used for options parameters in the API, and you shouldn&amp;#39;t use any value for the &lt;em&gt;bt_le_adv_start&lt;/em&gt; API&amp;#39;s option field of the &amp;quot;&lt;span&gt;&lt;em&gt;bt_le_adv_param&lt;/em&gt;&amp;quot; parameter.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/367937?ContentTypeID=1</link><pubDate>Sun, 15 May 2022 14:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:556031cc-c7f9-4a88-92fa-aa7fc1c5aee0</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;Great, thanks for the update&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/367797?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 10:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc2e6e2f-a3a0-456d-b6ab-07971a217aad</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Thank you for all the information! I have now reported this internally, and we&amp;#39;ll try to fix this for the next release of the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/367473?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 15:46:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09e5618b-ab83-405b-9a4c-fba1fd117e4b</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;I am on 1.9.1 and Zephyr&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/367316?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 07:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc735454-1663-448b-b23c-c7291a48f8c9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Sorry, I forgot to ask this, but what SDK version are you using here? Do you see it in the latest version v1.9.1 of the nRFConnect SDK as well?&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/367242?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 15:56:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e68013-5d30-4666-90cd-8b88e311173d</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;I was using nrf Connect app&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To reproduce use the code above or manually set the param.options to&amp;nbsp;&amp;nbsp;&lt;span&gt;BT_GAP_ADV_TYPE_ADV_NONCONN_IND&lt;/span&gt;&lt;br /&gt;This is an enumeration and resolves to 3 but the code in adv.c:&amp;nbsp; bt_le_adv_start_legacy() function&amp;nbsp; treats&amp;nbsp; params.options as a bitfield (line 970 and down)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/367176?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 12:29:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bc0e2b7-081b-4dbf-80f8-d4cfe5943975</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What Bluetooth scanner tool are you using exactly, and how can we reproduce this with a DK for example? This might be a bug on our side, but I&amp;#39;d like to reproduce it before reporting internally.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: non-connectable undirected advertising</title><link>https://devzone.nordicsemi.com/thread/367017?ContentTypeID=1</link><pubDate>Mon, 09 May 2022 18:40:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3121578-7dac-4f54-b397-93aec8b197ff</guid><dc:creator>AndyM</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;span&gt;BT_GAP_ADV_TYPE_ADV_NONCONN_IND is a wrong value to use here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;params.options field should be set to zero for the packet type to be non connectable undirected&amp;nbsp;(3)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>