<?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 service configuration help requiered. Update speed over 100hz</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64672/ble-service-configuration-help-requiered-update-speed-over-100hz</link><description>Hello, sorry to bother once more. 
 I am new to the nRF world and bluetooth in general, I am trying to build a device /app that gets data from 3 sensors. 2 of which operate at 100hz+ and the third one at around 1-2hz 
 Each device collects data on 3 axis</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Aug 2020 14:20:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64672/ble-service-configuration-help-requiered-update-speed-over-100hz" /><item><title>RE: BLE service configuration help requiered. Update speed over 100hz</title><link>https://devzone.nordicsemi.com/thread/264304?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 14:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20ee6e80-1847-4d7d-b469-dae8e1be678b</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Sorry for the late reply, I&amp;#39;m glad you&amp;#39;ve fixed your issue. If you need a higher throughput you can increase the packet size by increasing the MTU size and enabling Data Length Extensions.&lt;br /&gt;&lt;br /&gt;The Nordic Uart Service example shows how you can achieve good throughout when you&amp;#39;ve got a fair bit of data to send.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE service configuration help requiered. Update speed over 100hz</title><link>https://devzone.nordicsemi.com/thread/264225?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 10:40:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20df69e3-1f1f-4d5e-b154-6be655833310</guid><dc:creator>Tuko305</dc:creator><description>&lt;p&gt;Some advice on building that app and some pointers would be welcomed.&lt;/p&gt;
&lt;p&gt;But I fixed my issues. Apparently calling the sd_ble_gatts_hvx(). creates a package and sends it... so I was sending 4bytes of data per package and sending many many packages per conn interval, from what I understood from deeper reading is that phones usually only accept 6-7 package per conn interval. So those packages would be taken almost instantly by the fastest services.&lt;/p&gt;
&lt;p&gt;So I am now consolidating data before sending it. I do three readings at 10ms intervals and send them on the third, I put conn interval to be 30ms so that I can send my data without having to wait, or skipping conn intervals, this time as 18bytes almost filling the 20bytes default package limit. (changed from floats to int16).&lt;/p&gt;
&lt;p&gt;Seems to resolve my main issue. All services update fine, when all are active.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>