<?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>Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6049/sending-up-to-20-bytes-of-data-during-a-notify-event</link><description>In a previous post Related post it was mentioned that the below posted code would allow for a transmission of 20 bytes. However when I try to run this code I see a reported value of 20, even if i change the length of the data array down to 5 ( data[5</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Sep 2021 10:07:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6049/sending-up-to-20-bytes-of-data-during-a-notify-event" /><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/329179?ContentTypeID=1</link><pubDate>Mon, 13 Sep 2021 10:07:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f2ef494-9fc1-4107-95ad-346244bd4af6</guid><dc:creator>kabiskac</dc:creator><description>&lt;p&gt;I had a problem where there was garbage if I wrote less data than the full length. Setting&amp;nbsp;&lt;span&gt;attr_md&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;vlen&lt;/span&gt;&lt;span&gt;&amp;nbsp;to&amp;nbsp;&lt;/span&gt;&lt;span&gt;1 fixed it.&lt;/span&gt;&lt;/p&gt;
&lt;div style="left:-137px;position:absolute;top:-20px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21151?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2015 11:13:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a75bc358-17af-4449-ad17-772a89a452a8</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Any news on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21158?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2015 09:52:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d33c3ba-ed28-4daa-ad53-2c5820646f56</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Well then what&amp;#39;s gonna trigger the first call to on_ble_evt(TX_COMPLETE), which will call imu_data_send()? Are you sure you&amp;#39;re executing imu_data_send() at all?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21154?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 23:04:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e714455c-01a3-4bb3-8a3d-a5fbcf401b74</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;Nothing explicitly triggers TX_COMPLETE in my code.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void imu_data_send(void)
{
	uint32_t        err_code;
	
	uint8_t Data[20] 		= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
	uint16_t	data_len 	= sizeof(Data) / sizeof(Data[0]);
		
	while(true)
  {
		err_code = ble_aavs_on_imu_available(&amp;amp;m_aavs, Data, data_len);
		if (err_code == BLE_ERROR_NO_TX_BUFFERS ||
				err_code == NRF_ERROR_INVALID_STATE || 
				err_code == BLE_ERROR_GATTS_SYS_ATTR_MISSING)
				{
					break;
				}
				else if (err_code != NRF_SUCCESS) 
				{
					APP_ERROR_HANDLER(err_code);
				}
  }

}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;wait for event:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void on_ble_evt(ble_evt_t * p_ble_evt)
{
...

case BLE_EVT_TX_COMPLETE:
            imu_data_send(); 
            break;
...
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21152?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 22:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2770da2e-4da8-4703-b7ab-ba74b4274c76</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;I can look into that, will let you know soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21150?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 18:54:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b397568f-d1a2-47bb-bf54-55e1152990d5</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;This garbage data might be read perhaps instead of notified? Have you tried with Master Control Panel PC (Windows) app instead? Maybe if you tried that it could shed some light, I don&amp;#39;t know the mobile app well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21155?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 18:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ee17a9c-9b39-47b9-977b-8eeea1c078f0</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;I&amp;#39;m running out of ideas now but you say that you call hvx() when you get a TX_COMPLETE event. What triggers then the first notification? It&amp;#39;s the first notification that will trigger that first TX_COMPLETE event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21157?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 18:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff2bcde4-6240-48a3-bb5e-c11325d82e3c</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;Thanks Carles, Ive updated the code to reflect your changes. I agree the size of a pointer will never changes, that got passed me. I still see garbage data though. Not sure what could be causing it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21156?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 17:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d79ca51f-1a6a-4f6a-9aa9-bc93582b5e8d</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;This here:&lt;/p&gt;
&lt;p&gt;uint16_t len = sizeof(p_imu_data)/sizeof(p_imu_data[0])&lt;/p&gt;
&lt;p&gt;sizeof(ptr) will always give you 4 bytes, you cannot do that in C to obtain the length of the memory pointed to. You will have to pass imu_data_len as a parameter to ble_aavs_on_imu_available()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21172?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 17:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00b96262-2fff-4351-b801-1e2bf56e443d</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;Thanks Stefan, I will let you know what I find.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21153?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 16:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb2fbf5a-180f-4e9f-adc8-1f099310f56c</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;In the service.c file I set the characteristic like so:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    static uint32_t imu_char_add(ble_aavs_t * p_aavs)
{
    ble_gatts_char_md_t char_md;
    ble_gatts_attr_md_t cccd_md;
    ble_gatts_attr_t    attr_char_value;
    ble_uuid_t          ble_uuid;
    ble_gatts_attr_md_t attr_md;

    memset(&amp;amp;cccd_md, 0, sizeof(cccd_md));

    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;cccd_md.read_perm);
    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;cccd_md.write_perm);
    cccd_md.vloc = BLE_GATTS_VLOC_STACK;
    
    memset(&amp;amp;char_md, 0, sizeof(char_md));
    
    char_md.char_props.read   = 1;
    char_md.char_props.notify = 1;
    char_md.p_char_user_desc  = NULL;
    char_md.p_char_pf         = NULL;
    char_md.p_user_desc_md    = NULL;
    char_md.p_cccd_md         = &amp;amp;cccd_md;
    char_md.p_sccd_md         = NULL;
    
    ble_uuid.type = p_aavs-&amp;gt;uuid_type;
    ble_uuid.uuid = AAVS_UUID_IMU_CHAR;
    
    memset(&amp;amp;attr_md, 0, sizeof(attr_md));

    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.read_perm);
    BLE_GAP_CONN_SEC_MODE_SET_NO_ACCESS(&amp;amp;attr_md.write_perm);
    attr_md.vloc       = BLE_GATTS_VLOC_STACK;
    attr_md.rd_auth    = 0;
    attr_md.wr_auth    = 0;
    attr_md.vlen       = 0;
    
    memset(&amp;amp;attr_char_value, 0, sizeof(attr_char_value));

    attr_char_value.p_uuid       = &amp;amp;ble_uuid;
    attr_char_value.p_attr_md    = &amp;amp;attr_md;
    attr_char_value.init_len     = sizeof(uint8_t);
    attr_char_value.init_offs    = 0;
    attr_char_value.max_len      = 20;//sizeof(uint8_t);  // This sets the data length to be transmitted.
    attr_char_value.p_value      = NULL;
    
    return sd_ble_gatts_characteristic_add(p_aavs-&amp;gt;service_handle, &amp;amp;char_md,
                                               &amp;amp;attr_char_value,
                                               &amp;amp;p_aavs-&amp;gt;imu_char_handles);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I then later define a method which is supposed to transfer data over ble from the pointer I feed into it.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;   uint32_t ble_aavs_on_imu_available(ble_aavs_t * p_aavs, uint8_t* p_imu_data, uint16_t imu_data_len)			
{
	 uint32_t err_code;
	
 if (p_aavs-&amp;gt;conn_handle != BLE_CONN_HANDLE_INVALID)
{
ble_gatts_hvx_params_t params;

  
memset(&amp;amp;params, 0, sizeof(params));
params.handle 	= p_aavs-&amp;gt;imu_char_handles.value_handle;
params.type 		= BLE_GATT_HVX_NOTIFICATION;
params.offset 	= 0;
params.p_len 	= &amp;amp;imu_data_len;
params.p_data 	= p_imu_data;
					    
err_code = sd_ble_gatts_hvx(p_aavs-&amp;gt;conn_handle, &amp;amp;params);
					
	}
	else
	{
		err_code = NRF_ERROR_INVALID_STATE;
	}
	
		return err_code;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;from within the application I have a method which calls the notification code under the condition it sees a &lt;code&gt;BLE_EVT_TX_COMPLETE&lt;/code&gt; within &lt;code&gt;the on_ble_evt&lt;/code&gt; method&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21168?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 16:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82eb6c81-ab69-4645-be2d-9b172f1dd1b6</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;See within answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21169?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 15:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9299253-b920-437d-b8d9-9f4345bca5bf</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Can you post the characteristic population code along with the notification code? When you call sd_ble_gatts_characteristic_add(). Let&amp;#39;s see if we can find out what&amp;#39;s wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21174?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 09:34:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3074fd7d-17a6-4323-b6dd-9d3572eecaa2</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;ok, thats not it then. Take a look at this thread in order to look at what is needed to send multiple bytes in a &lt;a href="https://devzone.nordicsemi.com/question/28442/nrf51-dk-connection-event-packet-length/"&gt;single packet&lt;/a&gt;.  Also, &lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs/tree/throughput-test-5.2.0"&gt;here&lt;/a&gt; is an example that transmits 20 bytes per packet, perhaps you can spot something missing in your code by comparing with &lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs/tree/throughput-test-5.2.0"&gt;that code&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21170?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 00:49:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97161b2d-91cf-47c4-a1f2-ed20ef698685</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;Yes Carles, I&amp;#39;ve discovered the fact that the characteristic needed to be updated. I just dont know why im not sending the expected data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21173?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2015 00:48:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1dc22e1-c707-427d-ad1a-4716167d1739</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;making it static didn&amp;#39;t change anything.
I was under the impression that the &lt;code&gt;ble_gatts_hvx_params_t&lt;/code&gt;looks first to see if we populated the &lt;code&gt;p_data&lt;/code&gt; method. It doesn&amp;#39;t seem to be doing that in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21171?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 14:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59c57875-5481-4cf1-984c-0f0f29f633ef</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Try to define your variable as static, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static uint8_t data[20] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}; // 20 bytes of data
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21166?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 08:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37358f30-3f1f-4f84-9c35-bc3911f4c128</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;There&amp;#39;s a bug  s110 SD versions pre-8.0.0 where we would initialize the length of a variable length characteristic to max_len instead of init_len. See the 8.0.0 release notes for more info.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21167?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2015 08:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f37c656a-0bf1-4892-9413-aec85bb5e44f</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Please see &lt;a href="https://devzone.nordicsemi.com/question/14768/s110-v7-hvx-notification-bug/?answer=14772#post-id-14772"&gt;this answer here&lt;/a&gt; but effectively a notification or indication will always send the complete current size of the characteristic up to MTU bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21165?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2015 07:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fbdeae7-af2a-4dea-a620-e4514f790324</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Now I understand.  The code looks good.  I haven&amp;#39;t used the MCP.  I don&amp;#39;t know how it behaves.  It looks like you are sending custom data via a standard profile, HRS or battery or something like that.  Could that be the problem ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21164?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2015 04:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f8de32b-0f8e-4192-a5d6-a815f3bdd1a0</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;Yes, I understand &lt;code&gt;sizeof(uint8_t)&lt;/code&gt; is one byte, I said i found that it fixed my 1 byte long value problem, I am now sending 20 bytes but they are garbage data. So I&amp;#39;m using the &amp;quot;nRF master control panel&amp;quot; as the central from an android device. Im using PCA10028 with S110. I have updated the question with a screen capture of what i am receiving.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21163?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 12:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd013452-4cc2-4ba7-8a16-dd4168824c51</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;sizeof(uint8_t) gives the value  1 because type uint8_t is one byte long.&lt;br /&gt;
You still haven&amp;#39;t said which platform you are working on, iOS, Android, HTLM, Windows, OS X, Linux,...? Which API... ? Can you post that section of the code and the results you are getting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21162?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2015 09:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9eb66b7-8a65-46ce-aa38-abd7e9f9e579</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;Thanks Nguyen for your efforts, I found a clue to my problem but i need directions. I found this code within my characteristic definition &lt;code&gt;attr_char_value.max_len = sizeof(uint8_t);&lt;/code&gt; which makes sense why only 1 byte is being transmitted. I changed that to &lt;code&gt;attr_char_value.max_len = 20;&lt;/code&gt; I see a string of 20 bytes however it is garbage. I expect to see the data stream defined above. any ideas what might be happening?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21161?ContentTypeID=1</link><pubDate>Sat, 14 Mar 2015 22:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad300f17-9da8-4090-a867-592c93a0b2ad</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;What is the receiving end ? iOS, Android ? The value of 20 you receive, is it the data or the length ? If receiving is iOS.  You can try my code on this blog site.  There are many examples code with one to one nRF51 &amp;amp; iOS counterpart.  &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;embeddedsoftdev.blogspot.ca/.../ehal-nrf51.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending up to 20 bytes of data during a notify event.</title><link>https://devzone.nordicsemi.com/thread/21160?ContentTypeID=1</link><pubDate>Sat, 14 Mar 2015 19:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0353dc1-2962-4077-b9b4-7d0dce44c79b</guid><dc:creator>bulbse</dc:creator><description>&lt;p&gt;that was just an example. I&amp;#39;m saying that regardless of the data array i have it consistently transmits something unrelated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>