<?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>Transfer large data with ble-bcast-mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22665/transfer-large-data-with-ble-bcast-mesh</link><description>Hello, 
 i&amp;#39;m currently looking into ble-bcast-mesh with the goal to transfer a large amount of data (up to 1kB) from one node to another. ble-bast-mesh is working (as far as i understand it) by broadcasting data in handles to the whole network, until</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Jun 2017 08:13:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22665/transfer-large-data-with-ble-bcast-mesh" /><item><title>RE: Transfer large data with ble-bcast-mesh</title><link>https://devzone.nordicsemi.com/thread/89117?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2017 08:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7824563-dfa5-403a-a2fd-152b726f3617</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;For the nRF51822/422, there is more current used in RX ( no DC DC - 0.4 mA more) in 2Mbps as compared to 1Mbps.
The TX current differences are marginal and only the on-air time is a significant factor.&lt;/p&gt;
&lt;p&gt;In the nRF52832, the RX for 2Mbps is 1.2mA (no DCD-DC) more as compared to the RX in 1Mbps.
The TX current differences are marginal and only the on-air time is a significant factor.&lt;/p&gt;
&lt;p&gt;1Mbps is the default setting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data with ble-bcast-mesh</title><link>https://devzone.nordicsemi.com/thread/89121?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 16:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:566ae4b2-87a8-47a7-80b2-509533a575dd</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Any drastic increase on power consumption for the 2Mbit mode? I assume the 1Mbit mode is the default setting correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data with ble-bcast-mesh</title><link>https://devzone.nordicsemi.com/thread/89120?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 13:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a9c0b02-faf6-4719-9802-7bbb723b764e</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Yes, increasing the packet size will also improve your bandwidth but will increase the probability of collisions. However you can also switch to 2Mbit mode for the radio which will reduce the on air time needed and reduce the probability of collisions. However larger packets will be a net positive on bandwidth even in 1Mbit mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data with ble-bcast-mesh</title><link>https://devzone.nordicsemi.com/thread/89119?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 13:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6452562c-a8d5-4d5c-b84e-6289aa2b8d93</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;I have also been using a similar scheme to transfer &amp;quot;long&amp;quot; message in my mesh network (N52832) with (a) the message pay load increased from 23 bytes to 112 bytes [there is another thread showing how to do this] and (b) using 2 handles in this fashion:&lt;/p&gt;
&lt;p&gt;handle 1 for node A send message to node B, and node B returns ACKs to node A;
handle 2 for node B sends message to node A, and node A returns ACKs to node B;&lt;/p&gt;
&lt;p&gt;My mesh network is kind of &amp;quot;puny&amp;quot; right now, comprising only 6 nodes, and my application also involves sending sporadic messages, so I cannot say for sure this scheme will work under extreme message volume condition.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data with ble-bcast-mesh</title><link>https://devzone.nordicsemi.com/thread/89116?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 12:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a75b13b-73dd-4f16-b2ad-841b1cd88b63</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;You will need to experiment a bit on the number of handles per node, perhaps you can start with 5.
The ACKs will give you the reliability. Make sure the cache size is large enough is have all the handles in the RAM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data with ble-bcast-mesh</title><link>https://devzone.nordicsemi.com/thread/89118?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 10:58:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85727300-8541-41ce-afd8-65dd64754fc3</guid><dc:creator>hberg</dc:creator><description>&lt;p&gt;One transfer at a time is no problem, there are only about 10 devices and the data transfer is sporadic, but must absolutely be reliable. Each device should also be able to talk to each other. Because each device is on its on, i must implement some kind of discovery to detect what nodes are on the mesh (still figuring out).&lt;/p&gt;
&lt;p&gt;Can you tell me how many handles can be used in parallel efficiently? I think i will implement my scheme, but with multiple handles for data transfer like you advised.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data with ble-bcast-mesh</title><link>https://devzone.nordicsemi.com/thread/89115?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2017 10:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1113af8e-73ab-4c18-9d54-1ed80550ca58</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;1Kbyte of data does not appear to be an issue. Using multiple handles (a group of handles per node) will be the fastest. Building a sliding window scheme for acks so you do not set a lot of ACKs will be good i.e. you ack only a block of packets. We have also seen the &amp;quot;nacks&amp;quot; can also be useful i.e. send an ack for a block, but also use it to list missing packets in the block. The DFU for the mesh uses a scheme of &amp;quot;nacks&amp;quot;.&lt;/p&gt;
&lt;p&gt;In addition, you can stop the propagation of the data with some auto discovery of the location of the nodes and their neighbors, you will improve bandwidth even more.
Make sure you size the RAM correctly so that all the handles you are using will remain in the cache&lt;/p&gt;
&lt;p&gt;I think your scheme will work, but appears slower to me as it will allow only one transaction on the mesh at a time. I think an improved scheme can be devised with multiple handles and the comments above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>