<?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>nrf_ble_scan_on_adv_report() never called</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45251/nrf_ble_scan_on_adv_report-never-called</link><description>Hi, I am using the UART Client and UART Peripheral example codes on 2 custom boards that have BL652 with NRF52832 with SDK 15.3.0. The Peripheral code seems to work perfect in isolation and I am able to connect and send data to the device using NRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Apr 2019 12:08:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45251/nrf_ble_scan_on_adv_report-never-called" /><item><title>RE: nrf_ble_scan_on_adv_report() never called</title><link>https://devzone.nordicsemi.com/thread/183790?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 12:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76e3882b-f52d-4839-a5ec-e4df3ab422cf</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Thank you for the update. Glad to hear you found the cause.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_ble_scan_on_adv_report() never called</title><link>https://devzone.nordicsemi.com/thread/182035?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 09:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a3550f0-32a9-42d6-b710-d56db8bb5db1</guid><dc:creator>prodey</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I finally established the root cause. This turned out to be antenna related issue. For some reason, the internal antenna on the BL652 device that we are using is not working reliably.&amp;nbsp;I mounted a flag-type antenna on both central and peripheral and after that, I can successfully communicate using our boards on both ends.&amp;nbsp;&lt;br /&gt;Thanks for the suggestions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_ble_scan_on_adv_report() never called</title><link>https://devzone.nordicsemi.com/thread/181413?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 20:05:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c0644c9-018f-42e4-86b9-30ef741c62a6</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;The board file is a file that contains your hw conofiguration It is an abstraction so you can map GPIOs to sdk defines in case there are differences in hw. I assume that in your case there could be different usage of gpios on the custom board compared to the DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_ble_scan_on_adv_report() never called</title><link>https://devzone.nordicsemi.com/thread/179509?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 12:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35af0b8a-7e63-4106-bc52-c459bfb41560</guid><dc:creator>prodey</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I do not get any error messages while debugging on the central code. I checked that the return value of&amp;nbsp;&lt;span&gt;sd_ble_gap_scan_start() is also&amp;nbsp;NRF_SUCCESS.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you please elaborate on what is a &amp;#39;board file&amp;#39;? Is it a specific header file that can affect the performance of the device?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_ble_scan_on_adv_report() never called</title><link>https://devzone.nordicsemi.com/thread/179277?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 14:48:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c91c7d1b-1bcc-4a78-ad80-296156c2bc7c</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I assume you have tried debugging the central board? Do you get any error messages or anything? Is the Softdevice initialized succesfully? What is the return value for sd_ble_gap_scan_start?&lt;/p&gt;
&lt;p&gt;Unfortunately I am not familiar with the BL652, but you should check the board file I guess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_ble_scan_on_adv_report() never called</title><link>https://devzone.nordicsemi.com/thread/178594?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 09:26:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d5c09c8-3fbe-43e2-b524-02a7093f459c</guid><dc:creator>prodey</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Sorry for the typo. I meant &amp;#39;does&amp;#39; and not &amp;#39;dies&amp;#39;.&lt;br /&gt;I am using the unmodified SDK UART central and peripheral codes. Both custom boards work as peripherals without any issue.&lt;br /&gt;Since posting the question, I have some more observations. I used a BL652 evaluation board BL652-DK and hooked up debugger with the same UART central code but the issue is same and the events for scan_evt_handler() and ble_nus_c_evt_handler() seem to never get triggered. &lt;br /&gt;Then I conencted a NRF eval board PCA10040 with the same same UART central code. With this, I am able to connect to and communicate with the peripheral implemented on our custom board.&lt;br /&gt;So, the exact same code for BLE UART central works with the PCA10040 but does not work with BL652, neither on our board, nor on the BL652 evaluation board. The peripheral code works with both though. In the central, I tried to change the macro NRF_SDH_CLOCK_LF_ACCURACY to various values but with no success. I also tried to configure the module of internal clock by setting NRF_SDH_CLOCK_LF_SRC to 0, but with no success.&lt;br /&gt;Any suggestions, what may be going wrong? Are there any special considerations in hardware or in sdk_config.h while using BL652?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_ble_scan_on_adv_report() never called</title><link>https://devzone.nordicsemi.com/thread/178347?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 12:46:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaefa326-7bff-4aac-b2cd-94cf72d9a03b</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using unmodified versions of the SDK uart client and uart peripheral projects?&lt;/p&gt;
&lt;p&gt;Have you updated the projects to match the clock specification for your custom boards?&lt;/p&gt;
&lt;p&gt;Does both custom boards work as a peripheral?&lt;/p&gt;
&lt;p&gt;Have you enabled any logging? do you get any error message when the central &amp;quot;dies&amp;quot;? not sure what you mean by dies, reset? sleep?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>