<?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>Problem with Long write/Queued write charecteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6715/problem-with-long-write-queued-write-charecteristics</link><description>Hi devzone...
My setup is nrf51422 dk with soft-device S110 on the server side and on the client side i am running MCP 3.8.0 on a PC using usb dongle.
I am using Queued write feature, as my device is suppose to receive 200 bytes of data. I am using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Apr 2015 13:00:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6715/problem-with-long-write-queued-write-charecteristics" /><item><title>RE: Problem with Long write/Queued write charecteristics</title><link>https://devzone.nordicsemi.com/thread/23562?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 13:00:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:786390b6-681e-4815-b006-35ac21a19636</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;This is not an answer. Please add it as a new question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Long write/Queued write charecteristics</title><link>https://devzone.nordicsemi.com/thread/23561?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2015 14:21:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9910efc6-af23-4ed5-86dc-94687743b9de</guid><dc:creator>yafis</dc:creator><description>&lt;p&gt;Now that i have queued write working....can someone suggest me how to send a 400 bytes packets back to the client as an indication....what would be the best way to do this..??
Thanks..!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with Long write/Queued write charecteristics</title><link>https://devzone.nordicsemi.com/thread/23560?ContentTypeID=1</link><pubDate>Sun, 26 Apr 2015 10:14:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91ab2255-93fe-4778-b08e-35e3aa9dc15d</guid><dc:creator>yafis</dc:creator><description>&lt;p&gt;Found the problem...!!!
it was crashing wen parsing the Long Write packet at&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint8_t *p_data = mem_block;

if(*((uint16_t *)p_data) == BLE_GATT_HANDLE_INVALID)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Seems the pointer p_data was at an odd boundary.
Apologies for the naiveness..:-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>