<?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>What is the highest data rate for multiple-piconet sensor network with 12 nodes?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33769/what-is-the-highest-data-rate-for-multiple-piconet-sensor-network-with-12-nodes</link><description>Greetings, 
 I have 12 sensors each of which is located on an nRF52832 board. I need to collect the sensor data at 50Hz (10 bytes for each sensor). 
 For some reason I can not connect all 12 sensors to the same central. 
 So here is my setup: 
 12 sensor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Apr 2018 12:54:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33769/what-is-the-highest-data-rate-for-multiple-piconet-sensor-network-with-12-nodes" /><item><title>RE: What is the highest data rate for multiple-piconet sensor network with 12 nodes?</title><link>https://devzone.nordicsemi.com/thread/129774?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 12:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01901267-b0fa-4e19-9a96-22c6f7de986a</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, the setup you describe, and should work fine. This is how I understand the setup: three groups consisting of one master and three slaves, the master in each group communicates with a hub. The hub is connected to a phone.&lt;/p&gt;
&lt;p&gt;To make the transfer of data most efficient, I would think you could do something like this:&lt;/p&gt;
&lt;p&gt;Each packet of sensor data: 10bytes (data) + 1 byte (sensor Id) = 11 bytes (an example)&lt;/p&gt;
&lt;p&gt;Each group master could transmit sensor data to hub by collecting sensor data from all four sensors, and then transmit all that at&amp;nbsp; a time. The MTU size should then be set large enough to cover all that data, for instance 44 bytes.&lt;/p&gt;
&lt;p&gt;The MTU size can be changed/set using the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_ble_gatt.html&amp;amp;cp=4_0_0_3_2_11"&gt;GATT module&lt;/a&gt; in the SDK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the connection between the hub and the phone, I see two different options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;Set the MTU size in this connection to (for example) 3 x 44 bytes&amp;nbsp; to cover all the data from the sensors each connection event. The drawback of this method is that if something goes wrong during the transmission of this packet, and the packet will have to be re-transmitted (automatically done by the softdevice), it will have to wait until the next connection interval. &lt;br /&gt;This option requires that the phone supports ATT MTU exchange.&lt;/li&gt;
&lt;li&gt;Use connection length extension: When using connection length extension, multiple packets can be transmitted per connection interval within the given time frame. With this option, smaller data packets can be transmitted at a time. If transmission of one packet fails, it can be re-transmitted within the same connection interval. The main difference between this option and the one with long MTU is that, if something goes wrong, the phone will receive some sensor data each connection interval, for example 2 out of 3 packets of sensor data.&lt;br /&gt;This option requires that the phone supports connection event length extension.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For how to set up this system most efficiently, I would recommend you to carefully read the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.sds%2Fdita%2Fsoftdevices%2Fs130%2Fmultilink_scheduling%2Fmultilink_scheduling.html&amp;amp;cp=2_3_1_0_14"&gt;Scheduling&lt;/a&gt;&amp;quot; chapter in the softdevice specification.&lt;/p&gt;
&lt;p&gt;For easily testing setting of MTU size, you can for example take a look at the example&amp;nbsp; &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_att_mtu.html&amp;amp;cp=4_0_0_4_1_1_0"&gt;Experimental: ATT_MTU Throughput Example&lt;/a&gt; &amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>