<?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>The data sent using sd_ble_gatts_hvx() is appended with &amp;quot;00&amp;quot; for the MTU size.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113788/the-data-sent-using-sd_ble_gatts_hvx-is-appended-with-00-for-the-mtu-size</link><description>I am using nRF5 SDK (17.1.0). 
 The MTU size is set to 53. I am using sd_ble_gatts_hvx() to send 16 bytes of data via Notification. 
 When I check the received data with the nRF Connect app (Android), it is received with 34 bytes of &amp;quot;00&amp;quot; added after the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Aug 2024 01:11:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113788/the-data-sent-using-sd_ble_gatts_hvx-is-appended-with-00-for-the-mtu-size" /><item><title>RE: The data sent using sd_ble_gatts_hvx() is appended with "00" for the MTU size.</title><link>https://devzone.nordicsemi.com/thread/497540?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 01:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5619ddaa-9977-4fb3-aed6-26ad3ea4e72c</guid><dc:creator>AOI</dc:creator><description>&lt;p&gt;I was able to send variable length data by setting is_var_len to true (1).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>