<?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>Issue when sending multiple notifications consecutively on single characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13050/issue-when-sending-multiple-notifications-consecutively-on-single-characteristic</link><description>I just ran a few experiments on calling sd_ble_gatts_hvx() multiple times based on SDK v10&amp;#39;s ble_app_uart example. I have configure the app so that it for each external event, for 15 times, it increments a byte and call sd_ble_gatts_hvx() with that byte</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Apr 2016 21:18:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13050/issue-when-sending-multiple-notifications-consecutively-on-single-characteristic" /><item><title>RE: Issue when sending multiple notifications consecutively on single characteristic</title><link>https://devzone.nordicsemi.com/thread/49750?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2016 21:18:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bb0f235-c100-4208-a788-7e0321c16ad8</guid><dc:creator>John</dc:creator><description>&lt;p&gt;When you call sd_ble_gatts_hvx it doesn&amp;#39;t immediately send your packet. The packet is queued up in the stack and the function call returns. The stack only has a limited number of buffers (6) before it runs out of buffers to hold your packets. When that happens the stack will return a BLE_ERROR_NO_TX_BUFFERS error code and you need to wait for a BLE_EVT_TX_COMPLETE from the stack before you can queue up more packets to send.&lt;/p&gt;
&lt;p&gt;This answer may help you out with this: &lt;a href="https://devzone.nordicsemi.com/question/880/s110-sending-multiple-notifications-per-connection-event/"&gt;TX Complete&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>