<?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>NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78314/nrf52840-reprot-an-error-after-disconnection</link><description>Dear Nordic Enginneer 
 Our customers has a problem when using the NRF52840. 
 They want to make a mouse,and now they use LLPM and then they use the gmouse example and the dongle example in NCS. 
 They test the communication distance,Dongle is the PCA10056</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Aug 2021 01:22:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78314/nrf52840-reprot-an-error-after-disconnection" /><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/326443?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 01:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6131485-07f9-4e88-87ed-71a25eb1aeab</guid><dc:creator>Hannibalhz</dc:creator><description>&lt;p&gt;&lt;span&gt;Dear Kenneth&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;This suggestion is very useful, I did a test in the office, this problem has been solved, thank you very much for your support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; Best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/326135?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 09:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94fc5190-445d-4728-99f3-dc574fe41442</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Does increasing the connection attempts help?&lt;/p&gt;
&lt;p&gt;Try to set CONFIG_BT_SCAN_CONN_ATTEMPTS_COUNT=10&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/325896?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 09:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6706c148-4f29-4970-af6e-95b5ff98dfb1</guid><dc:creator>Hannibalhz</dc:creator><description>&lt;p&gt;Dear Kenneth&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I tried your suggestion today and changed BT_LE_SCAN_OPT_FILTER_DUPLICATE t to BT_LE_SCAN_OPT_NONE. But it didn&amp;rsquo;t take effect. It doesn&amp;rsquo;t seem to solve the problem.Do you have any good suggestions?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Looking forward to your reply.Thanks you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/325740?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 12:43:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bd97743-8f72-4ed5-8cac-d119f2e678a4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Let me ask a bit internally if someone have a suggestion.&lt;/p&gt;
&lt;p&gt;Edit: One thing you can try in the meantime, in scan_init() change from&amp;nbsp;BT_LE_SCAN_OPT_FILTER_DUPLICATE to&amp;nbsp;BT_LE_SCAN_OPT_NONE.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/325687?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 10:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a872f500-2c90-4fa6-af2c-da73b09be9a4</guid><dc:creator>Hannibalhz</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;span&gt;Dear Kenneth&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Today&amp;nbsp; I used two 52840DKs. The burning program was as I described before. I didn&amp;rsquo;t modify any programs, only the configuration. What I saw seemed to be a problem with DONGLE. As long as DONGLE was powered off and restarted, the mouse and dongle can reconnect. The following is the information printed by RTT after disconnection. The dongle starts to scan, but it seems to enter some abnormal state after the connection fails.&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03057248] &amp;lt;inf&amp;gt; ble_scan: Scan started&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03057251] &amp;lt;inf&amp;gt; event_manager: e: ble_peer_search_event inactive&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03057253] &amp;lt;inf&amp;gt; event_manager: e: ble_peer_search_event active&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03057257] &amp;lt;inf&amp;gt; event_manager: e: led_event led_id:1 effect:0x4aa10&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03057260] &amp;lt;inf&amp;gt; event_manager: e: led_event led_id:1 effect:0x4aa20&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03073621] &amp;lt;inf&amp;gt; ble_scan: Filters matched. F1:7F:A1:3F:AB:CA (random) connectable&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03073650] &amp;lt;inf&amp;gt; ble_scan: Connecting done&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03092138] &amp;lt;inf&amp;gt; ble_state: Setting TX power to: 0&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03092147] &amp;lt;inf&amp;gt; ble_state: TX power returned by command: 0&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03092148] &amp;lt;inf&amp;gt; ble_state: Connected to F1:7F:A1:3F:AB:CA (random)&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03092161] &amp;lt;inf&amp;gt; event_manager: e: ble_peer_event id=0x20002e48 CONNECTED&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03092167] &amp;lt;inf&amp;gt; event_manager: e: led_event led_id:1 effect:0x4aa20&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03093567] &amp;lt;inf&amp;gt; ble_state: Disconnected from F1:7F:A1:3F:AB:CA (random) (reason 62)&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03093570] &amp;lt;inf&amp;gt; event_manager: e: ble_peer_event id=0x20002e48 DISCONNECTED&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03093575] &amp;lt;inf&amp;gt; event_manager: e: led_event led_id:1 effect:0x4aa20&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03094081] &amp;lt;wrn&amp;gt; ble_scan: Active scan already disabled&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03094091] &amp;lt;inf&amp;gt; ble_scan: Address filter added F1:7F:A1:3F:AB:CA (random)&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03094112] &amp;lt;inf&amp;gt; ble_scan: Scan started&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03094115] &amp;lt;inf&amp;gt; event_manager: e: ble_peer_search_event inactive&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03094117] &amp;lt;inf&amp;gt; event_manager: e: ble_peer_search_event active&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03094121] &amp;lt;inf&amp;gt; event_manager: e: led_event led_id:1 effect:0x4aa10&lt;/p&gt;
&lt;p&gt;00&amp;gt; [03094124] &amp;lt;inf&amp;gt; event_manager: e: led_event led_id:1 effect:0x4aa20&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;According to the LOG information, it seems that an abnormality occurred during the last scan.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have already suggested that they enable Dongle watchdog. May I ask if there is any better suggestion for this issue. Our client is very anxious, so please help analyze it as soon as possible.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Looking forward to your reply.Thanks you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/325085?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 11:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44cdd640-83e4-4b0a-abd7-672aaf62a71b</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have they written code to ensure that the dongle will start to scan again when receiving the disconnect event?&lt;/p&gt;
&lt;p&gt;Also, the same for the peripheral, does it start to advertise again after disconnect event?&lt;/p&gt;
&lt;p&gt;I suspect they may go to sleep on disconnect.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/324745?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 06:08:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:febe7484-bdcf-4f3a-b48d-c4e78348acdb</guid><dc:creator>Hannibalhz</dc:creator><description>&lt;p&gt;Dear Kenneth&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Our customer once again asked why the connection could not be established again. Could you please give me a little help?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;span&gt;Looking forward to your reply.Thanks you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/323899?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 02:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:861c130c-af29-4879-b65f-bb804e2729dc</guid><dc:creator>Hannibalhz</dc:creator><description>&lt;p&gt;Dear Kenneth&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you for your reply! I have&amp;nbsp; a one more question I would like to ask you.Please tell me why the Mouse and the Dongle can&amp;#39;t connect again after the error 0x03is generated?Only by restarting the two deveice can the connection be re-established.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Looking forward to your reply~&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 reprot an error after disconnection</title><link>https://devzone.nordicsemi.com/thread/323694?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 10:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48ce7a3b-b5e4-4fc9-bfa5-db88f1ed36de</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]0x3e[/quote]
&lt;p&gt;This is a common error code also (&amp;quot;failed to establish connection&amp;quot;), it simply means that the central sent a connection request packet, but the connection request packet not received by the peripheral. The&amp;nbsp;packet loss may happen due to interference, it&amp;#39;s marginally out of range, other central roles devices trying to scan the peer etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So both error codes (disconnect reasons) are normal.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>