<?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 Long Range</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34543/ble-long-range</link><description>Hi, 
 I&amp;#39;m testing a PCA10056 S140 (nrF 52840 PDK), SDK15. 
 I want to test long range extension : using ble_app_att_mtu_throughput application sample. 
 But when I change : 
 
 by 
 
 I got and NRF_ERROR_INVALID_PARAM during the call to 
 
 Nothing else</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 May 2018 07:59:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34543/ble-long-range" /><item><title>RE: BLE Long Range</title><link>https://devzone.nordicsemi.com/thread/133580?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 07:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de1463b1-4aa5-46cd-92aa-19068aaa6a7a</guid><dc:creator>FChaxel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The .extended field in the scan_params should be set to 1 :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static ble_gap_scan_params_t const m_scan_param =
{
    .active        = 0x00,
    .extended      = 0x01,
    .interval      = SCAN_INTERVAL,
    .window        = SCAN_WINDOW,
    .timeout       = 0x0000, // No timeout.
    .scan_phys     = BLE_GAP_PHY_CODED, //BLE_GAP_PHY_1MBPS,
    .filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and the buffer should be defined with a greater value :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static uint8_t m_scan_buffer_data[BLE_GAP_SCAN_BUFFER_EXTENDED_MIN]; /**&amp;lt; buffer where advertising reports will be stored by the SoftDevice. */

/**@brief Pointer to the buffer where advertising reports will be stored by the SoftDevice. */
static ble_data_t m_scan_buffer =
{
    m_scan_buffer_data,
    BLE_GAP_SCAN_BUFFER_EXTENDED_MIN
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After that all done. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Long Range</title><link>https://devzone.nordicsemi.com/thread/133569?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 07:22:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aedae29-d5b1-4f1e-ac71-ac9ea33603d3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hopefully you can make it work. Seems like different engineers like to do it differently, some use the ble_advertisment module to handle the advertisment, while other use the softdevice api to setup advertisment directly without the ble_advertisment module to handle the advertisment.&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><item><title>RE: BLE Long Range</title><link>https://devzone.nordicsemi.com/thread/133405?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 11:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6964e5c-82e3-45fe-ba0f-95a73b11afcd</guid><dc:creator>FChaxel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;OK thank&amp;#39;s I can see what I want, and I will be able to play and modify it in the way I want.&lt;/p&gt;
&lt;p&gt;But it&amp;#39;s confusing because this code is not the same present in the SDK15 zip file downloaded 2 weeks ago.&lt;/p&gt;
&lt;p&gt;Bye.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Long Range</title><link>https://devzone.nordicsemi.com/thread/133155?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 08:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:762db171-f480-44ca-809d-f612568cfe3f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you seen this blog post:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/testing-long-range-coded-phy-with-nordic-solution-it-simply-works-922075585"&gt;https://devzone.nordicsemi.com/b/blog/posts/testing-long-range-coded-phy-with-nordic-solution-it-simply-works-922075585&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Long Range</title><link>https://devzone.nordicsemi.com/thread/133135?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 07:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1319ebfa-5683-44fd-a784-24960665fcc0</guid><dc:creator>FChaxel</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;No more runtime error at this point but no more advertising with BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED, even at 1Mbs with BLE 4.2 encoding.&lt;br /&gt;&lt;br /&gt;And with this configuration (BLE_GAP_PHY_CODED &amp;amp; BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED) another error occur at runtime when the m_scan_param.scan_phys is set to BLE_GAP_PHY_CODED.&lt;br /&gt;&lt;br /&gt;I just want to make a basic test: two boards using the BLE5 long range mode and communicates -see the advertising packets- with each other (such as the original sample ble_app_mtu_throughput) ? .. in order to go far far away to check distance !&lt;br /&gt;&lt;br /&gt;Tank&amp;#39;s&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Long Range</title><link>https://devzone.nordicsemi.com/thread/132751?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 12:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d230230-3e85-4d61-9b2d-2f12145173a0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello, you will also need to change the advertisement type,&amp;nbsp;for instance, from:&lt;br /&gt;adv_params.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED;&lt;br /&gt;to:&lt;br /&gt;adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>