<?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>sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102792/sd_ble_gap_connect-returns-nrf_success-but-no-events-are-generated</link><description>I have a system that is based on the NUS service. A device connects and is interrogated. Once the communication is complete the central device calls sd_ble_gap_disconnect to close the connection. At this point I have tried two different procedures. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Mar 2024 13:52:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102792/sd_ble_gap_connect-returns-nrf_success-but-no-events-are-generated" /><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/474647?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 13:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b604c37-c51f-4e1e-923a-88659109fed7</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Rbelli&lt;/p&gt;
&lt;p&gt;Hung is currently on leave, so I will follow this ticket in his place.&amp;nbsp;&lt;/p&gt;
[quote user="rbelli"]The only idea I have is that the problem is related to corruption of packets due to other bluetooth devices. When I first made the product I could look at the sniffer output and see the communication happening in real time. After the problem was observed the sniffer output is an uninterpretable blur.[/quote]
&lt;p&gt;Bluetooth devices generally don&amp;#39;t interfere a lot with each other, since they use a narrow frequency band, a low output power, and usually transmit very infrequently. Wi-Fi is a larger cause of concern, since Wi-Fi uses a much wider band, and can transmit at higher output power levels than most Bluetooth devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have connection/link quality issues its definitely worth taking a look at the hardware, as mentioned by Hung earlier. If the problem is present on your custom hardware but non on standard DK&amp;#39;s then it is a sign that the hardware has room for improvement.&amp;nbsp;&lt;/p&gt;
[quote user="rbelli"]The project will be transitioned to a mesh network so I will not do any more work on this problem.[/quote]
&lt;p&gt;The best of&amp;nbsp;luck &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/474151?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2024 20:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a090638-6b8b-4eb0-a61f-16b9c26aaf1a</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;I found that the scanning TX Power level was a separate setting. After increasing this to the maximum I found that the problem decreased. We also have some units that only do scannable advertising and no connections. These work much better but that is due to many more messages being attempted.&lt;/p&gt;
&lt;p&gt;One partial solution I found is to reset the device when the connection problem presents itself. This covers up the problem to some extent but doesn&amp;#39;t fix it entirely.&lt;/p&gt;
&lt;p&gt;The only idea I have is that the problem is related to corruption of packets due to other bluetooth devices. When I first made the product I could look at the sniffer output and see the communication happening in real time. After the problem was observed the sniffer output is an uninterpretable blur.&lt;/p&gt;
&lt;p&gt;The project will be transitioned to a mesh network so I will not do any more work on this problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/444675?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2023 09:30:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c33406a-478f-497b-8764-549f110c0ad4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rbelli,&amp;nbsp;&lt;br /&gt;My suggestion is to do the test using 2 development kits. This way we can be sure it&amp;#39;s not the hardware or poor radio tuning causing the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try testing without the black list, you can do what I suggested, simply put the central to sleep for dozen of seconds before you start connecting again.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/444583?ContentTypeID=1</link><pubDate>Tue, 05 Sep 2023 20:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28e3f7ad-061c-492f-bee2-7d65fa5f5b7d</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;I implemented blacklist functionality in the stock NUS example code. This works correctly.&lt;/p&gt;
&lt;p&gt;I got the sniffer to see the connections during failures. Each time I ran the test I got a different result. Usually no connect went out. Sometimes both sides stopped doing anything. Once I saw the connection succeed but the central still locked up after many &amp;quot;Empty PDU&amp;quot; messages.&lt;/p&gt;
&lt;p&gt;In your experience, what would be the next thing to look at so I can find out what I&amp;#39;ve changed that is causing the problem? Is there any other functionality that conflicts with BLE connections?&lt;/p&gt;
&lt;p&gt;I am using USB, UART, the watchdog, some app timers, and the bootloader. Only the UART is active in the NUS example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/441633?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 13:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2bd8a7c-a12b-410c-ae65-0a3b707f7a62</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;You can take a look at this Academy course :&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-6-bluetooth-le-sniffer/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It about nRF Connect but you can still read about the instruction how to use the sniffer.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/441626?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 13:04:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3f5c0bb-19cc-4da4-ad3f-b41b3c0ee49c</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;There is no filtering the the peripheral.&lt;/p&gt;
&lt;p&gt;The Bluetooth toolbar was off. This is the first I knew about that. I will see if I can get any clarity using it.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/441520?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 07:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:031a3562-6f71-48bb-9dec-f0dda5c05c83</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rbelli,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You may want to click on the Advertiser list and select the peripheral you want to follow. This way you can see the communication between them when the connection is established, not just ADV_IND and CONNECT_IND.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;From what I can see the connect request was sent in the bad connection. So we need to check if it&amp;#39;s been rejected by the peripheral or not.&amp;nbsp;&lt;br /&gt;Did you implement any black/white list on the peripheral ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/441437?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 15:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a69b859-93cd-458f-93e9-3a80299ee1c2</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;f7:0b:15:51:5d:88 is the peripheral and 5d:c2:aa:8f:4f:08 is the central device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is a good conversation filtered to only show the peripheral:&lt;/p&gt;
&lt;p&gt;26400&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:00.635548&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;26401&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:00.637132&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;26427&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:00.946492&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;26434&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:01.046582&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;26435&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:01.047068&amp;nbsp;&amp;nbsp; &amp;nbsp;5d:c2:aa:8f:4f:08&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;38&amp;nbsp;&amp;nbsp; &amp;nbsp;SCAN_REQ&lt;br /&gt;26436&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:01.047394&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;50&amp;nbsp;&amp;nbsp; &amp;nbsp;SCAN_RSP&lt;br /&gt;26437&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:01.048166&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;26455&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:01.259195&amp;nbsp;&amp;nbsp; &amp;nbsp;c1:24:88:c2:b1:8f&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;60&amp;nbsp;&amp;nbsp; &amp;nbsp;CONNECT_IND&lt;br /&gt;27512&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.303002&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;27519&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.405359&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;27520&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.406944&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;27521&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.408528&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;27528&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.511828&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;27529&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.513412&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;27530&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.513898&amp;nbsp;&amp;nbsp; &amp;nbsp;5d:c2:aa:8f:4f:08&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;38&amp;nbsp;&amp;nbsp; &amp;nbsp;SCAN_REQ&lt;br /&gt;27531&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.514224&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;50&amp;nbsp;&amp;nbsp; &amp;nbsp;SCAN_RSP&lt;br /&gt;27537&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.617155&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;27542&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:27:16.718145&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;/p&gt;
&lt;p&gt;Then 90 seconds of ADV_IND, SCAN_REQ, and SCAN_RSP.&lt;/p&gt;
&lt;p&gt;Then this is a bad connection:&lt;/p&gt;
&lt;p&gt;36762&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:44.927753&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;36763&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:44.929337&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;36764&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:44.930922&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;36774&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:45.034624&amp;nbsp;&amp;nbsp; &amp;nbsp;c1:24:88:c2:b1:8f&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;38&amp;nbsp;&amp;nbsp; &amp;nbsp;SCAN_REQ&lt;br /&gt;36775&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:45.035722&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;36776&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:45.037306&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;36783&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:45.137878&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;61&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND[Malformed Packet]&lt;br /&gt;36784&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:45.139462&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;36785&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:45.141047&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;36786&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:28:45.141532&amp;nbsp;&amp;nbsp; &amp;nbsp;c1:24:88:c2:b1:8f&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;60&amp;nbsp;&amp;nbsp; &amp;nbsp;CONNECT_IND&lt;br /&gt;41369&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:29:25.211077&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;41370&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:29:25.212661&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;41371&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:29:25.214245&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;41399&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:29:25.423606&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;41400&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:29:25.425191&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;br /&gt;41432&amp;nbsp;&amp;nbsp; &amp;nbsp;2023-08-15 11:29:25.629609&amp;nbsp;&amp;nbsp; &amp;nbsp;f7:0b:15:51:5d:88&amp;nbsp;&amp;nbsp; &amp;nbsp;Broadcast&amp;nbsp;&amp;nbsp; &amp;nbsp;LE LL&amp;nbsp;&amp;nbsp; &amp;nbsp;58&amp;nbsp;&amp;nbsp; &amp;nbsp;ADV_IND&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/441395?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 13:08:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69a4b322-ffe0-4c6f-86b9-653849978bb5</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;I have other peripherals that connect and they send the disconnect. These work fine. They will start advertising again later and everything works correctly.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/102792/sd_ble_gap_connect-returns-nrf_success-but-no-events-are-generated/441332"]Can you do a test that after you disconnect from the peripheral, you wait for 20 seconds and then try to connect again to the same advertiser ?&amp;nbsp;[/quote]
&lt;p&gt;That is how the blacklist works. It is currently set to 90sec. I get no events after that.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/102792/sd_ble_gap_connect-returns-nrf_success-but-no-events-are-generated/441332"]If you don&amp;#39;t see any event, could you run the test again, this time connecting to a dummy address . If you do see the&amp;nbsp;BLE_GAP_EVT_TIMEOUT&amp;nbsp;&amp;nbsp; event, then we need to look into why re-connecting to a previously connected advertiser causing the issue.&amp;nbsp;[/quote]
&lt;p&gt;This is what my edit yesterday was about. On the second connection attempt with the malfunctioning device I changed the address before connecting. It timed out as expected.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/102792/sd_ble_gap_connect-returns-nrf_success-but-no-events-are-generated/441332"]You may want to capture a &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;sniffer trace&lt;/a&gt; to see if any connect request is sent.&amp;nbsp;[/quote]
&lt;p&gt;I will do that. I will also try to get this problem to occur with as close to stock NUS pair as I can get.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;BoB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/441332?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 09:55:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e7b512b-6fb0-4eeb-acad-ed6002bc3439</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rbelli,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since the backlist is not affect the softdevice I think we can just put it a side to narrow down the issue.&amp;nbsp;&lt;br /&gt;Can you do a test that after you disconnect from the peripheral, you wait for 20 seconds and then try to connect again to the same advertiser ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you do that do you receive any &lt;span&gt;BLE_GAP_EVT_TIMEOUT&amp;nbsp; or BLE_GAP_EVT_CONNECTED event ?&amp;nbsp;&lt;br /&gt;If you don&amp;#39;t see any event, could you run the test again, this time connecting to a dummy address . If you do see the&amp;nbsp;BLE_GAP_EVT_TIMEOUT&amp;nbsp;&amp;nbsp; event, then we need to look into why re-connecting to a previously connected advertiser causing the issue.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You may want to capture a &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;sniffer trace&lt;/a&gt; to see if any connect request is sent.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/441239?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 18:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3a9abb8-37b4-41cc-a726-f58006d0e0c4</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;I get the same results if I change the peer address before calling &lt;span&gt;sd_ble_gap_connect()&lt;/span&gt;. The blacklist is implemented as a modification to nrf_ble_scan.c. The softdevice knows nothing about it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We have communication on the USB port and the blacklist is still operating so the CPU is not locked up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit: I forced a connect to an invalid address with no blacklisted devices and I got the timeout event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_connect returns NRF_SUCCESS but no events are generated</title><link>https://devzone.nordicsemi.com/thread/441089?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 08:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1508824f-23af-49d1-a976-d55b1bc8991d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Bob,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The issue is pretty strange.&amp;nbsp;&lt;br /&gt;Could you try some simple test to see if you call&amp;nbsp;&lt;span&gt;sd_ble_gap_connect() to connect to a non-exist advertiser do you get the&amp;nbsp;BLE_GAP_EVT_TIMEOUT timeout event ?&amp;nbsp;&lt;br /&gt;It should timeout after the scan timeout period.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My assumption is that the blacklist mechanism is simply implemented on the application, and doesn&amp;#39;t have anything to do with the softdevice , correct ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>