<?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>Some problems in sdk11 example ble_app_hrs_rscs_relay?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15338/some-problems-in-sdk11-example-ble_app_hrs_rscs_relay</link><description>Hi there!
I found out that there is some problem in the example ble_app_hrs_rscs_relay in nRF5_SDK_11.0.0_89a8197. I want to restart advertising when adv timeout. I did as follow: 
 static void on_adv_evt(ble_adv_evt_t ble_adv_evt)
{
 switch (ble_adv_evt</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jan 2017 13:04:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15338/some-problems-in-sdk11-example-ble_app_hrs_rscs_relay" /><item><title>RE: Some problems in sdk11 example ble_app_hrs_rscs_relay?</title><link>https://devzone.nordicsemi.com/thread/58624?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2017 13:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d73ff57-fc46-47fe-9634-c725ff4a4567</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/103975/sdk12-ble_app_hrs_rscs_relay-has-no-ble_adv_evt_idle-in-on_adv_evt/?answer=104250#post-id-104250"&gt;This &lt;/a&gt; thread show how the problem can be solved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some problems in sdk11 example ble_app_hrs_rscs_relay?</title><link>https://devzone.nordicsemi.com/thread/58623?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 11:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12f5d955-7893-43f7-9e4a-3c4ee520beff</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Probably is. I will report it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some problems in sdk11 example ble_app_hrs_rscs_relay?</title><link>https://devzone.nordicsemi.com/thread/58622?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 11:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2824eae-a1c1-40e7-9a38-7cb492932096</guid><dc:creator>Manhull1989</dc:creator><description>&lt;p&gt;yes, always calling ble_advertising_on_ble_evt(p_ble_evt); is ok, and the same as ble_advertising_on_ble_evt(p_ble_evt); I can not receive scan timeout event! I think it is a bug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some problems in sdk11 example ble_app_hrs_rscs_relay?</title><link>https://devzone.nordicsemi.com/thread/58621?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 11:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13ad735b-ef91-4901-afc0-330e519d65ac</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It seems to be a bug yes, but I&amp;#39;m not sure only calling it when role equals BLE_GAP_ROLE_INVALID makes sense. If you look inside ble_advertising_on_ble_evt(), at the handling of the BLE_GAP_EVT_CONNECTED event, you can see that this will never happen.&lt;/p&gt;
&lt;p&gt;What about always calling ble_advertising_on_ble_evt(p_ble_evt);?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>