<?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>Reduce the number of characters transmitted through a notification.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47232/reduce-the-number-of-characters-transmitted-through-a-notification</link><description>So I run SDK 15.0. I have a notification channel, and I want to transmit some data on it. 
 I run this code 
 hvx_params.handle = gatt_notify_handlers[index].gatt_handle;
 hvx_params.type = BLE_GATT_HVX_NOTIFICATION;
 hvx_params.offset = 0;
 hvx_params</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 May 2019 07:23:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47232/reduce-the-number-of-characters-transmitted-through-a-notification" /><item><title>RE: Reduce the number of characters transmitted through a notification.</title><link>https://devzone.nordicsemi.com/thread/187136?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 07:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:617d7cd1-aecf-47ac-957f-5653c3c5fb13</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please disregard my last reply, as I clearly misunderstood what you are trying to accomplish. Sorry about that.&lt;/p&gt;
&lt;p&gt;How are you confirming that you are receiving all 19 characters. Where are you reading the 19 characters?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This should be the way to obtain 3 characters on the receiving end, but can you try to set the data length in your receiving application as max 3 as well?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reduce the number of characters transmitted through a notification.</title><link>https://devzone.nordicsemi.com/thread/187070?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 16:44:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de516366-bfa2-4d34-a479-aebd6c7e5f1c</guid><dc:creator>danatbws</dc:creator><description>&lt;p&gt;ble_nus.c doesn&amp;#39;t seem to have any references to add_char_params in SDK 15.0. I found some other service files, but unless I&amp;#39;m reading them wrong, they are using add_char_params to limit the max length of the transmission as I create the characteristic. Surely I&amp;#39;m not meant to remove my characteristic and creating it again between every notification if I wish to vary the notification length? Am I misunderstanding what you&amp;#39;re saying?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reduce the number of characters transmitted through a notification.</title><link>https://devzone.nordicsemi.com/thread/186852?ContentTypeID=1</link><pubDate>Tue, 14 May 2019 07:58:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb29c0f1-3d82-47ac-8948-582e728bc81a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I think you should have a look at the add_char_params.max_len function found in amongst others the ble_nus.c file in our SDK. Changing the max char length to the desired amount of characters you want transmitted should solve your problem.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>