<?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>Long range scan with 52840 and SDK16</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59327/long-range-scan-with-52840-and-sdk16</link><description>With SDK 15, the long range scan parameters were: 
 static ble_gap_scan_params_t const m_scan_params = { #ifdef BOARD_PCA10056 .extended = 1, .active = 1, .interval = SCAN_INTERVAL, .window = SCAN_WINDOW, .filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL, </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Mar 2020 21:20:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59327/long-range-scan-with-52840-and-sdk16" /><item><title>RE: Long range scan with 52840 and SDK16</title><link>https://devzone.nordicsemi.com/thread/240961?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 21:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fd6b795-33e4-4c42-ba1b-c63c4203ad4b</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;Yes, this solved the problem.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long range scan with 52840 and SDK16</title><link>https://devzone.nordicsemi.com/thread/240939?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 16:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3b90415-2063-4d3d-b5ee-6927e690a276</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;In a recent post this tip was useful:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;o&amp;gt; NRF_BLE_SCAN_BUFFER - Data length for an advertising set. 
#ifndef NRF_BLE_SCAN_BUFFER
#define NRF_BLE_SCAN_BUFFER 31 // Change to BLE_GAP_SCAN_BUFFER_EXTENDED_MIN for coded PHY
#endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I believe&amp;nbsp;&lt;em&gt;BLE_GAP_SCAN_BUFFER_EXTENDED_MIN&lt;/em&gt; is 255&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58937/scanning-and-advertising-parameter-setting-for-coded-in-ble_app_att_mtu_throughput/239344#239344"&gt;scanning-and-advertising-parameter-setting-for-coded-in-ble_app_att_mtu_throughput&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long range scan with 52840 and SDK16</title><link>https://devzone.nordicsemi.com/thread/240802?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 10:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0c473bf-e5df-4e6e-b104-16267f35da8f</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;This is what I did. I get resets&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long range scan with 52840 and SDK16</title><link>https://devzone.nordicsemi.com/thread/240793?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 09:55:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f83d6634-bc2e-4865-a008-de75309788c3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please open the diff in my attachment and review the changes I made. It shouldn&amp;#39;t be much different from the ble_app_uart_c example. You don&amp;#39;t have to make code changes inside the scan module (nrf_ble_scan.c).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long range scan with 52840 and SDK16</title><link>https://devzone.nordicsemi.com/thread/240786?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 09:40:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5613ce30-cb85-4902-971e-8e927856d0ab</guid><dc:creator>Avi</dc:creator><description>&lt;p&gt;I am using the example of&amp;nbsp;ble_app_uart_c (SDK16).&lt;/p&gt;
&lt;p&gt;It works as is with BLE4 detection.&lt;/p&gt;
&lt;p&gt;I tried to change the following:&lt;/p&gt;
&lt;p&gt;p_scan_ctx-&amp;gt;scan_params.scan_phys = BLE_GAP_PHY_CODED;&lt;br /&gt; p_scan_ctx-&amp;gt;scan_params.extended = 1;&lt;/p&gt;
&lt;p&gt;But I get resets.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long range scan with 52840 and SDK16</title><link>https://devzone.nordicsemi.com/thread/240774?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 09:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4708674-2a05-42bf-8d78-8795d0a592c5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The scan parameters should still be the same. I recently enabled coded PHY for the blinky examples in SDK 16.0.0, maybe you could go over the changes I made and see if you can spot any relevant differences compare to your implementation? &lt;/p&gt;
&lt;p&gt;Attachment:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1ac0f100703e4e829024f0f2ea04b1db/central_5F00_and_5F00_peripheral_5F00_coded_5F00_phy.zip"&gt;devzone.nordicsemi.com/.../central_5F00_and_5F00_peripheral_5F00_coded_5F00_phy.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>