<?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>Resetting NUS - USB to resume scan</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122350/resetting-nus---usb-to-resume-scan</link><description>I have modified the NUS-CDC application for the Dongle so that I can now scan, report available Peripherals, and connect to a specific one. I need to be able to cleanly disconnect the BLE connection so that I can resume scanning, without dropping the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Jun 2025 20:06:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122350/resetting-nus---usb-to-resume-scan" /><item><title>RE: Resetting NUS - USB to resume scan</title><link>https://devzone.nordicsemi.com/thread/539785?ContentTypeID=1</link><pubDate>Wed, 18 Jun 2025 20:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa07e766-1b1e-4121-bc16-5026bd6f050e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Oh, you are using the nRF5 SDK, and not the nRF Connect SDK (NCS), based on the API that you mention, sd_...().&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That is fine. Shouldn&amp;#39;t make a difference.&lt;/p&gt;
&lt;p&gt;I am glad to hear that you got it working!&lt;/p&gt;
&lt;p&gt;Yes, there are some options that you can use to automatically start scanning after a disconnect event, if I recall correctly.&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><item><title>RE: Resetting NUS - USB to resume scan</title><link>https://devzone.nordicsemi.com/thread/539782?ContentTypeID=1</link><pubDate>Wed, 18 Jun 2025 19:49:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7da5fe0e-12be-464b-8df9-5867b38ba63a</guid><dc:creator>SteveHx</dc:creator><description>&lt;p&gt;I already found the sd_ble_gap_disconnect function, which seems to do the job. At this point I pretty much have the Dongle firmware working as I need it to; now I need to get my GUI to play nice with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resetting NUS - USB to resume scan</title><link>https://devzone.nordicsemi.com/thread/539728?ContentTypeID=1</link><pubDate>Wed, 18 Jun 2025 13:52:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:984e9be9-82dd-4d7c-880f-e387268ff646</guid><dc:creator>Edvin</dc:creator><description>[quote user=""]I have tried several different approaches, none of which work thus far. [/quote]
&lt;p&gt;Have you tried calling the start scan API again? If it doesn&amp;#39;t work, what does that function return?&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>