<?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>nRF51422 Central not always detecting peripheral&amp;#39;s beacon and ble services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11363/nrf51422-central-not-always-detecting-peripheral-s-beacon-and-ble-services</link><description>Hello, 
 I am developing two systems. One is a peripheral that advertises both a beacon and a ble peripheral custom service (using nRF51822 with s110 softdevice). The second is a central that is supposed to both detect the beacon and be able to connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Jan 2016 17:04:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11363/nrf51422-central-not-always-detecting-peripheral-s-beacon-and-ble-services" /><item><title>RE: nRF51422 Central not always detecting peripheral's beacon and ble services</title><link>https://devzone.nordicsemi.com/thread/42822?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2016 17:04:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03955666-2608-4332-a09a-25db31d9351f</guid><dc:creator>Dan K.</dc:creator><description>&lt;p&gt;I also have the beacon and peripheral service working together. The problem is that on my other device, running as a central (S130), I can have periods where it seems to stop seeing the beacon advertising packets. During these periods, the Master Control Panel shows both the beacon and the service, but as the debug log below shows, my central scanner doesn&amp;#39;t pick up the beacon. It was much worse when the BLE service was advertising more frequently (480ms vs. 2000ms). My application relies on being able to pick up the beacon at least every 20 seconds, but during these periods, it can go &amp;gt; 30 seconds without registering the beacon.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;(Most of the time both beacon and BLE service are found)
[11:45:23] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:24] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:25] BLE service identified
[11:45:26] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:26] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:27] BLE service identified
[11:45:28] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:28] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:30] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:31] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:31] BLE service identified
[11:45:33] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:33] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:34] BLE service identified
[11:45:35] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:36] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:36] BLE service identified
[11:45:38] Beacon identified: M: 13330 m: 30806 P: -61
[11:45:39] BLE service identified
...
(Periodically, the beacon stops being found by the central)
[11:51:23] Beacon identified: M: 13330 m: 30806 P: -61
[11:51:24] BLE service identified
[11:51:25] Beacon identified: M: 13330 m: 30806 P: -61
[11:51:26] BLE service identified
[11:51:28] Beacon identified: M: 13330 m: 30806 P: -61
[11:51:29] BLE service identified
[11:51:33] BLE service identified
[11:51:35] BLE service identified
[11:51:38] BLE service identified
[11:51:40] BLE service identified
[11:51:43] BLE service identified
[11:51:45] BLE service identified
[11:51:49] BLE service identified
[11:51:51] BLE service identified
[11:51:54] Beacon identified: M: 13330 m: 30806 P: -61
[11:51:56] BLE service identified
[11:51:57] Beacon identified: M: 13330 m: 30806 P: -61
[11:51:59] BLE service identified
[11:51:59] Beacon identified: M: 13330 m: 30806 P: -61
[11:52:02] Beacon identified: M: 13330 m: 30806 P: -61
[11:52:03] BLE service identified
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 Central not always detecting peripheral's beacon and ble services</title><link>https://devzone.nordicsemi.com/thread/42821?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2016 09:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f356739-eca7-41d0-a183-805585045afd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Seems to be working fine here. I tested with SDK 10.0.0 on PCA10028. I just added a app_beacon_start() after ble_advertising_start(). I didn&amp;#39;t modify the intervals in the example, 400 ms for the beacon, and 480 ms for the hrs.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/double_5F00_adv.pcapng"&gt;Here&lt;/a&gt; is the sniffer trace.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 Central not always detecting peripheral's beacon and ble services</title><link>https://devzone.nordicsemi.com/thread/42820?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2016 15:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6414847c-0662-43a0-bde9-533984c276d6</guid><dc:creator>Dan K.</dc:creator><description>&lt;p&gt;I&amp;#39;m only calling ble_advertising_start() once to start advertising the ble service. I&amp;#39;m using the app_beacon_start() function in advertiser_beacon.c taken directly from the examples to start the beacon, which I believe is using timeslots to provide both the beacon and ble service advertising effectively simultaneously.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 Central not always detecting peripheral's beacon and ble services</title><link>https://devzone.nordicsemi.com/thread/42818?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2016 14:25:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa7382d1-9cd1-40f4-a9b8-336ca12a2332</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t understand. You can only have one advertisment running at the time. If you try to call sd_ble_gap_adv_start() when you are advertising, it will return error 0x00000008 = NRF_ERROR_INVALID_STATE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 Central not always detecting peripheral's beacon and ble services</title><link>https://devzone.nordicsemi.com/thread/42819?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2016 21:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb230fea-0028-435a-85c0-616cc6ada381</guid><dc:creator>Dan K.</dc:creator><description>&lt;p&gt;Initially, the beacon was advertising at a 480 ms interval, and the connectable service at 400 ms. Changing this to 500 ms and 2000 ms, respectively, at least allowed me to see both, but not always reliably. The beacon and ble service are running simultaneously, and the advertising timeout is 0 (always advertising). Supervision timeout is 40 sec and slave latency is 0. The scan interval is 100 ms and scan window is 50 ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51422 Central not always detecting peripheral's beacon and ble services</title><link>https://devzone.nordicsemi.com/thread/42817?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2016 10:57:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07b12aff-579e-43eb-8d41-7784163c9fe2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What are your advertising intervals, what are you timeouts, and when do you change between doing connectable advertising and non-connectable advertising? What is you scan window and scan interval?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>