<?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>BLE4.2 and iPhone 7 throughput, PDU, packets per event and conn interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20525/ble4-2-and-iphone-7-throughput-pdu-packets-per-event-and-conn-interval</link><description>Hi,
I can see that Apple states that iPhone 7 supports LE Data Packet Length Extension forums.developer.apple.com/.../73168 . Anyone know if the packets per event and the connection interval is different on the iPhone7 ? I am trying to calculate the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Mar 2017 09:30:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20525/ble4-2-and-iphone-7-throughput-pdu-packets-per-event-and-conn-interval" /><item><title>RE: BLE4.2 and iPhone 7 throughput, PDU, packets per event and conn interval</title><link>https://devzone.nordicsemi.com/thread/80025?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2017 09:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:982e6c7e-2825-486e-92fd-2960541f1f4b</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;You can actually keep the connection event open until just before the next event starts. So using a faster connection interval isn&amp;#39;t necessarily better in this case. I think you should try to use longer interval when using DLE. Connection intervals of 7.5ms isn&amp;#39;t supported by iOS, but it doesn&amp;#39;t matter as you wouldn&amp;#39;t be able to fit 6 * 251 byte in that short amount of time. Theoretically you should be able to get 600-700+ kbs, But I haven&amp;#39;t tried to optimize that for iOS.&lt;/p&gt;
&lt;p&gt;Best thing would be to test it properly, but for calculations you need to consider the &amp;quot;RX time&amp;quot; + T_IFS + &amp;quot;tx time&amp;quot; + T_IFS, then repeat until you reach the connection interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE4.2 and iPhone 7 throughput, PDU, packets per event and conn interval</title><link>https://devzone.nordicsemi.com/thread/80024?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 15:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a3f55b5-23e2-4592-a150-8436a4087128</guid><dc:creator>donnib</dc:creator><description>&lt;p&gt;iPhone is the master and the peripheral is my device which i develop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE4.2 and iPhone 7 throughput, PDU, packets per event and conn interval</title><link>https://devzone.nordicsemi.com/thread/80023?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 11:57:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c59894ea-e06a-4bae-a1c4-d3b88f1321c9</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Connection interval depends on the master (= GAP Central) so are you concerned about iPhone being Central or Peripheral? You can try to change connection interval from Slave (GAP Peripheral) side but that has other limitations/delays... In general default connection interval when iPhone connects to BLE GAP Peripheral is 30ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE4.2 and iPhone 7 throughput, PDU, packets per event and conn interval</title><link>https://devzone.nordicsemi.com/thread/80022?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 08:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:631676fa-ba5a-4361-aa83-6ec81da1f781</guid><dc:creator>donnib</dc:creator><description>&lt;p&gt;Hi,
Thank you for your reply, if i connect with an nRF52 to an iPhone 7 then what can i theoretically expect, i am not sure i follow your data given above. Let&amp;#39;s assume that i enable DLE on the nRF52 and i use the iPhone 7 with iOS10. I use 6 events per interval of 30ms (but this is where i don&amp;#39;t know if i could go lower like 7,5ms, does iPhone7 support that do you know ?) and a payload size of 251bytes so theoretically the speed should be 6 * 251 * 1/0.030=50,2kB per second or 401kbps, is this correct ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE4.2 and iPhone 7 throughput, PDU, packets per event and conn interval</title><link>https://devzone.nordicsemi.com/thread/80021?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2017 13:39:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63e8b50a-8c3a-48a4-92fa-2d8281008fe6</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Yes, it is different. And the behavior might change depending on the iOS version as well. This also depend on whether the peer support DLE or not.&lt;/p&gt;
&lt;p&gt;iPhone 7 iOS 10.0.3, peer Without DLE:&lt;br /&gt;
ATT MTU size = 185 bytes.&lt;br /&gt;
Didn&amp;#39;t test max number of packets but it depends on the connection interval as well. The connection event has to be ended before the next connection evnt.&lt;/p&gt;
&lt;p&gt;iPhone 7 iOS 10 with DLE:
PDU size: 251bytes, (2.12ms)
ATT MTU size requested by iPhone:749
The maximum number of packets dependes on the connection interval and the capabilities of the peer.&lt;/p&gt;
&lt;p&gt;I did a quick test with the experimental ble_app_att_mtu_throughput example in the SDK and I could send three packets with 244byte of actual data, ATT MTU size:247bytes pdu size 251byte, 30ms connection interval. But I don&amp;#39;t think this is optimized for iOS as it is a nRF52 to 52 example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>