<?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>Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19275/why-am-i-getting-invalid_param-from-sd_ble_gap_scan_start</link><description>I am trying to start scanning for devices.
I have changed from the example (ble_app_mulitlink_central_s130_pca10028) only 
 
 clock source to NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM 
 instead of nRF51422 I have nRF51822 linked through Debug in ports to PCA10028</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Feb 2017 08:28:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19275/why-am-i-getting-invalid_param-from-sd_ble_gap_scan_start" /><item><title>RE: Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/thread/74704?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2017 08:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57b94c62-fe83-4959-9268-8c3c960f28a2</guid><dc:creator>Artur</dc:creator><description>&lt;p&gt;The solution was almost obvious.
In my opinion, the most annoying thing in nRF MCus are SoftDevices with its compability matrix.&lt;/p&gt;
&lt;p&gt;The solution:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;get stable API (SDK10 not SDK11)&lt;/li&gt;
&lt;li&gt;get proper SD130 (v1.0.0)&lt;/li&gt;
&lt;li&gt;set RAM and ROM accordingly&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/thread/74703?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 11:51:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1343a32-d379-420f-8953-c139e681a5d3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I see, it might work as the SWDIO/SWCLK inputs of the nRF chip is connected both to  Debug In port and the  interface MCU. You should use Debug out when programming the external chip (see page 20 of the &lt;a href="http://www.nordicsemi.com/eng/nordic/Products/nRF51-DK/nRF51-DK-UG/38677"&gt;nRF51-DK-UG&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/thread/74702?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 10:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8b61b1d-8743-4336-b845-b3b00cce0367</guid><dc:creator>Artur</dc:creator><description>&lt;p&gt;But with my DebugIn connection I was able to flash my external MCU, debug it and I have made working beacon application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/thread/74701?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 14:12:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:282fb063-6357-418e-8599-22651cff7fc1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You can use the RC oscillator with any board, you don&amp;#39;t need an external crystal. Did you connect the board to the Debug In port or Debug Out? To flash the external board, you need to connect it to Debug out port, Debug in is for flashing the PCA10028 with an external debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/thread/74700?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 13:56:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f560779e-79c7-4822-8282-3aba05443b23</guid><dc:creator>Artur</dc:creator><description>&lt;p&gt;Hi,
This was another problem and its workaround. I have changed clock to synth because my app could not pass SOFTDEVICE_HANDLER_INIT() and I have read about this solution.
I emphasize that I have another board linked to Debugin port of PCA 10028, but external clock is present there too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/thread/74699?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 13:43:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb923cbc-91cf-4db4-8491-01dcf8f9b8f8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How did you define the clock source? I testet this by adding your changes to the multilink central example in SDK 11, and I don&amp;#39;t get any error codes.&lt;/p&gt;
&lt;p&gt;Is there any reason why you want to use the synthesized LF clock instead of the &lt;a href="https://devzone.nordicsemi.com/question/953/what-low-frequency-clock-sources-can-i-use/?answer=955#post-id-955"&gt;RC oscillator&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/thread/74698?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 10:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7e43dc5-ca95-41cc-b44c-798b4cbbc88e</guid><dc:creator>Artur</dc:creator><description>&lt;p&gt;I am not sure because my app is straight from Keil example but I think it is written 11.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why am I getting INVALID_PARAM from  sd_ble_gap_scan_start()?</title><link>https://devzone.nordicsemi.com/thread/74697?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 10:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d186446-1446-4b4b-92d8-df4e0914451e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>