<?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>nrf52832: sending BLE values</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58951/nrf52832-sending-ble-values</link><description>Hi all, I&amp;#39;m developing nRF52832. 
 My goal is to send ADC data to central device using BLE. 
 
 Below is part of my code. 
 
 Maximum MTU size is 251. 
 
 I sent data in 16-bit form, so when I receive in mobile, it looks like &amp;#39;(0x) 00-00-00-00-00....</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Mar 2020 08:44:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58951/nrf52832-sending-ble-values" /><item><title>RE: nrf52832: sending BLE values</title><link>https://devzone.nordicsemi.com/thread/239268?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2020 08:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0e79ef1-d959-4499-aaa5-0ef211780b7b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Maximum MTU size is 251.[/quote]
&lt;p&gt;Are you referring to the Bluetooth SIG specifications?&lt;br /&gt;The maximum data length available to applications is in fact 244.&lt;br /&gt;The remaining 7 bytes are used by the SoftDevice.&lt;br /&gt;You can look this up by the defined&amp;nbsp;NRF_SDH_BLE_GATT_MAX_MTU_SIZE(which is 247, minus &lt;em&gt;OPCODE_LENGTH and HANDLE_LENGTH).&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;Could you constrict your application data to 244 bytes per package, and see if it then performs as expected?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>