<?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>send 2 samples (12 bytes each) every 2ms in nrf52DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24634/send-2-samples-12-bytes-each-every-2ms-in-nrf52dk</link><description>Hi! I&amp;#39;m using nrf52 DK as central and nrf52dk as a peripheral device. Connection interval 10ms. I want to send 10 samples each of 12 bytes every 10ms connection interval. But is it possible to push 2 samples every 2ms? Or is it that I need to wait for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Aug 2017 11:49:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24634/send-2-samples-12-bytes-each-every-2ms-in-nrf52dk" /><item><title>RE: send 2 samples (12 bytes each) every 2ms in nrf52DK</title><link>https://devzone.nordicsemi.com/thread/96969?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 11:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a024ab86-7deb-4c29-920d-e35fe331ca10</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Use the length you want :) In addition you could look at Data Length Extension, although it&amp;#39;s not really needed in your case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send 2 samples (12 bytes each) every 2ms in nrf52DK</title><link>https://devzone.nordicsemi.com/thread/96970?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 10:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7de93929-a993-47a5-ba30-880dda0a43a6</guid><dc:creator>Nivetha</dc:creator><description>&lt;p&gt;Okay. Got it. Thanks! My packet size is 48 bytes. I can wrap all the 10 samples within 48 bytes. So, the att_mtu size should be 48 + 3bytes for over head, is it? Or we should only set 23, 158, 247?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send 2 samples (12 bytes each) every 2ms in nrf52DK</title><link>https://devzone.nordicsemi.com/thread/96968?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 09:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb43ca49-61e5-4aad-bf4c-c76416e422a4</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;The event lenght is not the connection interval. It is used by the scheduler; &lt;em&gt;The time set aside for this connection on every connection interval in 1.25 ms units.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m afraid you have to buffer the samples and send them all in the first available connection event. Just make sure you have enough buffer space: hvn_tx_queue_size. Note that it might make sense to groupe the samples and send longer att mtu&amp;#39;s.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>