<?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>how to send the data using structure in the ble</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68016/how-to-send-the-data-using-structure-in-the-ble</link><description>Hello , 
 Now I am sending the data per 7.5ms in the interval of time over ble .I am loosing the packets , to avoid this I am planning to send the data in the structure .How to send the structure data in this function ble_nus_data_send . Usually I used</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Nov 2020 14:03:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68016/how-to-send-the-data-using-structure-in-the-ble" /><item><title>RE: how to send the data using structure in the ble</title><link>https://devzone.nordicsemi.com/thread/278618?ContentTypeID=1</link><pubDate>Thu, 05 Nov 2020 14:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fffc7576-a42f-49f0-abea-82de695c3548</guid><dc:creator>Edvin</dc:creator><description>[quote user=""]&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Now I am sending the data&amp;nbsp; per 7.5ms in the interval of time over ble .I am loosing the packets&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;Do you check the return value of ble_nus_data_send()? If this returns NRF_ERROR_SUCCESS, you should not loose any packets. Can you check that it actually returns NRF_SUCCESS?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>