<?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>Read characteristic help</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57489/read-characteristic-help</link><description>Hello, 
 I&amp;#39;m currently working on creating a custom characteristic so that my client can read a set of data from the server. 
 My intention is to have a server gather information and put this inside a buffer(200 ish bytes), the client initiates a read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Feb 2020 16:04:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57489/read-characteristic-help" /><item><title>RE: Read characteristic help</title><link>https://devzone.nordicsemi.com/thread/236051?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 16:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2cb0ca6-dab5-46de-98e4-1bd471918973</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;I&amp;#39;ve found out that it is the L2CAP header and its unavoidable in my situation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read characteristic help</title><link>https://devzone.nordicsemi.com/thread/236048?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 15:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c36553dd-2e1e-4046-9ec4-7a9c0b780255</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am sorry for the long delay, I have been quite busy lately. Have you been able to figure this out?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read characteristic help</title><link>https://devzone.nordicsemi.com/thread/233308?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2020 13:49:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:815a3fb7-2631-4b26-bd1c-b1ffdfcf8753</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1000x200/__key/communityserver-discussions-components-files/4/7444.Untitled2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read characteristic help</title><link>https://devzone.nordicsemi.com/thread/233307?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2020 13:49:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ef84b04-fafe-444c-8378-27a67b43fecb</guid><dc:creator>T IJ</dc:creator><description>&lt;p&gt;Well, this is awkward. It seems like every time I post a question on the devzone, somehow all the stars seem to align and it magically seems to work after a while.&lt;/p&gt;
&lt;p&gt;None the less I do still have some other questions regarding the reading characteristic.&lt;/p&gt;
&lt;p&gt;I am able to successfully read 394 bytes from my devkit using the Android app. I can detect the packages using Wireshark and a second devkit with the proper BLE sniffer stuff in it. I can see that I&amp;#39;m able to transmit those 394 bytes in a single timeslot of 7.5ms (picture), but I saw something funny which I cannot explain. I&amp;#39;ve set my MTU to well above the maximum packet size, I&amp;#39;ve also changed my DLE to 197 (to split my buffer in to two equal sized packages)&lt;/p&gt;
&lt;p&gt;When the master initiates a read from the slave, the slave responds with an empty PDU.&lt;/p&gt;
&lt;p&gt;Roughly 194ms the master transmits an empty PDU and the slave responds with the first data chunk.&amp;nbsp; (probably due to Android BLE stuff but cannot be sure)&lt;/p&gt;
&lt;p&gt;After sending the first chunk of data the master sends an empty PDU, the slave responds with the second data chunk. (so far so good)&lt;/p&gt;
&lt;p&gt;To my surprise I see that the master sends out another empty PDU and the slave responds to that with 5 bytes of data.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After searching around I found out that there is 5 extra bytes in the first data chunk(picture) which results into a roll over into the second frame and thus needing to create the third frame.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I cannot find out what these 5 bytes mean or where they come from. The value of these bytes is 0x - 8B 01 04 00 0B&lt;/p&gt;
&lt;p&gt;Can anyone with a great mind tell me what those 5 bytes are and if that is explainable or just something I have to deal with.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;T IJ&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5102.Untitled.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>