<?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 get the number of broadcast data?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8700/how-to-get-the-number-of-broadcast-data</link><description>Hi
I want to get the number of broadcast data.i try it as follow:
 
 
 
 But i can not get the BLE_EVT_TX_COMPLETE event. Why? can you tell how to get the number of broadcast data and know radio data transmission to complete ?
Thank you!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Aug 2015 09:33:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8700/how-to-get-the-number-of-broadcast-data" /><item><title>RE: How to get the number of broadcast data?</title><link>https://devzone.nordicsemi.com/thread/31895?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2015 09:33:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:942b3a22-96dd-4147-8de9-78ee6960e3e4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you are only broadcasting/advertising you will never get the BLE_EVT_TX_COMPLETE, you will only get this event in a connection. A server will get the event after a notfication has been sent, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/group___b_l_e___g_a_t_t_s___h_v_n___m_s_c.html?cp=2_7_2_1_0_2_3_0_13"&gt;this&lt;/a&gt;, a client will get the event after a write command has been sent, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/group___b_l_e___g_a_t_t_c___v_a_l_u_e___w_r_i_t_e___m_s_c.html?cp=2_7_2_1_0_2_2_0_7"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what you mean by &amp;quot;number of broadcast data&amp;quot;, but if you mean the number of broadcasted packets or advertised packet, you can have a look at &lt;a href="https://devzone.nordicsemi.com/question/48018/how-to-find-the-advertisement-count-in-nrf51/"&gt;this&lt;/a&gt; question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>