<?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>Different advertising initialisation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47729/different-advertising-initialisation</link><description>Hi 
 I&amp;#39;ve been experimenting with the ble_app_att_mtu_throughput example and have it running between 2 custom boards using PuTTY, but I&amp;#39;m struggling to understand why the advertising is initialised differently to other ble examples (heart rate sensor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 May 2019 13:45:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47729/different-advertising-initialisation" /><item><title>RE: Different advertising initialisation</title><link>https://devzone.nordicsemi.com/thread/189908?ContentTypeID=1</link><pubDate>Wed, 29 May 2019 13:45:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:761eac43-c3b9-4893-9507-5af861a5203d</guid><dc:creator>Pete W</dc:creator><description>&lt;p&gt;Thanks for the reply. After spending a few hours digging I managed to figure out that the throughput example is using the softdevice calls directly, so you confirmed what I suspected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Different advertising initialisation</title><link>https://devzone.nordicsemi.com/thread/189280?ContentTypeID=1</link><pubDate>Mon, 27 May 2019 11:14:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bea3587-ad23-4eaf-99dc-5c76796578a6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It seems the&amp;nbsp;advertising_init() is different because two different engineers have worked on the two different projects.&lt;/p&gt;
&lt;p&gt;One project use the&amp;nbsp;ble_advertising module in the nRF5 SDK to setup advertisement, the ble_advertising_init() will call the softdevice specific api calls. The second project use the softdevice api calls directly, for instance&amp;nbsp;sd_ble_gap_adv_set_configure().&lt;/p&gt;
&lt;p&gt;Both can work, though using the ble_advertising module may make it easier for you:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_ble_advertising.html?cp=5_1_3_2_1"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_ble_advertising.html?cp=5_1_3_2_1&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>