<?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>BLE Maximum speed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19696/ble-maximum-speed</link><description>I am using the nrf52832 with the s132 for a project in which I have a frame with 24 bytes that need to be transmitted through BLE.
I have followed the tutorials and I have developed my own_service with its own characteristics transmitting 20 bytes. Is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Feb 2017 11:47:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19696/ble-maximum-speed" /><item><title>RE: BLE Maximum speed</title><link>https://devzone.nordicsemi.com/thread/76627?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2017 11:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1551386-2b24-4b67-8ddd-4a3d6bc7b139</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;About the time it takes to send data as a peripheral you can check the power profile &lt;a href="https://devzone.nordicsemi.com/power/"&gt;here&lt;/a&gt; for an example using S132 v2. The profile should be similar with the other versions of S132. 20 bytes effective data equals 27 byte link layer data which is used in the profile. If you need to send two packets, the extra time will be  &lt;code&gt;time for one packet of 20 bytes + switch + RX + switch + TX 4 bytes&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Remember that the packet is sent in the connection event, so the time from you call sd_ble_gatts_hvx(..) to the packet is sent will also include the time to the connection event which may be as large as the connection interval.&lt;/p&gt;
&lt;p&gt;Let me know if you rather meant how many of these packets you can send per second. This will depend on how many packets you can send per connection event. Simplified:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Packets per connection event * bytes per packet / connection interval.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;See &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_0_0_16"&gt;here&lt;/a&gt; for numbers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Maximum speed</title><link>https://devzone.nordicsemi.com/thread/76626?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 23:43:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2313ca62-1ee4-40a8-a901-cb9f4881a562</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Length of data for a characteristic has been discussed in other questions.&lt;/p&gt;
&lt;p&gt;AFIK. You can negotiate with the other device to send more than 20 bytes, but most people just send the data in multiples of 20 bytes as its a lot less hassle and also not reliant on the other end accepting more than 20 bytes.&lt;/p&gt;
&lt;p&gt;PS.&lt;/p&gt;
&lt;p&gt;Your question title does not reflect what you ask in the question, I suggest you change it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>