<?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>Real-time data transmission by nrf51822 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/726/real-time-data-transmission-by-nrf51822</link><description>Hello all, 
 I&amp;#39;d like to use NRF UART App sample code (newest iOS7 version) to send data from iOS6 to nrf51822 for &amp;quot;real time&amp;quot; data transmission. But I found that when I send 20 bytes by iOS per 15ms, nrf51822 will receive the data per 30ms. I want the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Oct 2013 09:00:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/726/real-time-data-transmission-by-nrf51822" /><item><title>RE: Real-time data transmission by nrf51822 ?</title><link>https://devzone.nordicsemi.com/thread/3704?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 09:00:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa8d6beb-4e28-450d-ac9e-3dd0c59c4f58</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;With BLE, two devices communicate only each connection interval, so the minimum time between transfers will be the connection interval. Take a look at &lt;a href="https://devzone.nordicsemi.com/index.php/what-is-connection-parameters"&gt;this question for more on connection parameters&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In addition, Apple have a document detailing their recommendations for BLE &lt;a href="https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf"&gt;here&lt;/a&gt;, and as you can see they limit the usable connection interval to 20 to 40 ms. If you send a request as detailed there, you will get a connection interval of ~30 ms, which is what you&amp;#39;re seeing. There isn&amp;#39;t really any way to fix this, and it is not possible to get an interval of 10 ms.&lt;/p&gt;
&lt;p&gt;As for your write problems, you can change the properties available for your characteristic in the char_props field of the ble_gatts_attr_md_t of your characteristic. If you want to use Write Commands instead of Write Requests, you should make sure that .write_wo_resp is set:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
char_md.char_props.write_wo_resp = 1;

&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>