<?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>Packet loss sending data from iOS to nRF52 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30113/packet-loss-sending-data-from-ios-to-nrf52-dk</link><description>Dear all members, 
 
 I am having a strange issue. I am using the iOS Nordic Toolbox and ble_app_uart. I am sending large amounts of data from Central to peripheral, iPhone to nRF52 DK. I finding that when I send indications or Write without Response</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Feb 2018 10:22:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30113/packet-loss-sending-data-from-ios-to-nrf52-dk" /><item><title>RE: Packet loss sending data from iOS to nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/119899?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 10:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47574719-19b4-4679-b0f5-22ca6d23fd9b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Iphone 7 and newer also support long MTU, data length extension, and 2mbit mode if you want increase&amp;nbsp;throughput even more:)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/ble_data_throughput/ble_data_throughput.html?cp=2_3_1_0_16"&gt;infocenter.nordicsemi.com/.../ble_data_throughput.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Packet loss sending data from iOS to nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/119812?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 17:06:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d69be30d-8857-44e7-8c4d-c4d227e9aef1</guid><dc:creator>skhan80</dc:creator><description>&lt;p&gt;Vidar, it is a read only Boolean and it seems that the Toolbox DFU code already dynamically uses the Boolean based on what iOS version the phone running the app is :) If it returns false, the peripheralIsReady(toSendWriteWithoutResponse:) event occurs. Using there two in unison I have achieved higher throughput on iOS 11 using a iPhone 7 Plus.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Packet loss sending data from iOS to nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/119805?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 16:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae5c8fd6-d39a-4c09-b5fb-b09d0323c2f9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update. I was not aware of the new&amp;nbsp;&lt;strong&gt;canSendWriteWithoutResponse()&amp;nbsp;&lt;/strong&gt;function. Hopefully it will remove the need to use PRN in the future.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Packet loss sending data from iOS to nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/119799?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 15:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67f6383a-cb2c-408e-a334-d1df7da1577c</guid><dc:creator>skhan80</dc:creator><description>&lt;p&gt;Vidar, this is a great answer. I successfully improved throughput by sending N number of packets before waiting for a custom ACK from the DK. I am investigating the Nordic DFU implementation in the Toolbox app and have discovered that since iOS 11 a new addition to the iOS CoreBluetooth called &lt;strong&gt;canSendWriteWithoutResponse&lt;/strong&gt;. This seems to be a way to get information on iOS underlying transmission buffer! It seems to be working on iOS 11.2 and above but broken currently on MacOS.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Packet loss sending data from iOS to nRF52 DK</title><link>https://devzone.nordicsemi.com/thread/119585?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 16:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf02bbbb-e591-4c46-9f0e-2d9f31b7991c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As I understand it, this is a limitation with the Bluetooth framework on ios.&amp;nbsp; App is not notified of buffer overflow in tx output buffer, and packets added while buffer is full will become lost.&amp;nbsp;We&amp;#39;ve&amp;nbsp;have run into the same problem for our DFU solution,&amp;nbsp;and there we have solved it by using &amp;#39;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_dfu_transport_ble.html?cp=4_0_0_3_5_2_2_1#lib_dfu_transport_ble_control_point"&gt;packet receipt notification&lt;/a&gt;&amp;#39;. I.e., the iphone will send n number of packets before having to wait for the next packet receipt notification.&amp;nbsp;It&amp;#39;s possible to implement a similar mechanism in the UART example, but will require changes in both app and FW.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>