<?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>Ble</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30120/ble</link><description>Dear sir, 
 Sir I am trying to send an array of 40 values via nrf51422 to your andriod app &amp;quot;BLE SCANNER&amp;quot; by using the function &amp;quot;ble_nus_string_send &amp;quot;. But it is sending only first six values. So please tell me how shall send the all the 40 values. 
 Regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Feb 2018 08:48:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30120/ble" /><item><title>RE: Ble</title><link>https://devzone.nordicsemi.com/thread/120785?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2018 08:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b8b1fa0-d8f5-4039-b84d-47dfffbd7f3c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I have sent you a friend request. We can take the personal details in PM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble</title><link>https://devzone.nordicsemi.com/thread/120664?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 07:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adc5b700-528b-46d2-b39c-8dc1b99009c0</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;Can you please give me your personal email id. The file size is large, cannot be uploaded here&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble</title><link>https://devzone.nordicsemi.com/thread/120432?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 13:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5168ef03-cc12-41a5-9614-d315fd02a100</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Please send me a personal message. I have opened it &amp;quot;for everyone&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble</title><link>https://devzone.nordicsemi.com/thread/120412?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 11:28:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3804e39c-7f3e-43ce-b1bd-04eff1b1db54</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;Thanks for your concern.Some files &amp;amp; functions those you have mentioned are not present in my project file. Can you please view my code? it will be great help. Please give me your email id.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble</title><link>https://devzone.nordicsemi.com/thread/120299?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 14:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b66e33a2-f020-4919-bffe-e27ba2edb9c6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/manoj.hiwarkar"&gt;Manoj Hiwarkar&lt;/a&gt;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you modified anything inside ble_nus_string_send? If you look inside this function, what is your BLE_NUS_MAX_DATA_LEN? I assume it is larger than 20, since you do not reveice NRF_ERROR_INVALID_PARAM, but can you check what it is?&lt;/p&gt;
&lt;p&gt;Can you also check in sdk_config.h, what is the value of NRF_SDH_BLE_GATT_MAX_MTU_SIZE?&lt;/p&gt;
&lt;p&gt;Also, if you used the ble_app_uart example, I assume you have the function gatt_init() in main.c. What parameters do you pass into nrf_ble_gatt_att_mtu_periph_set() inside gatt_init()?&lt;/p&gt;
&lt;p&gt;And lastly, can you check inside gatt_evt_handler(), it should set&lt;/p&gt;
&lt;p&gt;m_ble_nus_max_data_len = p_evt-&amp;gt;params.att_mtu_effective - OPCODE_LENGTH - HANDLE_LENGTH;&lt;/p&gt;
&lt;p&gt;Can you check what m_ble_nus_max_data_len is after this event? Try to print it in the RTT-log, or using printf for the uart.&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><item><title>RE: Ble</title><link>https://devzone.nordicsemi.com/thread/119619?ContentTypeID=1</link><pubDate>Sat, 03 Feb 2018 05:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a942d190-23e6-4325-b0ed-38ba7206e077</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;Sir I am sending the values one by one &amp;amp; not at a time.The maximum size of one value is only 2 byte. Is there pointer value that we can change. Especially &amp;quot;&amp;amp;m_nus&amp;quot;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ble</title><link>https://devzone.nordicsemi.com/thread/119594?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 20:42:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b7769e8-e086-4531-8fd5-0268906e3da4</guid><dc:creator>nar0909</dc:creator><description>&lt;p&gt;Hi Manoj Hiwarkar,&lt;/p&gt;
&lt;p&gt;ble limitation : send 20 bytes and receive 20 bytes.&lt;/p&gt;
&lt;p&gt;Not sure what data type your 40 values are but the commonly used data type is bytes.&lt;/p&gt;
&lt;p&gt;So byte array[20] will be the max transfer limit over ble and likewise ble will only receive bytes[20] at a given time.&lt;/p&gt;
&lt;p&gt;There are ways on how you could send/receive data more than 20 bytes long.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/553/dealing-large-data-packet-s-through-ble"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/553/dealing-large-data-packet-s-through-ble&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I would recommend using nRFToolbox or nRF Connect for uart service, just because it&amp;#39;s more efficient.&lt;/p&gt;
&lt;p&gt;And you have mentioned your receiving only 6 values? So what data type are you trying to send?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>