<?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>Why return different results 	 between  and ,when i  run the same program.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/809/why-return-different-results-between-and-when-i-run-the-same-program</link><description>Hi,
After i use sd_ble_gatts_hvx() ,i will receive a BLE_EVT_TX_COMPLETE. 
 The &amp;quot;tx_complete.count&amp;quot; is no problem when i use softdevice 5.2.1 . e.g. count =1. this is correct. 
 But the &amp;quot;tx_complete.count&amp;quot; is wrong when i use softdevice 6.0.0-1 . e</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Nov 2013 09:12:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/809/why-return-different-results-between-and-when-i-run-the-same-program" /><item><title>RE: Why return different results 	 between  and ,when i  run the same program.</title><link>https://devzone.nordicsemi.com/thread/4025?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2013 09:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8afb7360-055c-4722-b8b6-8bd32ed82dd1</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I just tested it, and as far as I can see this will happen if you use the 5.2.1 header files with the 6.0.0 softdevice.&lt;/p&gt;
&lt;p&gt;You should always take care to compile your application with the header files that came with the softdevice you&amp;#39;re using, but this is of even higher importance when there are functionality and API changes (i.e. when there is a major version increment). When not doing this, you may see strange return errors (in case of changing SVC numbers) or wrong event data (in case of event structs changing). When using the correct header files, your compiler will take care of this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>