<?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>send data packets continuously over nus</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21918/send-data-packets-continuously-over-nus</link><description>Can I use below code to send data packets continuously over nus (&amp;gt;20 packets) 
 i=UserUart.RxBuf[1]+2;
 index = 0;
 while(i&amp;gt;0)
 {
 if(i&amp;gt;20)
 {
 while((err_code = ble_nus_string_send(&amp;amp;m_nus, UserUart.RxBuf+index, 20)) ==BLE_ERROR_NO_TX_PACKETS)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 May 2017 10:23:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21918/send-data-packets-continuously-over-nus" /><item><title>RE: send data packets continuously over nus</title><link>https://devzone.nordicsemi.com/thread/86063?ContentTypeID=1</link><pubDate>Thu, 11 May 2017 10:23:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c5e8d28-63ff-47f1-9823-7f06595049b1</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes, it should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send data packets continuously over nus</title><link>https://devzone.nordicsemi.com/thread/86062?ContentTypeID=1</link><pubDate>Thu, 11 May 2017 00:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cebdbcb-0ef9-41af-af92-431acc3303aa</guid><dc:creator>Fiske</dc:creator><description>&lt;p&gt;In my previous question, someones recommend me to add BLE_ERROR_NO_TX_PACKETS check for &amp;gt; 7 packets. I have added the BLE_ERROR_NO_TX_PACKETS check as above and ask for comments but no one reply me. So I post the question here again. Please help me in this as soon as possible. It is urgent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send data packets continuously over nus</title><link>https://devzone.nordicsemi.com/thread/86061?ContentTypeID=1</link><pubDate>Thu, 11 May 2017 00:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cf9f4db-a22d-4cdb-8e44-d2f74d0e2de1</guid><dc:creator>Fiske</dc:creator><description>&lt;p&gt;It doesn&amp;#39;t duplicate with previous question. I have add BLE_ERROR_NO_TX_PACKETS error check for &amp;gt; 7 packets. Is it ok to send 15 packets continuously by using abvoe code? Please help me in this issue at your earliest convenience. It is urgent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send data packets continuously over nus</title><link>https://devzone.nordicsemi.com/thread/86060?ContentTypeID=1</link><pubDate>Wed, 10 May 2017 13:25:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a8c0f4a-1199-42ff-9cf7-3b915a64b714</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/134390/send-packet-continuously-over-nus/"&gt;Duplicate&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>