<?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>Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58276/advertisement-with-le-coded-phy</link><description>Hi, 
 I have recently been evaluating the nRF52840 for the research purpose. I came across a question related to this product that I could not figure it out myself. 
 I noticed that when I use Coded PHY, the advertisement take places in uncoded 1M PHY</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Mar 2020 09:36:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58276/advertisement-with-le-coded-phy" /><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/237358?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 09:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0f1a695-bb02-4c4a-9251-073831377396</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Ben,&lt;/p&gt;
&lt;p&gt;1. It wasn&amp;#39;t a necessary change. It is possible to use longer MTUs with this PHY.&lt;/p&gt;
&lt;p&gt;2. Good that you noticed it. I didn&amp;#39;t. The test will still be conducted with CODED. At least on the first run because the test starts in default mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/237282?ContentTypeID=1</link><pubDate>Sun, 01 Mar 2020 11:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a6b38a0-87f7-401a-bfbe-579f44027ec8</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks a million. This is brilliant.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a question though!&lt;/p&gt;
&lt;p&gt;1) Why changed the att_mtu from&amp;nbsp;&amp;nbsp;NRF_SDH_BLE_GATT_MAX_MTU_SIZE to&amp;nbsp;BLE_GATT_ATT_MTU_DEFAULT ?&lt;/p&gt;
&lt;p&gt;2) I also noticed that in test_begin function &amp;quot;m_test_params.phys.tx_phys&amp;quot; is 2M PHY!! This means that the test starts with 2M PHY!!? I changed it to coded PHY.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/236939?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 15:32:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:072a6263-4af7-4901-979b-9041c1e66754</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Here you go:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-3a0b865099b94a1386811ee11a32c18f/ble_5F00_app_5F00_att_5F00_mtu_5F00_throughput.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_att_5F00_mtu_5F00_throughput.zip&lt;/a&gt;. I made CODED PHY the default.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Edit: It&amp;#39;s based on SDK v16.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/236729?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 09:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35f2f440-5ed6-4c50-a2fe-d784ce5f5b80</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I have not done the other. Since I am interested in The Throughput example. We are doing a heatmap of RSSI in the indoor environment for studying BLE 5 in the university.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would appreciate if you help me with this example! If you could share the code that works with COED PHY, really would save my time for now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/236723?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 08:53:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf557ae1-9a47-4138-95c5-c3ed85876edf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Ben,&lt;/p&gt;
&lt;p&gt;It looks like the example will require a few modifications to advertise and scan with CODED PHY. Did you try the other example I linked to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/236721?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 08:49:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87f44e9f-dc10-4297-bdef-493167cba86b</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I also add this to the scan parameter:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;static ble_gap_scan_params_t m_scan_param =&lt;br /&gt;{&lt;br /&gt; .active = 0x00,&lt;br /&gt; .extended = 0x01,&lt;br /&gt; .interval = NRF_BLE_SCAN_SCAN_INTERVAL,&lt;br /&gt; .window = NRF_BLE_SCAN_SCAN_WINDOW,&lt;br /&gt; .timeout = 0x0000, // No timeout.&lt;br /&gt; .scan_phys = BLE_GAP_PHY_CODED, // BLE_GAP_PHY_CODED BLE_GAP_PHY_1MBPS&lt;br /&gt; .filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;And then I added this line of code:&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;nbsp; err_code = sd_ble_gap_scan_start(&amp;amp;m_scan_param, &amp;amp;m_scan_buffer);&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;to scan_start() function.&lt;/p&gt;
&lt;p&gt;But still, the code doesn&amp;#39;t work and it stops after finding the Nordic device!!!&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/236707?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 08:04:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f18af071-3dec-432d-a1e4-345652ba0712</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Yes I have changed the type to&amp;nbsp;&lt;span&gt;BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;adv_params.primary_phy = BLE_GAP_PHY_CODED;&lt;br /&gt; adv_params.secondary_phy = BLE_GAP_PHY_CODED;&lt;/p&gt;
&lt;p&gt;adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But I get this :&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;[00:00:00.000,091] &amp;lt;info&amp;gt; app: Preparing the test.&lt;br /&gt;[00:00:00.000,122] &amp;lt;info&amp;gt; app: Starting advertising.&lt;br /&gt;[00:00:00.000,244] &amp;lt;info&amp;gt; app: Starting scanning.&lt;br /&gt;[00:00:00.050,292] &amp;lt;info&amp;gt; app: Device &amp;quot;Nordic_ATT_MTU&amp;quot; found, sending a connection request.&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;It found the device but then it stops!!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/236700?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 07:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ef1f45b-bcab-429d-92b3-c04d121d01c0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What did you change the type to? Should be&amp;nbsp;BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/236332?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 15:57:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e66705d-3a67-483b-b31d-98c4b5dc4612</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thank you very much for the prompt reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, I tried to use the CODED PHY for advertisement in ATT_MTU_Throuput example but I am not successful.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I changed the following line of codes:&lt;/p&gt;
&lt;p&gt;adv_params.primary_phy = BLE_GAP_PHY_1MBPS;&lt;br /&gt; adv_params.secondary_phy = BLE_GAP_PHY_1MBPS;&lt;/p&gt;
&lt;p&gt;adv_params.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I run it on the board, it does not throw an error but just simply stops!&lt;/p&gt;
&lt;p&gt;Do you know the reason?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertisement with LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/236275?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 14:06:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:346e3d04-7957-4522-8dba-1739a61e47ad</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Ben,&lt;/p&gt;
&lt;p&gt;Yes, our S140 Softdevice supports CODED PHY. You can easily test this if you have access to two 52840 DK.&amp;nbsp;The&amp;nbsp;&lt;span&gt;&lt;a title="Experimental: ATT_MTU Throughput Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_att_mtu.html?cp=7_1_4_2_1_0"&gt;ATT_MTU Throughput Example&lt;/a&gt;&amp;nbsp;includes this mode. I have also posted a&amp;nbsp;modified version of the ble_app_uart/ble_app_uart_c here&lt;/span&gt;:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40476/unable-to-convert-to-long-range-after-looking-at-umpteen-examples--/157300#157300"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/40476/unable-to-convert-to-long-range-after-looking-at-umpteen-examples--/157300#157300&lt;/a&gt;&amp;nbsp;that sets the&amp;nbsp;max output power as well as using code phy.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>