<?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>Difference Advertising Data and ScanRSP data.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35499/difference-advertising-data-and-scanrsp-data</link><description>Hello Nordic, 
 
 I have to transmit data from the nRF Chip(now i&amp;#39;m testing nRF52832 DK Board) to a PC on UART serial. 
 Each beacon has transmitted advertising and scanRSP data. 
 I have confirmed that following the transmission of advertising data comes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jun 2018 08:23:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35499/difference-advertising-data-and-scanrsp-data" /><item><title>RE: Difference Advertising Data and ScanRSP data.</title><link>https://devzone.nordicsemi.com/thread/136856?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 08:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45281b71-0b4d-42f0-bd62-32d0b72f63ad</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What are your scanning parameters, scan_interval and scan_window set to?&lt;/p&gt;
&lt;p&gt;If you send the projects, I can see if I can figure out the reason.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difference Advertising Data and ScanRSP data.</title><link>https://devzone.nordicsemi.com/thread/136821?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 00:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86498f83-0d76-4ac5-823a-a6ae9fc5ddd5</guid><dc:creator>leejh</dc:creator><description>&lt;p&gt;Thanks for your trying.&lt;/p&gt;
&lt;p&gt;I have tested with LED. When the scanrsp == 1, LED is on and the other side, LED is off.&lt;/p&gt;
&lt;p&gt;The result is that the LED is Blinky but the interval is very slowly.&lt;/p&gt;
&lt;p&gt;I have configured scanning every sec. but the scan rsp data does not come out every sec.&lt;/p&gt;
&lt;p&gt;A few tens of seconds short, and a few minutes long.&lt;/p&gt;
&lt;p&gt;I think the problem was caused BLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difference Advertising Data and ScanRSP data.</title><link>https://devzone.nordicsemi.com/thread/136661?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 07:57:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5448891-48fe-4c45-a9e9-38ea763b85b2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am still trying to figure out whether the issue is BLE related, or UART related. Do you get the event when you receive the scan response? What happens if you e.g. toggle a pin/LED when scan_rsp == 0 and toggle another when scan_rsp == 1? Does both of the pins toggle?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would it be possible for me to recreate the issue that you are seeing? If you could send both the beacon application and the scanner, I can see if I can see the same behavior as you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difference Advertising Data and ScanRSP data.</title><link>https://devzone.nordicsemi.com/thread/136630?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 00:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e8e8a35-35aa-4e5a-b9f7-d5acfaa78b72</guid><dc:creator>leejh</dc:creator><description>&lt;p&gt;Yes, I know that the ADV data and Scan Rsp data is same report.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context)
{
    ret_code_t            err_code;
    ble_gap_evt_t const * p_gap_evt = &amp;amp;p_ble_evt-&amp;gt;evt.gap_evt;
    uint8_t rssi_value;
    ble_gap_addr_t peer_address;
   
   
    switch (p_ble_evt-&amp;gt;header.evt_id)
    {
        case BLE_GAP_EVT_ADV_REPORT:
        {
            ble_gap_evt_adv_report_t const * p_adv_report = &amp;amp;p_gap_evt-&amp;gt;params.adv_report;
            if(p_adv_report-&amp;gt;scan_rsp == 1)
            {
                for(int i=0; i&amp;lt;31; i++)
                {
                  SEGGER_RTT_printf(0, &amp;quot;%02x&amp;quot;, p_adv_report-&amp;gt;data[i]);
                  app_uart_put(p_adv_report-&amp;gt;data[i]);
                }
                SEGGER_RTT_WriteString(0, &amp;quot;\n&amp;quot;);
            }
            
            else if(p_adv_report-&amp;gt;scan_rsp == 0)
            {
              for(int i=0; i&amp;lt;31; i++)
                {
                  SEGGER_RTT_printf(0, &amp;quot;%02x&amp;quot;, p_adv_report-&amp;gt;data[i]);
                  app_uart_put(p_adv_report-&amp;gt;data[i]);
                }
                SEGGER_RTT_WriteString(0, &amp;quot;\n&amp;quot;);
            }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So, I have tested by using the Oscilloscope to confirm the TX Pin Signal of&amp;nbsp; nRF52832 chip on the board(P0.06).&lt;/p&gt;
&lt;p&gt;When&amp;nbsp;the each advertising data and the scan rsp data was sent, the TX pin of the DK board has a correct signal.&lt;/p&gt;
&lt;p&gt;However, in the beacon that i made using the nRF52832 chip, the advertising data showed a correct signal, but the scan ras data did not come out. This was also measured at the TX pin (P0.06).&lt;/p&gt;
&lt;p&gt;There are same firmware and same enviroment in the DK board and my beacon.&lt;/p&gt;
&lt;p&gt;If my beacon is designed in the wrong way and the signal does not come out properly, why is the ADV data coming out well and not the scan data?&lt;/p&gt;
&lt;p&gt;Why this reason happend? I don&amp;#39;t understand... thanks Edvin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difference Advertising Data and ScanRSP data.</title><link>https://devzone.nordicsemi.com/thread/136579?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 13:54:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea22e6c6-0fe1-4239-ac80-c9c4d588564b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This sounds like an application issue. There is no reason why you should not be able to print the Scan response data.&lt;/p&gt;
&lt;p&gt;I assume that you are trying to print the data in the BLE_GAP_EVT_ADV_REPORT event, right?&lt;/p&gt;
&lt;p&gt;Could you include the snipped inside this event? How do you transmit the data from the advertising packets?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you see that event for the scan response as well?&lt;/p&gt;
&lt;p&gt;Do you try to print something, which you can&amp;#39;t see, or are you missing the events?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>