<?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>Concurrent central and observer with s130.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15219/concurrent-central-and-observer-with-s130</link><description>I use nrf51822xxac, sdk 9.0.0, sd130. When I connect to some beacon as a central I no longer receive BLE_GAP_EVT_ADV_REPORT and I am not able to receive advertising packets. When mobile phone connects to my device and I am peripheral I still receive</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jul 2016 10:18:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15219/concurrent-central-and-observer-with-s130" /><item><title>RE: Concurrent central and observer with s130.</title><link>https://devzone.nordicsemi.com/thread/58131?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2016 10:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04f2b525-fa9a-4f6a-bf4b-03f1940cfe61</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure what example you are using, but in for example ble_app_hrs_c the scanning will be stopped when a desired advertisment is recevied, see the handling of the BLE_GAP_EVT_ADV_REPORT event in on_ble_evt(). There you have sd_ble_gap_scan_stop(), and then sd_ble_gap_connect() is called to try to connect. This will start a scan just like with sd_ble_gap_scan_start() only that it will send a connection request if a desired advertisment is received again.&lt;/p&gt;
&lt;p&gt;When the connection is established, and the DM_EVT_CONNECTION event is received in device_manager_event_handler() the scan will be restarted, see scan_start().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>