<?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 receive manufacturer specific data when using the LE Coded PHY</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48143/how-to-receive-manufacturer-specific-data-when-using-the-le-coded-phy</link><description>Hello, I&amp;#39;m trying to get manufacturer specific data from peripheral, but I don&amp;#39;t know how to do this when the peripheral is using extended advertisement with LE Coded PHY. 
 I&amp;#39;m using long_range_demo examples [ https://github.com/NordicPlayground/nRF52</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2019 07:58:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48143/how-to-receive-manufacturer-specific-data-when-using-the-le-coded-phy" /><item><title>RE: How to receive manufacturer specific data when using the LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/199135?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 07:58:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37fe5dad-821d-4e5a-9d79-62a309136f98</guid><dc:creator>ikubaku</dc:creator><description>&lt;p&gt;Sorry for the late reply. Upgrading the softdevice solved the problem, and I could send manufacture specific data with the project you attached. Thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to receive manufacturer specific data when using the LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/194102?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 12:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef11a6c5-f7c9-4e68-b462-caffd21bac5e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I quickly modified the central and peripheral example from the github repo you linked to. Please test and see if it gives you the expected result.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-ce53ad5ca6594f48a6a476e21f46a51c/nRF52_2D00_ble_2D00_long_2D00_range_2D00_demo.zip"&gt;devzone.nordicsemi.com/.../nRF52_2D00_ble_2D00_long_2D00_range_2D00_demo.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Note: I used Softdevice 6.1.1 + API headers since 6.0.0 had experimental support for scanning. Replace the s140 folder (\components\softdevice\s140) with the one from SDK 15.3.0 and make sure you&amp;#39;re uploading the correct version to your board.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to receive manufacturer specific data when using the LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/193835?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2019 08:38:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4f68cf2-43a6-4005-b7a1-f2b25b2f2500</guid><dc:creator>ikubaku</dc:creator><description>&lt;p&gt;I could confirm the example project is working with my boards. Investigating the diff file, I found I did the most of the configurations in the source code I posted first except setting buffer sizes in sdk_config.h and setting the advertising mode to fast mode. However, I don&amp;#39;t see any related definitions in&amp;nbsp;&lt;span&gt;peripheral_long_range_demo_kit/sdk_config.h, and the peripheral project does not seems to be handling the advertising mode(instead specifies the advertising interval directly). Is there any other things I&amp;#39;m missing to do?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to receive manufacturer specific data when using the LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/193553?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 07:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd153776-61ee-489c-bf45-038b77bf1291</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sorry for the delayed response. Please take a look at the example uploaded here:&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--"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/40476/unable-to-convert-to-long-range-after-looking-at-umpteen-examples--&lt;/a&gt;. I based it on the ble_app_uart_c and changed the scanner configuration to use the coded PHY. There is also a diff file included in the zip which shows the changes I made.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to receive manufacturer specific data when using the LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/192563?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 07:18:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e63b030-320d-42bf-be14-e3d9ed7b6891</guid><dc:creator>ikubaku</dc:creator><description>&lt;p&gt;No. data.len field of advertising report was zero (although the advertising packet was 26 octets long). bel_advdata_search also returned zero with the received advertising packet.&lt;/p&gt;
&lt;p&gt;Here are the modifications I made on&amp;nbsp;&lt;span&gt;central_long_range_demo_kit/main.c, and the content of&amp;nbsp;m_adv_data.scan_rsp_data.p_data after calling&amp;nbsp;ble_advdata_encode on the peripheral side.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;central_long_range_demo_kit/main.c:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//NRF_LOG_HEXDUMP_DEBUG(p_adv_report-&amp;gt;data.p_data, p_adv_report-&amp;gt;data.len);
uint16_t ofs;
uint16_t res = ble_advdata_search(p_adv_report-&amp;gt;data.p_data, len, &amp;amp;ofs, BLE_GAP_AD_TYPE_MANUFACTURER_SPECIFIC_DATA);
if(res == 0) {
  NRF_LOG_DEBUG(&amp;quot;manufdata not found.&amp;quot;);
} else {
  NRF_LOG_HEXDUMP_DEBUG(p_adv_report-&amp;gt;data.p_data+ofs, res);
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Memory dump of m_adv_data.scan_rsp_data.p_data&lt;/p&gt;
&lt;p&gt;&lt;img class="align-left" style="float:left;" alt="m_adv_data.scan_rsp_data.p_data" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3480.temp.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to receive manufacturer specific data when using the LE Coded PHY</title><link>https://devzone.nordicsemi.com/thread/191253?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 08:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97dd0029-dcc8-45de-9bdc-3eb7cf5c0ed4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The advertisement report event should give you the payload transmitted on the data channels.&amp;nbsp; Does the size of the received advertisement packet correspond with the size of the packet you sent? You can use&amp;nbsp;ble_advdata_search() to extract the manufacturer field from the encoded data.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>