<?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>Switching between advertising and scanning in the same application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9808/switching-between-advertising-and-scanning-in-the-same-application</link><description>Hello, 
 In my code I would like to switch between BLE advertising and listening nearby devices (and save their RSSI) in the same code. After each advertising period, I would like the device to scan for a short amount of time (say 1s) and then switch</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Oct 2015 17:55:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9808/switching-between-advertising-and-scanning-in-the-same-application" /><item><title>RE: Switching between advertising and scanning in the same application</title><link>https://devzone.nordicsemi.com/thread/36355?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2015 17:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afa18881-5b6d-4aa6-9ae9-ed81e354c5c1</guid><dc:creator>kirkus</dc:creator><description>&lt;p&gt;The S130 SoftDevice supports both functions concurrently.&lt;/p&gt;
&lt;p&gt;The example app &amp;quot;experimental_ble_app_s130_example_c_s130_pca10028 (BLE Dual role application)&amp;quot; has most of the functionality.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching between advertising and scanning in the same application</title><link>https://devzone.nordicsemi.com/thread/36354?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2015 17:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c2562fc-89ac-48e8-bdc0-20d5f671bc3b</guid><dc:creator>Alessandro</dc:creator><description>&lt;p&gt;Hi Sarah,&lt;/p&gt;
&lt;p&gt;I am using this library (&lt;a href="https://github.com/NordicSemiconductor/nRF51-multi-role-conn-observer-advertiser)"&gt;github.com/.../nRF51-multi-role-conn-observer-advertiser)&lt;/a&gt; which allows to run and advertiser (or a scanner) concurrently with the Softdevice. So, I advertise using the Softdevice S110 and scan using the observer part of this library.&lt;/p&gt;
&lt;p&gt;If you begin from the observer example it is quite easy to add the advertising part.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>