<?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 two packets of data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14031/how-to-send-two-packets-of-data</link><description>Hi! I have asked a question in this topic ( devzone.nordicsemi.com/.../) and now I can send one packet of 20bytes. What I cannot do is sending two packets at the same time, because what I see is that my beacon sends two packets separately.
My application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 May 2016 10:13:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14031/how-to-send-two-packets-of-data" /><item><title>RE: How to send two packets of data</title><link>https://devzone.nordicsemi.com/thread/53647?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 10:13:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bf9c3df-0bd6-4918-aad1-a6bf69f6e256</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;First both calls return BLE_ERROR_GATTS_SYS_ATTR_MISSING? Then both return NRF_SUCCESS?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send two packets of data</title><link>https://devzone.nordicsemi.com/thread/53648?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 09:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df83fb71-7ac4-4766-8d74-366769de6398</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;I have checked the returned error of sd_ble_gatts_hvx() and the first time that it sends the data returns &lt;code&gt;BLE_ERROR_GATTS_SYS_ATTR_MISSING&lt;/code&gt;, the other times it returns &lt;code&gt;NRF_SUCCESS&lt;/code&gt;...Can this be the reason why it doesn&amp;#39;t send the two packets together?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send two packets of data</title><link>https://devzone.nordicsemi.com/thread/53649?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 15:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5aded29-5a81-4fa0-9ebd-122a183143a9</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;Ok I&amp;#39;ll check! Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send two packets of data</title><link>https://devzone.nordicsemi.com/thread/53652?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 15:08:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7b3aff3-4433-4721-8bc9-79a7f681a95b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Android should support more than 1 packet per connection interval. I think you code should work, but could you check the returned error codes of sd_ble_gatts_hvx()? They should be 0x00000000 (NRF_SUCCESS).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send two packets of data</title><link>https://devzone.nordicsemi.com/thread/53651?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 15:03:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:343f33da-8c72-4d7b-9c14-51e9b3827688</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;For the moment I have used the app for Android on my phone and there I see each packet every 20ms...So if I use the nrf51 DK as central it should support two packets per connection?the code that I&amp;#39;m using for sending them from the beacon is correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send two packets of data</title><link>https://devzone.nordicsemi.com/thread/53650?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 14:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a873bfb4-150c-4e0d-abdc-1219f863caee</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What central device are you connecting to? It may not support more than one packet per connection interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>