<?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>Scan Beacons</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16898/scan-beacons</link><description>I&amp;#39;m trying to scan beacons. This is what I added to the example ble_app_uart_c : 
 case BLE_GAP_EVT_ADV_REPORT:
{ 
 const ble_gap_evt_adv_report_t * p_adv_report = &amp;amp;p_gap_evt-&amp;gt;params.adv_report;
 
 
 printf(&amp;quot;%X%X%X%X-%X%X-%X%X-%X%X-%X%X%X%X%X%X</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Oct 2016 13:11:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16898/scan-beacons" /><item><title>RE: Scan Beacons</title><link>https://devzone.nordicsemi.com/thread/64726?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 13:11:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62e38ad7-a31d-428d-aed1-b8ac9cb3f1e8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The code above will print the first 16 bytes of the advertisment. In hexa. p_adv_report-&amp;gt;dlen tells you how much data is in the advertisment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Beacons</title><link>https://devzone.nordicsemi.com/thread/64724?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 12:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e230c417-44ec-428f-8cf0-c919a92f0150</guid><dc:creator>mahcih</dc:creator><description>&lt;p&gt;Just to be sure: Is the code that I showed here the right way to display the advertising packet?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Beacons</title><link>https://devzone.nordicsemi.com/thread/64723?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 12:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc93c874-594f-472c-81d4-962ff8147aba</guid><dc:creator>mahcih</dc:creator><description>&lt;p&gt;The uuid that I get when running the code is different than the one of the beacons.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Beacons</title><link>https://devzone.nordicsemi.com/thread/64722?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 12:10:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29e6eaa4-a639-4500-bc80-44cd4ed006c3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;So, do you know the encoding? If you don&amp;#39;t, how do you know the output is wrong. If you do, what output do you get, and what output do you expect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Beacons</title><link>https://devzone.nordicsemi.com/thread/64721?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 12:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4979a8f-2824-4ac9-add7-974657aefb0b</guid><dc:creator>mahcih</dc:creator><description>&lt;p&gt;I have 12 Beacons from 12 different manufacturers, so the encoding is different. I do get an output but it shows me wrong uuids of the beacons.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Beacons</title><link>https://devzone.nordicsemi.com/thread/64725?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 12:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:764e6de9-ff44-4349-9abc-5cb5653a7588</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What kind of beacon? Do you know how the advertising data is encoded?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Beacons</title><link>https://devzone.nordicsemi.com/thread/64720?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 11:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1dafce9-c275-4300-9d8a-540785edf62a</guid><dc:creator>mahcih</dc:creator><description>&lt;p&gt;I want to print the uuid of the beacon and major minor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Beacons</title><link>https://devzone.nordicsemi.com/thread/64719?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 07:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abaa851c-78c2-4b02-af9b-da4c703768e2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What exactly do you want to print? The raw advertising data? What do you get?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>