<?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>Empty SD Bluetooth HVN TX queue manually, connection loss while transferring data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72631/empty-sd-bluetooth-hvn-tx-queue-manually-connection-loss-while-transferring-data</link><description>Hi, 
 my case: I try to send as fast as possible data to smartphone. Bluetooth hvn_tx_queue_size = 20. 
 But if I&amp;#39;m losing connection to the smartphone, data packages are stuck in queue and if I do a reconnect, it seems like (some) data from the queue</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Mar 2021 13:24:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72631/empty-sd-bluetooth-hvn-tx-queue-manually-connection-loss-while-transferring-data" /><item><title>RE: Empty SD Bluetooth HVN TX queue manually, connection loss while transferring data</title><link>https://devzone.nordicsemi.com/thread/299284?ContentTypeID=1</link><pubDate>Thu, 11 Mar 2021 13:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3a29ed1-26c6-418d-881a-f8321c672c82</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;On disconnect all packets are flushed in the softdevice automatically,&amp;nbsp;so if you experience any packets are sent on re-connect then those packets are written after the connection is established.&lt;/p&gt;
&lt;p&gt;It is possible to send a connection parameter update request, which may also specify a preferred supervisor timeout, this can trigger the disconnect event faster if there is no communication with the peer.&lt;/p&gt;
&lt;p&gt;If you are in a connection with an apple device I recommend to check out chapter 36.6:&lt;br /&gt;&lt;a href="https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf"&gt;https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The recommendations by apple also works with other vendors is my experience.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>