<?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>Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111488/beacon-output-suddenly-stops</link><description>Hello. 
 In the BLE software being developed, the device uses nRF52840, s140 v7.2.0 or v7.3.0, and I am building a system that periodically sends a beacon (ADV_NONCONN_IND) in the peripheral role at the same time as scanning in the central role. 
 In</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jan 2025 04:13:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111488/beacon-output-suddenly-stops" /><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/520638?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 04:13:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e1a8705-8ac8-4480-b6c8-032cc386ed83</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;A tentative conclusion has been reached on the private ticket side, so I will post it here.&lt;/p&gt;
&lt;p&gt;The issue occurred in the following scenario:&lt;/p&gt;
&lt;p&gt;1. An error occurred in the initiator when connecting.&lt;br /&gt;☞ Example: The peripheral address changed after sd_ble_gap_connect(), the peripheral was shutdown, deterioration of radio wave conditions, etc.&lt;/p&gt;
&lt;p&gt;2. In SoftDevice, the initiator where the error occurred will not be able to accept the next ADV_IND.&lt;/p&gt;
&lt;p&gt;3. Because the scan timeout is set to 0 (no timeout), the initiator error state continues.&lt;/p&gt;
&lt;p&gt;4. Being unable to escape from the initiator causes the scheduler (time slot) inside the SoftDevice to lock, causing the SD to become unresponsive from the app&amp;#39;s perspective.&lt;br /&gt;☞ The SD becomes unresponsive, but the app continues to run.&lt;/p&gt;
&lt;p&gt;5. If the time slot stops working, the next beacon cannot be sent.&lt;br /&gt;☞ This was the first issue that encounted.&lt;/p&gt;
&lt;p&gt;6. Since the RADIO time slot processing will no longer work, subsequent Radio notifications will also stop.&lt;br /&gt;☞ A fail-safe measure that resets itself by monitoring the time when no response is received from the radio notification&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;This issue occurs because the peripheral address update in 1 causes 3, and also because 2 causes 3.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The solution is to set the ble_gap_scan_params_t::timeout &lt;/strong&gt;(given&amp;nbsp;by sd_ble_gap_connect)&lt;strong&gt; on the initiator where the malfunction occurs to a significant value other than 0, and to resume scanning when BLE_GAP_EVT_TIMEOUT of the BLE_GAP_TIMEOUT_SRC_CONN event occurs.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Regarding the SoftDevice fix in 2., we have received the answer that, given the state of the live cycle, unfortunately, it is highly unlikely that this issue will be fixed &lt;span&gt;&amp;nbsp;(see the&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt;&lt;span&gt;&amp;nbsp;given in 2021).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;That&amp;#39;s all.&lt;/span&gt;&lt;/p&gt;
&lt;div id="gtx-trans" style="left:115px;position:absolute;top:89px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/497008?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 14:45:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8abd8e2b-475b-4811-94c7-d9294de251d4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That sounds good. let us continue the discussion in the private ticket for now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/496945?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 11:06:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92eb8850-4679-48f7-933c-eac5db01d8cc</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;a href="https://devzone.nordicsemi.com/support/331125"&gt;A private ticket&lt;/a&gt; has been issued.&lt;br /&gt;Thank you for your continued support until the issue is resolved.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/496841?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2024 14:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b09d149e-95db-42fd-8b09-8e719d4cffe0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Iwasaki,&lt;/p&gt;
[quote user="hiroiwas"]When providing this software, the internal code contains confidential security information, so I would like to ask that you not use it for anything other than bug analysis. Is that okay?&lt;br /&gt;You can answer this ticket instead of signing an NDA.[/quote]
&lt;p&gt;We handle all prive support cases confidentlially (not that this is a public case at the moment).&lt;/p&gt;
[quote user="hiroiwas"]Also, to run it, you will need a PC with a UART connection and two or more Android smartphones.[/quote]
&lt;p&gt;Is it possibel to reproduce without Android devices? I should be able to obtain one or two for quick testing, though.&lt;/p&gt;
[quote user="hiroiwas"]If there are no problems with the above, I will send you the currently working set of the software, so please send the recipient&amp;#39;s email address to my email address.[/quote]
&lt;p&gt;Please make a private support ticket where you refer to this thread. There you can upload your code as a zip file.&lt;/p&gt;
&lt;p&gt;If it is so that this issue is difficult to consisently and fairly quickly reproduce it would be prefrable if it is possible to reproduce it usign a simpler setup. A simple setup is also benefisial for narrowing down the root cause of the issue. (We can of course inspect the code and see if we see somehting suspicious also without having been able to reproduce it on our end).&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/496593?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 11:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06f88168-0917-4402-a132-e89630fa8c81</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;I have something to confirm.&lt;br /&gt;&lt;br /&gt;When providing this software, the internal code contains confidential security information, so I would like to ask that you not use it for anything other than bug analysis. Is that okay?&lt;br /&gt;You can answer this ticket instead of signing an NDA.&lt;br /&gt;&lt;br /&gt;Also, to run it, you will need a PC with a UART connection and two or more Android smartphones.&lt;br /&gt;&lt;br /&gt;If there are no problems with the above, I will send you the currently working set of the software, so please send the recipient&amp;#39;s email address to my email address.&lt;br /&gt;&lt;br /&gt;If there are any problems, we will need to create a subset with limited functionality in order to reproduce the phenomenon, so this will take some time, including confirming that the phenomenon can be reproduced with the subset.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/496177?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 10:32:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06433375-a810-4bc3-9d58-d2c16d84dec6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see. I understand that this issue is difficult to reproduce, but are you ablet share a project that can reproduce this on a DK (given enough time)?&lt;/p&gt;
&lt;p&gt;Regardgin the other thread that is using the nRF Connect SDK which&amp;nbsp;is using a different Bluetooth stack (though the controller / link layer inherits components from the SoftDevice).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/496174?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 10:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25585ba5-9a5f-40e0-8044-300a5e9dab46</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;&amp;gt; This was fixed in SoftDevice version v7.3.0 though&lt;/p&gt;
&lt;p&gt;Currently the SoftDevice version that is having the issue is v7.3.0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; It is regardless important to process SoftDevice events in a timely manner.&lt;/p&gt;
&lt;p&gt;The most time-consuming BLE event is the process between receiving NRF_BLE_SCAN_EVT_NOT_FOUND(SCAN_RSP) and calling sd_ble_gap_connect (a maximum of about 100 ms).&lt;br /&gt;Specifically, what should be the upper limit for this event processing time?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; Do you know more about when this issue occurs?&lt;/p&gt;
&lt;p&gt;This issues always occurred right after sd_ble_gap_connect in the NRF_BLE_SCAN_EVT_NOT_FOUND event.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; Could it be that the application have not pulled events in a long time due to other activity?&lt;/p&gt;
&lt;p&gt;The logs at the time the problem occurred show no evidence of any events other than BLE being active.&lt;/p&gt;
&lt;p&gt;In fact, no BLE events (&amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: xx) have been issued from the SD card since sd_ble_gap_connect at the time of the problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; And if you use the SoftDvice hanler with app scheduler,&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;No, SoftDevice events are set to use interrupts.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;#define NRF_SDH_DISPATCH_MODEL 0&lt;br /&gt;// &amp;lt;i&amp;gt; NRF_SDH_DISPATCH_MODEL_INTERRUPT: SoftDevice events are passed to the application from the interrupt context.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;FYI, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/113106/nrf52840-appears-to-stop-advertising"&gt;this issues&lt;/a&gt; seems to be the same.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/496161?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 09:21:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f77db21d-4604-4d40-93be-59e5432f8f70</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There was an issue in some SoftDevice versions that coudl cause also important events to be lost if the applications does not pull/process evetns on time. This was fixed in SoftDevice version v7.3.0 though, so I wonder if you can confirm that that is what is used on the failing devices? (You mentionned v7.2.0 as well, where this issue still existed).&lt;/p&gt;
&lt;p&gt;It is regardless important to process SoftDevice events in a timely manner. Do you know more about when this issue occurs? Could it be that the application have not pulled events in a long time due to other activity?&amp;nbsp;And if you use the SoftDvice hanler with app scheduler, could it be that the app scheduler queue is too short, for instance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/496110?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 04:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a67025ad-23d7-4bba-8ab5-fa9b46ab6905</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; but I have pinged the devs looking at this internally, and will let you know if they have any updates.&lt;/p&gt;
&lt;p&gt;&amp;gt; For now I do not have anything to add to what he wrote,&lt;/p&gt;
&lt;p&gt;In this case, we have no option but to reset the device, and since the problem is occurring within the SoftDevice, we would appreciate your immediate response.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s been two months since the problem first occurred and no progress has been made.&lt;/p&gt;
&lt;p&gt;If there is any information you require, please let us know and we will do our best to provide it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; You can uploade large files here on DevZone as long as the file type is allowed (and .zip is).&lt;/p&gt;
&lt;p&gt;I previously uploaded &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2526.Log-of-the-incident.zip" rel="noopener noreferrer" target="_blank"&gt;Log of the incident.zip&lt;/a&gt;, but when I tried to upload the log this time, I was unable to do so.&lt;br /&gt;So I wondered if there was a limit to the upload size, and inquired about it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/496005?ContentTypeID=1</link><pubDate>Mon, 29 Jul 2024 12:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c07e678e-c3bc-43a6-8fb0-64e2b85ec9ae</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have inerited this case back from Simon. For now I do not have anything to add to what he wrote, other than that if the problem with uploading logs is the file type, then I suggest putting the log in a zip file and uploading that. You can uploade large files here on DevZone as long as the file type is allowed (and .zip is).&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/495629?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 12:31:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18608128-8871-4b04-bbcb-dc62fb538b7c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry you&amp;#39;re being sent in a loop here, but now Hieu is out of office. I haven&amp;#39;t had time to get into this case, but I have pinged the devs looking at this internally, and will let you know if they have any updates.&lt;/p&gt;
&lt;p&gt;Einar who initially had this ticket will return on Monday July 29th and likely take back this case then. So sorry about all the delays.&lt;/p&gt;
&lt;p&gt;Thus far I&amp;#39;m afraid there&amp;#39;s no further updates from our side. You say that the full log can&amp;#39;t be uploaded. Would it be possible to upload it with Google Drive or similar so we can download it on our end from there? Alternatively you can send it by mail to me, but for the mail address I&amp;#39;ll reach out to you in direct messages if that&amp;#39;s what you prefer.&lt;/p&gt;
&lt;p&gt;And just a shot in the dark from me, how many devices has the beacon connected to when this issue occurs. Could it be that the maximum number of connections is reached, and that&amp;#39;s why the advertiser won&amp;#39;t start again, since it seems to happen after a connection event if I&amp;#39;m not mistaken.&lt;/p&gt;
&lt;p&gt;One option you could try is to add a watchdog timer that will reset the device if no BLE events trig in X amount of time. Use the WDT example for reference &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf_dev_wdt_example.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/494975?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2024 08:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ff32dc7-e0d1-4d3e-af56-b763078e5b1d</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello Hieu,&lt;/p&gt;
&lt;p&gt;Has there been any progress on the Nordic investigation since then?&lt;/p&gt;
&lt;p&gt;It takes a while for this to happen, but it has happened a few times here.&lt;/p&gt;
&lt;p&gt;In order to reduce the load of SoftDevice events during connection, I tried calling sd_ble_gap_adv_stop() just before sd_ble_gap_connect() and then restarting the beacon with ble_advertising_start() when BLE_GAP_EVT_DISCONNECTED, but the issue of RadioNotification stopping persisted.&lt;/p&gt;
&lt;p&gt;The situation from the log when the problem occurred was exactly the same.&lt;/p&gt;
&lt;p&gt;I also tried putting scan_stop just before or just after sd_ble_gap_connect, but I was unable to establish a connection.&lt;/p&gt;
&lt;p&gt;At this point, we&amp;#39;re running out of options, so are there any other effective methods you can think of?&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/494715?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 06:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fc09f65-8d4d-4e8c-b506-ed81438145b6</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello Hieu,&lt;/p&gt;
&lt;p&gt;Since the problem occurred, I have attached the trimmed raw log.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; 
00&amp;gt;  42 04 01 00 00 00 00 0B  55 55 55 55 00 DF C3 10  FF 0E 2F B7 F5 66 99 D6  54 0C EE C2 01
00&amp;gt; 00:07:46.5214  &amp;gt; Continue moving average calculation with RssiList[1]
00&amp;gt; 
00&amp;gt; &amp;gt; Addr:57:6A:99:32:FA:2B (Resolvable) RSSI:-49dBm(+0) raw:-49dBm
00&amp;gt; 
00&amp;gt; &amp;gt; Suppress re-auth: elapsed 1645ms.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;gt; Code:55555555 UID:000-00000011 Rssi+0 Ver.1
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; 
00&amp;gt;  42 04 01 00 00 00 00 0B  55 55 55 55 00 1B B8 9E  63 04 B0 F4 F4 66 99 D6  55 0C EE C3 01
00&amp;gt; 00:07:46.7956  &amp;gt; Continue moving average calculation with RssiList[1]
00&amp;gt; 
00&amp;gt; &amp;gt; Addr:57:6A:99:32:FA:2B (Resolvable) RSSI:-48dBm(+0) raw:-48dBm
00&amp;gt; 
00&amp;gt; &amp;gt; Suppress re-auth: elapsed 1919ms.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; 00:07:46.8769  &amp;gt; 55555555-000-00000011/71:32:4C:9B:07:56 (Resolvable) was removed from the authentication suppression list, can auth: elapsed 2000ms.
00&amp;gt; 
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;gt; Code:55555555 UID:000-00000011 Rssi+0 Ver.1
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; 
00&amp;gt;  42 04 01 00 00 00 00 0B  55 55 55 55 00 1B B8 9E  63 04 B0 F4 F4 66 99 D6  55 0C EE C3 01
00&amp;gt; 00:07:46.9318  &amp;gt; Continue moving average calculation with RssiList[1]
00&amp;gt; 
00&amp;gt; &amp;gt; Addr:57:6A:99:32:FA:2B (Resolvable) RSSI:-44dBm(+0) raw:-44dBm
00&amp;gt; 
00&amp;gt; &amp;gt; TicketSeedBase:(16)
00&amp;gt;  55 55 55 55 00 00 00 00  0B 66 8C E7 92 00 00 00
00&amp;gt; &amp;gt; AccInfo[0] Accumulate.
00&amp;gt; 
00&amp;gt; &amp;gt; - Authed #105 at Fri Jul 19 02:58:33 2024.
00&amp;gt; 
00&amp;gt; &amp;gt; - Addr: 57:6A:99:32:FA:2B (Resolvable) (000-00000011)
00&amp;gt; 
00&amp;gt; &amp;gt; - RSSI: -44dBm(+0)
00&amp;gt; 
00&amp;gt; &amp;gt; - Auth: 1
00&amp;gt; 
00&amp;gt; +++ CERT OK +++ (RSSI: -44)
00&amp;gt; 
00&amp;gt; 
00&amp;gt; &amp;gt; Device has been added to the authentication suppression list, can NOT auth.
00&amp;gt; 
00&amp;gt; 
00&amp;gt; 00:07:46.9358  &amp;gt; All Smartphone Suppression timer start.
00&amp;gt; 
00&amp;gt; *** SCAN STOP ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; UART-Tx:(41)
00&amp;gt;  F2 01 10 10 11 00 05 55  55 55 51 60 00 00 00 00  00 00 00 11 2C 00 00 00  00 0B FF EE C3 1B B8 9E
00&amp;gt;  63 04 55 55 55 55 00 01  00
00&amp;gt; UART-Rx:(2)
00&amp;gt;  F3 01
00&amp;gt; &amp;lt;debug&amp;gt; ser_conn: [SD_CALL]:SD_CALL_UNKNOWN
00&amp;gt; 
00&amp;gt; 00:07:47.0361  &amp;gt; All Smartphone Suppression timer has ended.
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; &amp;lt;debug&amp;gt; ble_scan: Scanning parameters have been changed successfully
00&amp;gt; 
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; &amp;lt;debug&amp;gt; ble_scan: Scanning
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;gt; Code:55555555 UID:000-00000011 Rssi+0 Ver.1
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; 
00&amp;gt;  42 04 01 00 00 00 00 0B  55 55 55 55 00 1B B8 9E  63 04 B0 F4 F4 66 99 D6  55 0C EE C3 01
00&amp;gt; 00:07:47.2010  &amp;gt; Continue moving average calculation with RssiList[1]
00&amp;gt; 
00&amp;gt; &amp;gt; Addr:57:6A:99:32:FA:2B (Resolvable) RSSI:-46dBm(+0) raw:-46dBm
00&amp;gt; 
00&amp;gt; &amp;gt; Suppress re-auth: elapsed 266ms.
00&amp;gt; 
00&amp;gt; 00:07:47.2018  &amp;gt; 1BACC0DE-50273-09551615/71:32:4C:9B:07:56 (Resolvable) was removed from the rssi moving average buffering list, calc end: elapsed 1001ms.
00&amp;gt; 
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; &amp;lt;debug&amp;gt; nrf_sdh_ble: BLE event: 0x1D.
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; 
00&amp;gt;  4C 00 01 00 00 00 00 0B  55 55 00 53 00 45 00 43  4F 02 4D
00&amp;gt; 00:07:47.2170  &amp;gt; Start moving average calculation with RssiList[0]
00&amp;gt; 
00&amp;gt; &amp;gt; Addr:71:32:4C:9B:07:56 (Resolvable) RSSI:-42dBm(+0) raw:-42dBm
00&amp;gt; 
00&amp;gt; &amp;gt; No accumulated.
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ scan_connect_judgement(688)-&amp;gt;sd_ble_gap_connect
00&amp;gt; +++ Connecting +++
00&amp;gt; 
00&amp;gt; 00:07:47.4373  &amp;gt; Auth Buzzer timeout.
00&amp;gt; 
00&amp;gt; 00:07:48.2013  &amp;gt; 55555555-000-00000011/57:6A:99:32:FA:2B (Resolvable) was removed from the rssi moving average buffering list, calc end: elapsed 1000ms.
00&amp;gt; 
00&amp;gt; 
00&amp;gt; 00:07:48.2173  &amp;gt; 1BACC0DE-50273-09551615/71:32:4C:9B:07:56 (Resolvable) was removed from the rssi moving average buffering list, calc end: elapsed 1000ms.
00&amp;gt; 
00&amp;gt; 
00&amp;gt; *** No radio notification for a while(1000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; &amp;lt;debug&amp;gt; ble_scan: Scanning parameters have been changed successfully
00&amp;gt; 
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; &amp;lt;debug&amp;gt; ble_scan: Scanning
00&amp;gt; 
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2666)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; sd_ble_gap_adv_start() returned NRF_SUCCESS.00:07:48.2378  BLE_ADV_EVT_IDLE(0)
00&amp;gt; 00:07:48.9356  &amp;gt; 55555555-000-00000011/57:6A:99:32:FA:2B (Resolvable) was removed from the authentication suppression list, can auth: elapsed 2000ms.
00&amp;gt; 
00&amp;gt; 
00&amp;gt; *** No radio notification for a while(2000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; &amp;lt;debug&amp;gt; ble_scan: Scanning parameters have been changed successfully
00&amp;gt; 
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; &amp;lt;debug&amp;gt; ble_scan: Scanning
00&amp;gt; 
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2666)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; sd_ble_gap_adv_start() returned NRF_SUCCESS.00:07:49.2378  BLE_ADV_EVT_IDLE(0)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The addition of SoftDevice events is causing a large number of logs to be output.&lt;br /&gt;&lt;br /&gt;As an aside, this causes nrf_log to hang and the same log to be output repeatedly, so I have to manually reset it each time.&lt;br /&gt;Reference link: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38673/nrf_log-output-sometimes-goes-crazy"&gt;devzone.nordicsemi.com/.../nrf_log-output-sometimes-goes-crazy&lt;/a&gt;&lt;br /&gt;It looks like this issue is still not resolved.&lt;br /&gt;&lt;br /&gt;The problem begins at L.322, one second before L.346 &amp;quot;*** No radio notification&amp;quot;, and it seems that the SoftDevice is unresponsive and locked in response to sd_ble_gap_connect.&lt;br /&gt;&lt;br /&gt;Please let me know if there is any other information you need.&lt;/p&gt;
&lt;p&gt;p.s.&lt;br /&gt;I tried to upload a log, but even after compressing it, I got the message &amp;quot;File type is not allowed&amp;quot; and it didn&amp;#39;t work.&lt;br /&gt;I think there is a size limit, but how large can I upload?&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/494056?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 07:16:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b68e5e6-1ae8-4a55-bce7-6a050145af88</guid><dc:creator>Hieu</dc:creator><description>[quote user="hiroiwas"]&amp;gt; At the end of your SoftDevice event handler, could you please also add a default case handling where it just quickly log what the value of the event type is?&lt;br /&gt;&lt;br /&gt;Does this mean that the following log output is enabled?&lt;br /&gt;&lt;br /&gt;nrf_sdh_soc.c(87) NRF_LOG_DEBUG(&amp;quot;SoC event: 0x%x.&amp;quot;, evt_id);&lt;br /&gt;&lt;br /&gt;Or do you mean adding an observer that logs?[/quote]
&lt;p&gt;I am not certain&amp;nbsp;if the event polling in nrf_sdh_soc.c is the same, but I figure it doesn&amp;#39;t hurt to enable it too.&lt;/p&gt;
&lt;p&gt;What I meant is to add handling to your equivalent of the&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;ble_evt_handler&lt;/span&gt; in the ble_app_uart example.&lt;/p&gt;
&lt;p&gt;Looking forwards to your further test results.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/494020?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 04:31:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:156a8c98-26fd-480d-b506-52f2e14db300</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello Hieu,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; Your latest log doesn&amp;#39;t highlight what sd_ble_gap_adv_start() returns. Are we sure that it returns 0?&lt;br /&gt;&lt;br /&gt;The return value of SoftDevice was not output.&lt;br /&gt;I will add an output and check it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; Also, I don&amp;#39;t see a scan starting attempted.&lt;br /&gt;&lt;br /&gt;sd_ble_gap_scan_start()&amp;nbsp; is deter because of the large number of log outputs.&lt;br /&gt;SD_BLE_GAP_ADV_START() is unconditionally called after nrf_ble_scan_stop() in nrf_ble_scan_start(), so I think there is no doubt.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; BLE_GAP_TIMEOUT_SRC_CONN. Has this case been checked?&lt;br /&gt;&lt;br /&gt;On the log, it was confirmed that BLE_GAP_TIMEOUT_SRC_CONN has never occurred as an event.&lt;br /&gt;Currently, BLE_GAP_TIMEOUT_SRC_CONN does nothing except to log, but is it better to cut and re -scan?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; you might want to bind RADIO events to GPIOTE output with PPI and keep track of it instead. &lt;br /&gt;&lt;br /&gt;Does it mean monitoring the Radio status using a logic analyzer, etc., without using the Radio Notification event?&lt;br /&gt;&lt;br /&gt;Okay, I&amp;#39;ll try it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; At the end of your SoftDevice event handler, could you please also add a default case handling where it just quickly log what the value of the event type is?&lt;br /&gt;&lt;br /&gt;Does this mean that the following log output is enabled?&lt;br /&gt;&lt;br /&gt;nrf_sdh_soc.c(87) NRF_LOG_DEBUG(&amp;quot;SoC event: 0x%x.&amp;quot;, evt_id);&lt;br /&gt;&lt;br /&gt;Or do you mean adding an observer that logs?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; Also, I highly recommend using the Logger Module with NRF_LOG_DEFERRED,&lt;br /&gt;&lt;br /&gt;Thanks for the advice, I wasn&amp;#39;t using that, I&amp;#39;ll set it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt; Adding timestamp, no matter how basic, also helps getting more information into the log. &lt;br /&gt;&lt;br /&gt;Log it as NRF_LOG_INIT( app_timer_cnt_get );&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I will report back if the problem occurs again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/493998?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 21:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b63f517-4490-47f2-a0c8-78659e2fbaaa</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi hiroiwas,&lt;/p&gt;
&lt;p&gt;Thank you for the detailed information.&lt;/p&gt;
&lt;p&gt;I highly doubt that the SoftDevice drops event, and even if it does, I strongly believe it cannot be something important like BLE_GAT_EVT_CONNECTED. Since the&amp;nbsp;data you have provided so far&amp;nbsp;does indicate this, I will start an internal query with the past SoftDevice team to be extra sure.&lt;/p&gt;
&lt;p&gt;Your latest log doesn&amp;#39;t highlight what sd_ble_gap_adv_start()&amp;nbsp;returns.&amp;nbsp;Are we sure that it returns 0?&lt;/p&gt;
&lt;p&gt;Also, I don&amp;#39;t see a scan starting attempted.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I noticed that here we have only been looking into BLE_GAP_EVT_CONNECTED. However, that is not the only outcome from a connection establishment attempt. The attempt could also fail with BLE_GAP_EVT_TIMEOUT with &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/structble__gap__evt__timeout__t.html"&gt;ble_gap_evt_timeout_t&lt;/a&gt;::src ==&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___t_i_m_e_o_u_t___s_o_u_r_c_e_s.html#ga4995bd8f53f3bd0805fed51c63e63918"&gt;BLE_GAP_TIMEOUT_SRC_CONN&lt;/a&gt;. Has this case been checked?&lt;/p&gt;
&lt;p&gt;Finally, when event drops are being suspected, using Radio Notification&amp;nbsp;might make the matter worse.&lt;/p&gt;
&lt;p&gt;For the purpose of&amp;nbsp;resetting the device as a fail-safe, then I agree that&amp;nbsp;you need Radio Notification for that.&lt;/p&gt;
&lt;p&gt;But for the purpose of debugging, if we consider our goal resolving the issue completely, and be free of Radio Notification, then&amp;nbsp;you might want to bind &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/radio.html#ariaid-title23"&gt;RADIO events&lt;/a&gt; to GPIOTE output with &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/ppi.html"&gt;PPI&lt;/a&gt; and keep track of it instead. I have some sample snippets here:&amp;nbsp;&lt;a href="https://gist.github.com/hieuv/06fb6b9609c59e3a57bb62340ccaf242"&gt;https://gist.github.com/hieuv/06fb6b9609c59e3a57bb62340ccaf242&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;
&lt;p&gt;P.s: At the end of your SoftDevice event handler, could you please also add a default case handling where it just quickly log what the value of the event type is? This helps us check if there are any events we haven&amp;#39;t accounted for.&lt;/p&gt;
&lt;p&gt;Also, I highly recommend using the &lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/group__nrf__log.html"&gt;Logger Module&lt;/a&gt;&amp;nbsp;with&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/group__nrf__log__config.html#ga3a13b7559dde2889c272900d38f2f41b"&gt;NRF_LOG_DEFERRED&lt;/a&gt;, if you are not using it yet. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/23662/how-to-add-timestamp-in-rtt-viewer-using-nrf-log-module"&gt;Adding timestamp&lt;/a&gt;, no matter how basic, also helps getting more information into the log.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/493255?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 00:37:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59269842-0bb1-4c2d-9c54-943bcafcd679</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I was able to confirm No radio notification in the code that implemented the restart of SCAN and ADVERTISE.&lt;br /&gt;&lt;br /&gt;As a result, I found that restarting at the point where the problem occurred was ineffective.&lt;br /&gt;&lt;br /&gt;I have attached the log from just before the problem occurred below.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; &amp;gt; Addr:60:4D:3C:3E:F0:A4 (Resolvable) RSSI:-41dBm(+0) raw:-41dBm
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ scan_connect_judgement(687)-&amp;gt;sd_ble_gap_connect
00&amp;gt; +++ Connecting +++
00&amp;gt; 
00&amp;gt; @@@ on_connected_evt(160)-&amp;gt;sd_ble_gattc_exchange_mtu_request
00&amp;gt; @@@ data_length_update(89)-&amp;gt;sd_ble_gap_data_length_update
00&amp;gt; 03:29:33.6818  NRF_BLE_SCAN_EVT_CONNECTED(6)
00&amp;gt; Connected to target : (7)
00&amp;gt; 03:29:33.6830  BLE_GAP_EVT_CONNECTED(16)
00&amp;gt; &amp;gt; conn_handle=0, conn_count=1
00&amp;gt; 
00&amp;gt; @@@ request_process(359)-&amp;gt;sd_ble_gattc_primary_services_discover
00&amp;gt; @@@ queue_process(215)-&amp;gt;sd_ble_gattc_primary_services_discover
00&amp;gt; ble_db_discovery_start: err_code=0
00&amp;gt; 
00&amp;gt; @@@ ble_evt_handler(1050)-&amp;gt;sd_ble_gap_rssi_start
00&amp;gt; [APP] CONNECTING
00&amp;gt; 
00&amp;gt; @@@ queue_process(215)-&amp;gt;sd_ble_gattc_primary_services_discover
00&amp;gt; 03:29:33.7282  BLE_GATTC_EVT_EXCHANGE_MTU_RSP(58)
00&amp;gt; 03:29:33.7432  BLE_GAP_EVT_DATA_LENGTH_UPDATE(36)
00&amp;gt; @@@ request_process(366)-&amp;gt;sd_ble_gattc_characteristics_discover
00&amp;gt; 03:29:33.7582  BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP(48)
00&amp;gt; @@@ request_process(366)-&amp;gt;sd_ble_gattc_characteristics_discover
00&amp;gt; @@@ request_process(372)-&amp;gt;sd_ble_gattc_descriptors_discover
00&amp;gt; @@@ request_process(372)-&amp;gt;sd_ble_gattc_descriptors_discover
00&amp;gt; 03:29:33.8931  BLE_DB_DISCOVERY_COMPLETE(0)
00&amp;gt; 03:29:33.8933  BLE_NUS_C_EVT_DISCOVERY_COMPLETE(0)
00&amp;gt; 03:29:33.8935  CMNBLE_vd_EventConnected(2381):  60:4D:3C:3E:F0:A4 (Resolvable)  elapsed(ms): 210
00&amp;gt; 
00&amp;gt; @@@ request_process(353)-&amp;gt;sd_ble_gattc_write
00&amp;gt; 03:29:33.8943  BLE_DB_DISCOVERY_AVAILABLE(3)
00&amp;gt; 
00&amp;gt; &amp;gt; LOCK conn_handle=-1-&amp;gt;0
00&amp;gt; 
00&amp;gt; @@@ request_process(353)-&amp;gt;sd_ble_gattc_write
00&amp;gt; @@@ queue_process(208)-&amp;gt;sd_ble_gattc_write
00&amp;gt; 
00&amp;gt; @@@ queue_process(208)-&amp;gt;sd_ble_gattc_write
00&amp;gt; 
00&amp;gt; @@@ on_hvx(135)-&amp;gt;sd_ble_gattc_hv_confirm
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; 
00&amp;gt; @@@ request_process(353)-&amp;gt;sd_ble_gattc_write
00&amp;gt; 
00&amp;gt; @@@ MdlBLE_en_Disconnect(1801)-&amp;gt;sd_ble_gap_disconnect
00&amp;gt; 
00&amp;gt; 03:29:34.0880  BLE_GAP_EVT_DISCONNECTED(17)
00&amp;gt; &amp;gt; conn_handle=0, conn_count=0, reason=0x16
00&amp;gt; 
00&amp;gt; @@@ ble_evt_handler(1062)-&amp;gt;sd_ble_gap_rssi_stop
00&amp;gt; &amp;gt; UNLOCK conn_handle=0
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; &amp;gt; Addr:50:EE:9C:69:95:7A (Resolvable) RSSI:-47dBm(+0) raw:-47dBm
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; &amp;gt; Addr:50:EE:9C:69:95:7A (Resolvable) RSSI:-49dBm(+0) raw:-49dBm
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; &amp;gt; Addr:60:4D:3C:3E:F0:A4 (Resolvable) RSSI:-47dBm(+0) raw:-47dBm
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; &amp;gt; Addr:50:EE:9C:69:95:7A (Resolvable) RSSI:-50dBm(+0) raw:-50dBm
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; &amp;gt; Addr:60:4D:3C:3E:F0:A4 (Resolvable) RSSI:-47dBm(+0) raw:-47dBm
00&amp;gt; 
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; &amp;gt; Addr:60:4D:3C:3E:F0:A4 (Resolvable) RSSI:-41dBm(+0) raw:-41dBm
00&amp;gt; 
00&amp;gt; @@@ scan_connect_judgement(687)-&amp;gt;sd_ble_gap_connect
00&amp;gt; +++ Connecting +++
00&amp;gt; 
00&amp;gt; 
00&amp;gt; *** No radio notification for a while(1000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:35.6688  BLE_ADV_EVT_IDLE(0)
00&amp;gt; 03:29:36.6667  &amp;gt; Auth Buzzer timeout.
00&amp;gt; 
00&amp;gt; *** No radio notification for a while(2000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:36.6688  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(3000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:37.6687  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(4000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:38.6688  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(5000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:39.6688  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(6000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:40.6690  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(7000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:41.6689  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(8000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:42.6689  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(9000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:43.6689  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(10000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:44.6689  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(11000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:45.6689  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(12000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:46.6689  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(13000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:47.6689  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(14000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:48.6689  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(15000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:49.6690  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(16000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:50.6690  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(17000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:51.6691  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(18000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:52.6690  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(19000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:53.6690  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(20000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:54.6690  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(21000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:55.6690  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(22000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:56.6691  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(23000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:57.6691  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(24000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:58.6691  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(25000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:29:59.6691  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(26000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:30:00.6691  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(27000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:30:01.6691  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(28000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:30:02.6692  BLE_ADV_EVT_IDLE(0)
00&amp;gt; *** No radio notification for a while(29000ms).
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; @@@ MdlBLE_vd_AdvertisingStopReq(2570)-&amp;gt;sd_ble_gap_adv_stop
00&amp;gt; @@@ ble_radio_notification_init(87)-&amp;gt;sd_radio_notification_cfg_set
00&amp;gt; @@@ flags_set(309)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(754)-&amp;gt;sd_ble_gap_adv_set_configure
00&amp;gt; @@@ ble_advertising_start(759)-&amp;gt;sd_ble_gap_adv_start
00&amp;gt; 03:30:03.6691  BLE_ADV_EVT_IDLE(0)
00&amp;gt; &amp;lt;error&amp;gt; app: ERROR 0 [NRF_SUCCESS] at D:\SVN\BLE_MockUp\BLE_Module\src\Middleware\MdlBLE.c:1532
00&amp;gt; 
00&amp;gt; PC at: 0x000357CF
00&amp;gt; 
00&amp;gt; &amp;lt;error&amp;gt; app: End of error report
00&amp;gt; 

# Logging stopped @ 11 Jul 2024 09:00:29
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When this happens, the only thing that can be thought of is that the SoftDevice is locked.&lt;br /&gt;&lt;br /&gt;The only other thing that can be done is to try stopping and restarting the SoftDevice itself, but since it is not clear what state the SoftDevice is in, a self-reset may be more reliable.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/492915?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 09:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b9499d8-4235-4d1a-9c77-d36d2a0f8d6e</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp; Edvin.&lt;/p&gt;
&lt;p&gt;&amp;gt; So your beacon is also scanning, and connecting to other devices from time to time, is that correct?&lt;/p&gt;
&lt;p&gt;I have drawn a simple sequence chart of the system.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720513981878v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The device emits a beacon (ADV_NONCONN_IND) at a 100 ms cycle and opens a 20 ms scan window at 20 ms intervals.&lt;/li&gt;
&lt;li&gt;The iPhone catches the device&amp;#39;s beacon and initiates ADV_IND.&lt;/li&gt;
&lt;li&gt;The device uses the ADV_IND and SCAN_RSP information to make a connection request.&lt;/li&gt;
&lt;li&gt;After connecting and completing the series of communications, it disconnects from the device, resumes scanning, and waits for the next ADV_IND.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Beacons in the peripheral role are essentially configured when the device is first powered on and then continue to transmit signals continuously.&lt;/p&gt;
&lt;p&gt;In the central role, it receives ADV_IND and SCAN_RSP and makes decisions such as connection.&lt;br /&gt;Only one device can be connected at a time to the central, and a scanner that is stopped by CONNECT_IND will be restarted after disconnection.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; The advertisements have stopped at the end of this graph, right?&lt;/p&gt;
&lt;p&gt;Yes, the radio notification stops after the graph ends and resets after 30 seconds.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; It may happen that if there are too many events coming from the softdevice, that an event is not correctly forwarded to the application. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This is important information.&lt;/strong&gt;&lt;br /&gt;Does this mean that the SoftDevice is dropping events?&lt;/p&gt;
&lt;p&gt;If so, this could be the reason why BLE_GAP_EVT_CONNECTED is not raised and SCAN remains stopped even though SCAN is stopped after sd_ble_gap_connect.&lt;/p&gt;
&lt;p&gt;However, why does the peripheral role beacon also stop working at the same time?&lt;/p&gt;
&lt;p&gt;Since it&amp;#39;s not something the app can fix, I think this may be a problem with the SoftDevice.&lt;/p&gt;
&lt;p&gt;Are there any parameters to increase the SoftDevice&amp;#39;s event queue, or options to limit the types of events that are fired?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt; When this occurs, and you detect it, is it still possible to start advertising? What happens if you try to do so?&lt;/p&gt;
&lt;p&gt;Since we believe the issue is with the SoftDevice, we&amp;#39;ve set it to auto-reset if radio notifications stop for 30 seconds as a safety measure.&lt;br /&gt;&lt;br /&gt;In addition to this, if radio notifications stop for 1 second, we&amp;#39;ll try to resume scanning and advertising if that&amp;#39;s possible to recover.&lt;/p&gt;
&lt;p&gt;It will take some time to reproduce, but I will report the results once they are known.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/492418?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 10:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82037e63-2f80-433e-ba12-7d647ccc49ac</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. Einar is out of of office, so I will try to look into it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am sorry, but I am a bit confused (and there is a lot of information here). So your beacon is also scanning, and connecting to other devices from time to time, is that correct?&lt;/p&gt;
&lt;p&gt;Will another central also connect to the beacon&amp;#39;s advertisement at some point?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do you set up your advertising? Does it restart advertising after a connection?&amp;nbsp;&lt;/p&gt;
[quote user="hiroiwas"]This means that the ad will likely continue playing until the radio is turned off.[/quote]
&lt;p&gt;What do you mean by this? The advertisements have stopped at the end of this graph, right?&lt;/p&gt;
[quote user="hiroiwas"]Judging from these logs, I think the reason why radio stopped is due to a conflict within SoftDevice. Is this correct?[/quote]
&lt;p&gt;It may happen that if there are too many events coming from the softdevice, that an event is not correctly forwarded to the application. In some cases, that can be e.g. the disconnected event.&lt;/p&gt;
&lt;p&gt;When this occurs, and you detect it, is it still possible to start advertising? What happens if you try to do so?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/492156?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 04:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23467638-b79f-4b38-9e63-4b9b2b6b0365</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Additional information.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;After that, I added logs and tried to reproduce the issue several times, and all of the logs at the time the problem occurred recorded that there were no subsequent BLE events after sd_ble_gap_scan_start after sd_ble_gap_connect.&lt;br /&gt;&lt;br /&gt;Also, in the radio notification event received at the same time, the argument radio_active was notified as 0 twice, and radio_active did not become 1 after that.&lt;br /&gt;&lt;br /&gt;I thought that in Radio Notification, radio_active would alternate between 0 and 1, but is that wrong?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;I have attached a chart capturing radio_active just before the radio stopped using data sampling.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720068739460v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;This means that the ad will likely continue playing until the radio is turned off.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Judging from these logs, I think the reason why radio stopped is due to a conflict within SoftDevice. Is this correct?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Best regards.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/491539?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 09:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fb41631-f2cb-476c-807b-ae87a67d9d7f</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp; Einar.&lt;/p&gt;
&lt;p&gt;I was able to capture the log when the phenomenon occurred.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;In conclusion, the point at which advertising stopped and switched is unrelated, &lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;and the problem appears to be occurring due to the overlapping timing of sd_ble_gap_scan_start during nrf_ble_scan_on_adv_report and the stop of scanning in the SoftDevice after sd_ble_gap_connect.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt;  4C 00 01 00 00 00 00 0B  55 55 00 53 00 45 00 43  4F 02 4D
00&amp;gt; 
00&amp;gt; &amp;gt; Addr:59:D7:5E:C8:C4:3B (Resolvable) RSSI:-36dBm(+0) raw:-36dBm
00&amp;gt; 
00&amp;gt; @@@ scan_connect_judgement(661)-&amp;gt;sd_ble_gap_connect
00&amp;gt; +++ Connecting +++
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; 
00&amp;gt; 01:12:37.9172  &amp;gt; 1BACC0DE-50273-09551615/59:D7:5E:C8:C4:3B (Resolvable) was removed from the rssi moving average buffering list, calc end: elapsed 1000ms.
00&amp;gt; 
00&amp;gt; *** No radio notification for a while(30000ms).
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So here are my questions.&lt;br /&gt;&lt;br /&gt;In SoftDevice, the scanner stops after sd_ble_gap_connect, but at what point does it stop?&lt;br /&gt;After CONNECT_IND? After that delay?&lt;br /&gt;&lt;br /&gt;The scanner also stops at BLE_GAP_EVT_ADV_REPORT when an advertisement is received, but at what point does it stop?&lt;br /&gt;After receiving ADV_IND? Before the ADV_REPORT event?&lt;br /&gt;&lt;br /&gt;From the log, nrf_ble_scan_on_adv_report appears only once after sd_ble_gap_connect, but when is scan_start accepted here?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For your reference, we have attached below the logs showing successful connection and disconnection.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; 
00&amp;gt; ==SCAN_RSP== AdType:FF
00&amp;gt; 
00&amp;gt;  4C 00 01 00 00 00 00 0B  55 55 00 53 00 45 00 43  4F 02 4D
00&amp;gt; 01:12:28.2542  &amp;gt; Continue moving average calculation with RssiList[0]
00&amp;gt; 
00&amp;gt; &amp;gt; Addr:59:D7:5E:C8:C4:3B (Resolvable) RSSI:-37dBm(+0) raw:-37dBm
00&amp;gt; 
00&amp;gt; @@@ scan_connect_judgement(661)-&amp;gt;sd_ble_gap_connect
00&amp;gt; +++ Connecting +++
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ on_connected_evt(160)-&amp;gt;sd_ble_gattc_exchange_mtu_request
00&amp;gt; @@@ data_length_update(89)-&amp;gt;sd_ble_gap_data_length_update
00&amp;gt; 01:12:28.4926  NRF_BLE_SCAN_EVT_CONNECTED(6)
00&amp;gt; &amp;gt; conn_handle=0, conn_count=1
00&amp;gt; 
00&amp;gt; @@@ request_process(359)-&amp;gt;sd_ble_gattc_primary_services_discover
00&amp;gt; @@@ queue_process(215)-&amp;gt;sd_ble_gattc_primary_services_discover
00&amp;gt; ble_db_discovery_start: err_code=0
00&amp;gt; 
00&amp;gt; @@@ ble_evt_handler(1024)-&amp;gt;sd_ble_gap_rssi_start
00&amp;gt; 
00&amp;gt; @@@ queue_process(215)-&amp;gt;sd_ble_gattc_primary_services_discover
00&amp;gt; 01:12:28.5242  BLE_GATTC_EVT_EXCHANGE_MTU_RSP(58)
00&amp;gt; 01:12:28.5392  BLE_GAP_EVT_DATA_LENGTH_UPDATE(36)
00&amp;gt; @@@ request_process(366)-&amp;gt;sd_ble_gattc_characteristics_discover
00&amp;gt; 01:12:28.5692  BLE_GATTC_EVT_PRIM_SRVC_DISC_RSP(48)
00&amp;gt; @@@ request_process(366)-&amp;gt;sd_ble_gattc_characteristics_discover
00&amp;gt; @@@ request_process(372)-&amp;gt;sd_ble_gattc_descriptors_discover
00&amp;gt; @@@ request_process(372)-&amp;gt;sd_ble_gattc_descriptors_discover
00&amp;gt; 01:12:28.7040  BLE_DB_DISCOVERY_COMPLETE(0)
00&amp;gt; 01:12:28.7043  BLE_NUS_C_EVT_DISCOVERY_COMPLETE(0)
00&amp;gt; 
00&amp;gt; @@@ request_process(353)-&amp;gt;sd_ble_gattc_write
00&amp;gt; 01:12:28.7052  BLE_DB_DISCOVERY_AVAILABLE(3)
00&amp;gt; [APP] CONNECTED
00&amp;gt; 

    === Part omitted ===

00&amp;gt; @@@ MdlBLE_en_Disconnect(1711)-&amp;gt;sd_ble_gap_disconnect
00&amp;gt; 01:12:29.8440  BLE_GAP_EVT_DISCONNECTED(17)
00&amp;gt; &amp;gt; conn_handle=0, conn_count=0, reason=0x16
00&amp;gt; 
00&amp;gt; @@@ ble_evt_handler(1036)-&amp;gt;sd_ble_gap_rssi_stop
00&amp;gt; 
00&amp;gt; @@@ MdlBLE_vd_ConnectStartReq(1614)-&amp;gt;sd_ble_gap_tx_power_set
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; *** SCAN START ***
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_stop(1041)-&amp;gt;sd_ble_gap_scan_stop
00&amp;gt; 
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start
00&amp;gt; @@@ nrf_ble_scan_on_adv_report(949)-&amp;gt;sd_ble_gap_scan_start&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does this information help you determine the cause and solution?&lt;/p&gt;
&lt;p&gt;Incidentally, the beacon (ADV_NONCONN_IND) has not been stopped since the parameters were first set, so it was not possible to determine from the log when it stopped.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/491128?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 13:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a2887a1-ad06-4349-b577-1d16ddb5c515</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="hiroiwas"]I have already done that, and the log I attached last time shows that no events occurred in radio notification for 30 seconds.[/quote]
&lt;p&gt;I see. Then that could work as a recovery mechanism: if you have not had an radio activity for x amount of time, reset to recover. But this will not address the root cause.&lt;/p&gt;
[quote user="hiroiwas"]Just to be sure, I will set the advertising output of the beacon (ADV_NONCONN_IND) and then check whether the issue occurs with software that does not stop it thereafter.[/quote]
&lt;p&gt;Sond good. Becase advertising really should not stop by itself (unless there is a timeout, and if so you get an event). And I have not found any other reports of such an issue. So I thin it is hightly likely that the application disables or does not restart advertising when it should.&lt;/p&gt;
[quote user="hiroiwas"]Is there anything else I can do besides monitoring the radio notification to get a clue as to what might be going on?[/quote]
&lt;p&gt;I would add extensive loggin everywhere you stop or start advertising, and also log all BLE events (you oculd just log the event ID). Then you could go back in the log when advertising unexpectedly stopped and check if there are any events you did not process or if you did stop (or not start) advertising undexpectedly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/491016?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 08:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c44c15d-cd33-41d0-b14b-2662db821118</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp; Einar.&lt;/p&gt;
&lt;p&gt;&amp;gt; To monitor, perhaps you could use an app_timer instance and reset it every time you get a radio notification?&lt;/p&gt;
&lt;p&gt;I have already done that, and the log I attached last time shows that no events occurred in radio notification for 30 seconds.&lt;/p&gt;
&lt;p&gt;&amp;gt; if there could be an issue with advertising not being restarted after a timeout or a connection (attempt). Could that be the case?&lt;/p&gt;
&lt;p&gt;There are places where advertising is stopped for switching, but when I check the log, it appears that it is not passing through there.&lt;br /&gt;&lt;br /&gt;Just to be sure, I will set the advertising output of the beacon (ADV_NONCONN_IND) and then check whether the issue occurs with software that does not stop it thereafter.&lt;/p&gt;
&lt;p&gt;The SoftDevice is designed to stop scanning on connection, but resume scanning on disconnection.&lt;/p&gt;
&lt;p&gt;Is there anything else I can do besides monitoring the radio notification to get a clue as to what might be going on?&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/490351?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 14:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1008919-d22a-45ec-8de1-11bea3763c7e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="hiroiwas"]I believe that asserts that occur in SoftDevices can be trapped with interrupts such as app_error_handler or HardFault, just like in the SDK. Is that correct?[/quote]
&lt;p&gt;Yes, that is correct. If you are using the default error handler from the SDK, this would also detect SoftDevice asserts (and reset for release builds).&lt;/p&gt;
[quote user="hiroiwas"]The main loop continues to run after the Radio Notification has stopped, and still responds on the UART, so it doesn&amp;#39;t appear to be asserted.[/quote]
&lt;p&gt;I see.&lt;/p&gt;
[quote user="hiroiwas"]What should I monitor to determine why Radio Notification has stopped?[/quote]
&lt;p&gt;To monitor, perhaps you could use an &lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/lib_timer.html"&gt;app_timer &lt;/a&gt;instance and reset it every time you get a radio notification? If it does not come in time, the app_timer would time out and the timeout handler run, so that you can handle it.&lt;/p&gt;
[quote user="hiroiwas"]How can I tell if the SoftDevice is working properly?[/quote]
&lt;p&gt;Generally, the SoftDevice shoud not behave like this. You can moitor things like I sugested, and reset if you detect an issue (you could also use a watchdog instead of a n app timer, and feed the watchdog every time you get a radio notification. And if not, the watchdog would reset).&lt;/p&gt;
[quote user="hiroiwas"]Can you get an idea of ​​the operating status of the SoftDevice from the RAM dump I sent?[/quote]
&lt;p&gt;No, unfortuantely not.&lt;/p&gt;
[quote user="hiroiwas"]&lt;p&gt;&lt;span lang="en"&gt;&lt;span&gt;&lt;span&gt;To be honest, I&amp;#39;m at a loss as to what to do, so I&amp;#39;d appreciate it if you could tell me how to identify the cause.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;This is not an expected issue. To be honest, the SoftDevice is very well tested I do not recall seeing such an issue before. I would be interested in a verification that your application does not stop advertising, or alternatively, if there could be an issue with advertising not being restarted after a timeout or a connection (attempt). Could that be the case? Have you done anything to verify this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beacon output suddenly stops</title><link>https://devzone.nordicsemi.com/thread/490061?ContentTypeID=1</link><pubDate>Sat, 22 Jun 2024 01:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5499811c-de6d-4650-a479-62766c945106</guid><dc:creator>hiroiwas</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp; Einar.&lt;/p&gt;
&lt;p&gt;I confirmed that there is no radio activity by checking that the radio notification event callback is not received for a certain period of time (30sec).&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;I believe that asserts that occur in SoftDevices can be trapped with interrupts such as app_error_handler or HardFault, just like in the SDK. Is that correct?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;The main loop continues to run after the Radio Notification has stopped, and still responds on the UART, so it doesn&amp;#39;t appear to be asserted.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;What should I monitor to determine why Radio Notification has stopped?&lt;br /&gt;&lt;br /&gt;How can I tell if the SoftDevice is working properly?&lt;br /&gt;&lt;br /&gt;Can you get an idea of ​​the operating status of the SoftDevice from the RAM dump I sent?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz JxVs2d ChMk0b"&gt;&lt;span class="ryNqvb"&gt;To be honest, I&amp;#39;m at a loss as to what to do, so I&amp;#39;d appreciate it if you could tell me how to identify the cause.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>