<?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>Start scanning...failed (err -5)    NCS2.2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94853/start-scanning-failed-err--5-ncs2-2-0</link><description>Hello, 
 update to NCS2.2.0,VScode, nRF5340DK 
 C:\ncs\v2.2.0\zephyr\samples\bluetooth\periodic_sync\ 
 no change any code,got error, 
 *** Booting Zephyr OS build v3.2.99-ncs1 *** Starting Periodic Advertising Synchronization Demo Checking LED device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Jan 2023 15:25:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94853/start-scanning-failed-err--5-ncs2-2-0" /><item><title>RE: Start scanning...failed (err -5)    NCS2.2.0</title><link>https://devzone.nordicsemi.com/thread/403016?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 15:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89e54d6d-54c3-4273-b5cd-cb63cade8cc0</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Yo,&lt;/p&gt;
&lt;p&gt;You need to&amp;nbsp;enable periodic sync in the child image as well. &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_multi_image.html#image-specific-variables"&gt;How this is done is described here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Keep in mind that it might be tempting to change the configurations directly in the hci_rpmsg project, though if you do this you change the configuration for all other projects that use this as well - it is not just a part of you local sample project. Instead, this is what I&amp;#39;d recommend:&lt;/p&gt;
&lt;p&gt;1. Add a child image folder in the build folder. Name it child_image.&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2474.pastedimage1672759291450v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2. Add a hci_rpmsg.conf configuration file to it.&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5826.pastedimage1672759344343v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3. Add the configurations&amp;nbsp; from your previous project to it.&lt;/p&gt;
&lt;p&gt;I believe this might work for you too&amp;nbsp;Jeffrey.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Start scanning...failed (err -5)    NCS2.2.0</title><link>https://devzone.nordicsemi.com/thread/402119?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2022 22:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194894db-ce35-4d43-ad34-68d9306bb0bc</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;I&amp;#39;m getting a similar&amp;nbsp;error trying to run the Zephyr &amp;#39;unicast_audio_client&amp;#39; sample on the 5340.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;wrn&amp;gt; bt_hci_core: opcode 0x2041 status 0x01
Scanning failed to start (err -5)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Start scanning...failed (err -5)    NCS2.2.0</title><link>https://devzone.nordicsemi.com/thread/401130?ContentTypeID=1</link><pubDate>Sat, 17 Dec 2022 07:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37084dcf-2dd7-4310-a843-99ad19e63cbb</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;my project is long rang&amp;nbsp;communication that 5340+21540,&lt;/p&gt;
&lt;p&gt;another project and le audio.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Start scanning...failed (err -5)    NCS2.2.0</title><link>https://devzone.nordicsemi.com/thread/401104?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2022 16:39:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94c3e343-cb49-4906-a127-021679e1673d</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;I am not exactly sure what the issue is, most likely it is related to&amp;nbsp;&lt;span&gt;related to the communication between the application and network core, since the error returned is -5 (EIO). I need a bit more time to look into this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is periodic sync important to your project? Could you expand a bit more on what you&amp;#39;re trying to achieve?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Start scanning...failed (err -5)    NCS2.2.0</title><link>https://devzone.nordicsemi.com/thread/400904?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 15:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec1497a5-b3bc-4c49-9acb-15850124bddf</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Typically you&amp;#39;ll find a list over the boards that we&amp;#39;ve tested and made sure works with a sample &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_lbs/README.html#requirements"&gt;in its documentation&lt;/a&gt;. Though, as this is a zephyr sample (as opposed to the the ones in NCS), it might not necessarily work with our boards right out of the box; you might have to make some modifications. It seems that nRF52832 is listed as a supported device for this sample though.&lt;/p&gt;
&lt;p&gt;I do see the same issue as you on our 5340DK, though it does work with our nRF52s. I&amp;#39;ll look a bit further at this issue tomorrow.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>