<?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>51822 bluetooth</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/936/51822-bluetooth</link><description>Hi. 
 Using 51822 with BLE stack, I was faced with the problem of low transfer rates (5kb) on my android device (phone). It is very slow. 
 Can work 51822 with standart Bluetooth (not BLE)?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Aug 2014 03:58:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/936/51822-bluetooth" /><item><title>RE: 51822 bluetooth</title><link>https://devzone.nordicsemi.com/thread/4500?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2014 03:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3303357-9b72-4a18-9652-5dc20b945ac2</guid><dc:creator>bin simon</dc:creator><description>&lt;p&gt;Hi Kristin, I am working on a sensor device using S110 and I am looking for the peer central device(e.g. smartphone, tablet or PC) to which S110 can send 6 packets at each connection interval.If you do not mind, could you tell me about the peer device you used for S110 thoughput  measurement as mentioned &amp;quot;table 15 of section 7 Radio Notification on S110 nRF51822 SoftDevice Specification v1.3&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822 bluetooth</title><link>https://devzone.nordicsemi.com/thread/4499?ContentTypeID=1</link><pubDate>Tue, 20 May 2014 09:47:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7ed2a6c-afde-4b60-9fe5-881a384ed5fa</guid><dc:creator>Paul Tay</dc:creator><description>&lt;p&gt;Hi Kristin,&lt;/p&gt;
&lt;p&gt;We are working on Android and iOS apps. Currently using S3 with Android 4.3 and Note to communicate with nRF51822. Baud rate of 19200bps for our serial communication.&lt;/p&gt;
&lt;p&gt;Q1. How can we synchronize the transmission of 4 packets per connection interval? Based on sample code nRFUART, do we send out consecutively packet of 20 bytes after previous packet was sent out using writeRXCharacteristic ? Or should it pause for 10ms before sending out the next packet?&lt;/p&gt;
&lt;p&gt;Q2. We have encountered abnormal behavior on S3 and Note after using writeRXCharacteristic at time interval of 20ms or lower. Is there a way to read transmission status in Android app before using writeRXCharacteristic to send out 20 bytes?&lt;/p&gt;
&lt;p&gt;Q3. In our project, data size transmitted can be more than 100kbytes. Is there any further recommendation on Android and iOS app that we need to take note in order to increase data rate and avoid abnormality behavior on devices?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Regards,
Paul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822 bluetooth</title><link>https://devzone.nordicsemi.com/thread/4504?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2013 16:31:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8c7ed90-1e27-4cf4-b2a0-03a39f1e35b3</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Yes, connection parameters will significantly affect the throughput. Take a a look at this question for details on what connection parameters are:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/what-is-connection-parameters" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/what-is-connection-parameters&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PS: In the latest SDKs, there is a nice macro you can use instead of the SECOND_1_25_MS_UNITS define, to set the intervals like this if you want 7.5 ms:
MSEC_TO_UNITS(7.5, UNIT_1_25_MS)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822 bluetooth</title><link>https://devzone.nordicsemi.com/thread/4502?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2013 16:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49c5f2e7-5486-4ea8-a913-738d0229eef3</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;It is true that there is theoretically time to transfer more packets, but the S110 supports maximum six packets per event, no matter how long the interval is. This has to do with RAM usage for the internal buffers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822 bluetooth</title><link>https://devzone.nordicsemi.com/thread/4503?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2013 03:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df76282-3c8b-4782-b72e-a35e7288532e</guid><dc:creator>Chris Lovett</dc:creator><description>&lt;p&gt;note also, to get those rates you will need to set the MIN_CONN_INTERVAL and MAX_CONN_INTERVAL to something smaller than the defaults they use in the sample apps.  I&amp;#39;ve used SECOND_1_25_MS_UNITS / 20 for example, to get a nice steady stream of events from my device to my phone.  The defaults are set to 1/2 a second which makes for a very low bandwidth indeed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822 bluetooth</title><link>https://devzone.nordicsemi.com/thread/4501?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2013 14:45:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5806cb-1bfd-4f7c-9a0f-dcafb0944b74</guid><dc:creator>Wobs</dc:creator><description>&lt;p&gt;Hi Kristin, I think your comment regarding the packet limit needs some clarification:&lt;/p&gt;
&lt;p&gt;On the PHY, the max data packet size is: payload 27bytes + the 4 byte MIC + 2 byte header + 1 byte preamble + 4 byte access address + 3 byte CRC, in total this is 41bytes = 328 bits, this takes 328us on the PHY. So if both the master and the slave sends these maximum size packets back and forth in the connection event, then the maximum number of packets (x) in each direction at maximum packet has to satisfy 2 * x * (328 + 152 (max. IFS)) &amp;lt; connection interval [us]&lt;/p&gt;
&lt;p&gt;Even at 7.5ms this is 7 packets, but there is no reason the LL can not send more packets than this if the connection interval is longer if I&amp;#39;m not mistaken.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51822 bluetooth</title><link>https://devzone.nordicsemi.com/thread/4498?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2013 11:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3dc3f74-e17c-4091-a1c5-5f5afeeb1f8f</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Unfortunately, the nRF51822 does only work with BLE.
Your data transfer rate is a little low, which Android version do you have?&lt;/p&gt;
&lt;p&gt;By theory, with BLE, you can have maximum 6 packets per connection interval and minimum 7.5ms connection interval. This results the maximum throughput of (1000/7.5) * 6 * max_payload_size.
Currently the nRF51822 supports max_payload_size = 20 bytes. (MTU = 23 byte, 1 byte opcode, 2 byte handle).&lt;/p&gt;
&lt;p&gt;So the maximum data throughput that the nRF51822 can achieve is in best case = (1000/7.5) * 6 * 20  = 16 kB/s.&lt;/p&gt;
&lt;p&gt;However, usually you will not be able to achieve this speed due to limitations on the host.
On iOS and Android usually you will have maximum 4 packet per connection interval. On Android devices you can get as low as 7.5ms connection interval. On iOS device, you can get something around 20 ms connection interval.&lt;/p&gt;
&lt;p&gt;On the test here with a Samsung S4 running Android 4.2.2, we transferred 20kB in ~1850ms (~10.8 kB/s) from the nRF51822 to the phone.&lt;/p&gt;
&lt;p&gt;Throughput on the other direction should be very similar.&lt;/p&gt;
&lt;p&gt;How quick the host can support depends much on the available resources on the host stack, if it have to handle several slaves which also require high bandwidth, the throughput for each will be reduced (less packets per connection interval).&lt;/p&gt;
&lt;p&gt;Same apply for PC, not all PC BLE stack and driver support 6 packets per connection interval and 7.5ms connection interval.&lt;/p&gt;
&lt;p&gt;Also note that with Android 4.3 on S4, the minimum connection interval is 30 ms, leading to lower data rate.&lt;/p&gt;
&lt;p&gt;Regards,
Kristin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>