<?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>How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22486/how-to-enable-bluetooth-5-long-range-advertisements</link><description>Hi, 
 I&amp;#39;m experimenting with the nrf52840 preview board. 
 I have tried the example &amp;quot;ble_app_att_mtu_throughput&amp;quot; using the coded option to check the extended range and it works fairly well. I heard that there is a bug in the sd which cripples the actual</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jul 2017 09:20:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22486/how-to-enable-bluetooth-5-long-range-advertisements" /><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88465?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 09:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca5ef58f-1a81-46db-95ca-73c04f8af506</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s both :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88464?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 11:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0e8c234-a1b7-489a-b863-3575d5a597d4</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;@Hung Yes, I saw that, but I wasn&amp;#39;t sure the wording &amp;quot;only&amp;quot; was targeting the &amp;quot;one advertising set&amp;quot; or the &amp;quot;31 bytes&amp;quot; or both.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88463?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 11:45:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0de96dd-b847-4c6d-a27b-1f1a458f17e7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Mohammad: Please check the s140_nrf52840_5.0.0-3.alpha_migration-document.pdf . It says:&lt;/p&gt;
&lt;p&gt;&amp;quot;A new configuration option, BLE_GAP_CFG_ADV, has been added to the sd_ble_cfg_set(). This option can be used to configure advertising sets. Currently this option is not used as this alpha release only supports one advertising set with 31 bytes of advertising or scan response data.&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88462?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 14:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfccb478-d199-4133-9cfe-40dee59e75f5</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Yes, that may be the case. ble_advdata_set() limits the data size to BLE_GAP_ADV_SR_MAX_LEN_DEFAULT which is equal to 31. I tried changing it to use the newly defined macro BLE_GAP_ADV_SR_MAX_DATA_LEN but that didn&amp;#39;t work and the application didn&amp;#39;t advertise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88466?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 13:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a811e4e-3e98-4907-91f5-18bb377318b4</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m afraid I do not know the answer to this question. It &lt;em&gt;should&lt;/em&gt; be supported, but I know there could be some issue preventing it from being used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88461?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2017 20:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d56526d3-8ea7-4b74-aa1d-ba0230d63eb1</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Ulrich,&lt;/p&gt;
&lt;p&gt;As a follow up to my question, I understand that the s140 5.0.0-3.alpha release does not support the configuration of advertisement sets, but does it support extended advertisements with data larger than 31 bytes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88457?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 08:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56a85bff-5161-44a7-aada-720007c8d382</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Okay, then I have misunderstood you. The patch to the SDK is only migrating a &lt;strong&gt;single&lt;/strong&gt; example to the S140 API, in order to show how to connect on long range. If you want to test any other example or module, you will have to manually port these to the same API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88458?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 17:39:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bdaa331-abc6-4296-8fb4-17f42f21f469</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Ulrich,&lt;/p&gt;
&lt;p&gt;One thing I didn&amp;#39;t mention is that I&amp;#39;m trying to include the new s140 headers into an existing project of mine, and so this existing project might be including files that have not been updated yet (such as the ble_advertising.c file). This may be causing the issue I&amp;#39;m running into. I will try running the example app separately first, and then figure out how to incorporate the changes and migrate my existing app to the new s140 release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88459?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 16:22:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0480309f-4a81-4e11-ae3c-f8452bf62353</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Ulrich,&lt;/p&gt;
&lt;p&gt;I went through the steps and just read them again (to make sure). I&amp;#39;m using the SDK version 13.0.0, and I replaced the files within the SDK with the headers included in the s140 5.0.0-3.alpha release.&lt;/p&gt;
&lt;p&gt;However, the file I&amp;#39;m referring to within the SDK is in the path &lt;strong&gt;components/ble/ble_advertising&lt;/strong&gt; which is not included with the s140 release&amp;#39;s header files (which get placed in &lt;strong&gt;components/softdevice/s140&lt;/strong&gt;).&lt;/p&gt;
&lt;p&gt;I even checked out the 13.1.0 SDK release and that one also includes the references to the macro BLE_GAP_ADV_MAX_SIZE which doesn&amp;#39;t exist in the new version of s140.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88460?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 14:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d261500-1b5b-4be4-b9db-06357ecdc36b</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;It seems like you forgot the step where you copy the header files from the release bundle and replace them with the s140 ones inside the SDK folder. When skipping that, I got similar errors. Either that, or you are using an incompatible SDK version. Please follow the instructions in the readme.md file inside the example to the letter. For me it built just fine, going from a fresh compile using Keil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88456?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 13:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:599925e4-a7e0-45aa-8986-6d960ca66ed4</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Ulrich,&lt;/p&gt;
&lt;p&gt;Looks like there are missing files that need to be updated in the SDK to get the ble_app_att_mtu_throughput_example_connecting_on_long_range example to compile. One example is the ble_advertising.c. It has references to BLE_GAP_ADV_MAX_SIZE which doesn&amp;#39;t exist anymore, and I can&amp;#39;t file an updated file from the example to overwrite the one in the SDK.&lt;/p&gt;
&lt;p&gt;Any ideas where I can get the necessary updated files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88470?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 12:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8279de9-caf8-4c43-b565-e4207e2a1f26</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;The Advertising Sets feature is only a part of the Advertising Extensions. That part is not completed yet, but we wanted early feedback on our API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88455?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 10:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:734969af-49c9-4f95-b327-9f60069f0b29</guid><dc:creator>Mohammad Afaneh</dc:creator><description>&lt;p&gt;Ulrich, in the document &amp;quot;s140_nrf52840_5.0.0-3.alpha_migration-document.pdf&amp;quot;, there&amp;#39;s a comment saying:&lt;/p&gt;
&lt;p&gt;&amp;quot;A new configuration option, BLE_GAP_CFG_ADV, has been added to the sd_ble_cfg_set(). This option can be used to configure advertising sets. Currently this option is not used as this alpha release only supports one advertising set with 31 bytes of advertising or scan response data.&amp;quot;&lt;/p&gt;
&lt;p&gt;Does this mean that extended advertising is not yet supported in this release?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88469?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2017 10:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d888902e-0b09-47c4-a5c8-505b912daa59</guid><dc:creator>Peter Lerup</dc:creator><description>&lt;p&gt;Great, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88468?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2017 10:10:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6672f44b-917b-440a-96e4-bf330502d4d1</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It is in the SoftDevice zip. Downloadable &lt;a href="http://www.nordicsemi.com/eng/Products/nRF52840/(language)/eng-GB#Downloads"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88467?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2017 10:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c353987b-50a4-4891-bfb2-aa5e0983d18f</guid><dc:creator>Peter Lerup</dc:creator><description>&lt;p&gt;Sorry for being a noob, but where is that public folder?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable Bluetooth 5 long range advertisements</title><link>https://devzone.nordicsemi.com/thread/88454?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2017 09:14:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08a03d4f-1842-4893-8b29-66852da36f7f</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;In order to create connections on coded phy, you need to make use of the advertising extensions. These are supported in the latest alpha (s140 5.0.0-3). I haven&amp;#39;t had a chance to play around with it, but there is an example inside the release that you can use.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s called &lt;code&gt;ble_app_att_mtu_throughput_example_connecting_on_long_range.zip&lt;/code&gt; and resides in the &lt;code&gt;public&lt;/code&gt; folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>