<?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 Connect SDK Scan Timeout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81756/nrf-connect-sdk-scan-timeout</link><description>Can you please tell me why I get an -ENOTSUP error when I set the scan .timeout parameter to anything but 0? Is the suggested workaround to use RTOS functionality to timeout instead?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Nov 2021 14:01:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81756/nrf-connect-sdk-scan-timeout" /><item><title>RE: nRF Connect SDK Scan Timeout</title><link>https://devzone.nordicsemi.com/thread/339250?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 14:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5b8e3e9-f332-41b7-9cf8-ff829ba689b4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Timeout when scanning is part of the extended advertising HCI command&amp;nbsp;so you should add&amp;nbsp;&lt;code&gt;CONFIG_BT_EXT_ADV=y&lt;/code&gt; in your prj.conf. (Alternatively handle this in your application code and call&amp;nbsp;&lt;code&gt;bt_le_scan_stop()&lt;/code&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>