<?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>Getting error for data transfer from Peripheral over air (BLE)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13109/getting-error-for-data-transfer-from-peripheral-over-air-ble</link><description>When i am trying to transfer data over air using sd_ble_gatts_hvx() function every time i am getting err_code 12 ( NRF_ERROR_DATA_SIZE ) error. 
 Here i can send data from my Android phone to my Peripheral succesfully, But when i try to send data from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Apr 2016 13:55:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13109/getting-error-for-data-transfer-from-peripheral-over-air-ble" /><item><title>RE: Getting error for data transfer from Peripheral over air (BLE)</title><link>https://devzone.nordicsemi.com/thread/49978?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2016 13:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbda2840-3303-41ef-a3bd-bb5f44dd8dbe</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I recommend you to use SDK 11, not SDK11.0.0-2.alpha. Then you will also use S130 2.0.0, not S130 2.0.0-7.alpha. What example are you using? What have you set the maximum length of the characteristic value to? The max_len field of the ble_gatts_attr_t struct you give to sd_ble_gatts_characteristic_add().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>