<?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>Unable to send consecutive commands to peripheral through bglib on C#</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29889/unable-to-send-consecutive-commands-to-peripheral-through-bglib-on-c</link><description>I am implementing Device Firmware Update using BGLib on C# using BLED112. When i am writing on the DFU Data point on Peripheral (which is a Nordic&amp;#39;s nrf51 chipset), i need to provide atleast 100 ms delay between each 20bytes chunk. If i am providing less</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Jan 2018 13:00:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29889/unable-to-send-consecutive-commands-to-peripheral-through-bglib-on-c" /><item><title>RE: Unable to send consecutive commands to peripheral through bglib on C#</title><link>https://devzone.nordicsemi.com/thread/118877?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 13:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5fa3113-5463-4b86-9f0b-03e0508de6f4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, the sniffer would really help to pin down the issue. I assume you know where to download our sniffer.&lt;/p&gt;
&lt;p&gt;Another way to test is to make a simple program and try to send a lot of notifications and then on the other side print number out or use LED to tell how many packet you receive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to send consecutive commands to peripheral through bglib on C#</title><link>https://devzone.nordicsemi.com/thread/118876?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 17:27:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7c51e41-09fd-44c4-9b11-d16e6f2ec7cc</guid><dc:creator>Usama Aftab</dc:creator><description>&lt;p&gt;The behavior is not being noticed from cellphone. I didn&amp;#39;t use any sniffer, probably i should set it up to see what is happening. I will update this thread afterwards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to send consecutive commands to peripheral through bglib on C#</title><link>https://devzone.nordicsemi.com/thread/118875?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 17:26:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afae7877-41c9-453c-8dfc-d2894e647c1c</guid><dc:creator>Usama Aftab</dc:creator><description>&lt;p&gt;Hello Hung, yes the data packet was sent from BLED112. The Flash page size is 4KB, so i needed to break the firmware in 4KB pages and then further break down to 20Bytes chunks. Since the notifications are off, i don&amp;#39;t know which 20 bytes chunk in 4KB flash page is having problem transmitting. But when at the end i am running the Execute command (0x04), it is giving me a response of {0x60, 0x04, 0x08}. There is no latency issue at the BlueGiga dongle, i have verified it at their forum.&lt;/p&gt;
&lt;p&gt;The only doubt i have is the connection properties. I am asking for 8ms of max and min connection interval, while firmware can only give between 15ms to 30ms... Do you think this is somehow having this effect that i need to give 100ms delay in between each 20 bytes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to send consecutive commands to peripheral through bglib on C#</title><link>https://devzone.nordicsemi.com/thread/118874?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 11:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d692ad0-6a55-4dc2-93e6-bad713443152</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;what exactly happen when &amp;quot;peripheral is not recieving my data and refusing to execute the data chunk&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Was the data packet sent from the BLED112 ? If you test using a phone, do you have the same problem ? Do you have a sniffer to capture what happens over the air ?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any reason why our DFU bootloader would require that 100ms delay.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>