<?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>BLE legacy advertising with SDK V16 on nRF52820?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57164/ble-legacy-advertising-with-sdk-v16-on-nrf52820</link><description>I have a nRF528420 [on Skylab module SKB501] and have wired up a custom connection to USB. I&amp;#39;m able to program NRF52 with both softdevice S140 and BLE Peripheral ble_app_uart without any problem (I built SDK V16 version using Eclipse (2019-12 build) and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jan 2020 17:05:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57164/ble-legacy-advertising-with-sdk-v16-on-nrf52820" /><item><title>RE: BLE legacy advertising with SDK V16 on nRF52820?</title><link>https://devzone.nordicsemi.com/thread/232151?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 17:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc863595-704f-4754-ad74-474ce69db7e4</guid><dc:creator>dannyhacker1</dc:creator><description>&lt;p&gt;Update: I couldn&amp;#39;t figure out how to get it to work with ble_app_uart.&amp;nbsp; I instead started with &lt;a title="BLE Advertising" href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-advertising-a-beginners-tutorial"&gt;Bluetooth low energy Advertising, a beginner&amp;#39;s tutorial&lt;/a&gt; and added UART code and it works for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE legacy advertising with SDK V16 on nRF52820?</title><link>https://devzone.nordicsemi.com/thread/231972?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 17:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7483afc7-0307-4183-8884-abf19f30e179</guid><dc:creator>dannyhacker1</dc:creator><description>&lt;p&gt;Sorry for not adding the details: Yes I changed the init.advdata.flags to be BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE as well as setting init.config.ble_adv_fast_timeout to be 0 [as documented in one of postings here -- forgot which post].&amp;nbsp; This makes it not time out.&lt;/p&gt;
&lt;p&gt;I reverted the main.c to original source of SDK16 and I can see OK on Samsung.&amp;nbsp; On Nexus, the mac address shows up but not the device name.&amp;nbsp; [NRF Connect app shows the UART Icon so it can see the Nordic UART Service] .&amp;nbsp; So I can now tell that both my code and original BLE-UART code shows up on NRF Connect on Nexus 9 but only the mac address not the device name.&amp;nbsp; Why would this be the case?&lt;/p&gt;
&lt;p&gt;As for Legacy mode: how is it suppose to be set/unset?&amp;nbsp; The parameter no longer exists in the header files so it would be nice if the doc gets updated to reflect this change, no?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE legacy advertising with SDK V16 on nRF52820?</title><link>https://devzone.nordicsemi.com/thread/231790?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 07:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cf5cf09-344e-43ec-8362-dd429bfeab5f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Most of our&amp;nbsp;examples use &amp;quot;legacy&amp;quot; advertising by default, including the ble_app_uart example. It&amp;#39;s really advertising without the advertising extension feature from Bluetooth 5 as Håvard explains in this thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34139/sdk-references-ble_adv_legacy_enabled-but-does-not-seem-to-exist"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/34139/sdk-references-ble_adv_legacy_enabled-but-does-not-seem-to-exist&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I think it must be something else causing this. But it&amp;#39;s strange that it gets seen by the Samsung phone&amp;nbsp;when it&amp;#39;s not seen on the Nexus.&amp;nbsp;&lt;/p&gt;
[quote user=""]The only changes I made are the Device Name (changed from &amp;quot;Nordic_UART&amp;quot; to &amp;quot;Nordic_2UART&amp;quot;) and changed the advertising timeout to be zero.[/quote]
&lt;p&gt;&amp;nbsp;Just to confirm, both the Nexus table and Samsung phone was tested after you made these changes? Because the&amp;nbsp;BLE_GAP_ADV_FLAGS_LE_ONLY&lt;strong&gt;_LIMITED_&lt;/strong&gt;DISC_MODE flag in advertising_init() must be replaced with&amp;nbsp;BLE_GAP_ADV_FLAGS_LE_ONLY&lt;strong&gt;_GENERAL_&lt;/strong&gt;DISC_MODE to support advertising without timeout.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>