<?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>pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54398/pc-ble-driver-py-h5_decode-error-code-0x802c-h5-error-count</link><description>Hi, 
 I used a NRF52832 to test our product with Python Script. 
 I enable my notification. I start to receive notification and I have a crash after received first notification. 
 And the output trace: 
 Received advertisment report, address: 0x6D0FBA000006</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Nov 2019 09:34:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54398/pc-ble-driver-py-h5_decode-error-code-0x802c-h5-error-count" /><item><title>RE: pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/thread/220756?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 09:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2307ebc-116e-446f-a6a3-9f9e0cd159e8</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;&lt;span&gt;We haven&amp;#39;t seen this issue on a devkit before. Which OS(Windows, Mac OSX, Linux,etc) are you using on your computer?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/thread/220752?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 09:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b4751bb-2128-4bba-bec6-b47c31c3e9dc</guid><dc:creator>Sebastien</dc:creator><description>&lt;p&gt;yes we use&amp;nbsp;&lt;span&gt;nRF52-DK(PCA10040)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/thread/220652?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 15:24:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b37cb7a8-8c42-4651-a246-1b254b393d47</guid><dc:creator>Sebastien</dc:creator><description>&lt;p&gt;Do you have an explanation ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/thread/220651?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 15:22:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ffd8807-46d5-43a7-8301-451f277ff432</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Glad it worked out :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/thread/220647?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 15:07:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c8e5c3c-55e3-458f-bbed-d3d253bf4cad</guid><dc:creator>Sebastien</dc:creator><description>&lt;p&gt;It seems that changing the MTU_SIZE fixed the issue. From 250 (initial code example) to 23.&lt;/p&gt;
&lt;p&gt;class IMU_Collector(BLEDriverObserver, BLEAdapterObserver):&lt;br /&gt; def __init__(self, adapter):&lt;br /&gt; super(IMU_Collector, self).__init__()&lt;br /&gt; self.adapter = adapter&lt;br /&gt; self.conn_q = Queue()&lt;br /&gt; self.adapter.observer_register(self)&lt;br /&gt; self.adapter.driver.observer_register(self)&lt;br /&gt; &lt;strong&gt;self.adapter.default_mtu = 23&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Another Service with a lowest ODR don&amp;#39;t failed.&lt;/p&gt;
&lt;p&gt;Something not normal I assumed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/thread/220644?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 15:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2745446c-fb9a-4423-afc9-6e0f52a9ab8a</guid><dc:creator>Sebastien</dc:creator><description>&lt;p&gt;Yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/thread/220638?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 14:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12be8826-b552-49f8-8618-ee480e17f8ef</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you use a nRF52-DK(PCA10040) or a custom kit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver-py : h5_decode error, code: 0x802c, H5 error count</title><link>https://devzone.nordicsemi.com/thread/220141?ContentTypeID=1</link><pubDate>Thu, 14 Nov 2019 15:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd7f5c24-39fd-4c2d-a90f-862f7423e889</guid><dc:creator>Sebastien</dc:creator><description>&lt;p&gt;It seems that this is an issue reported in the Library:&lt;/p&gt;
&lt;p&gt;H5 Decode packet size is not good.&lt;/p&gt;
&lt;p&gt;if (slipPayload.size() != calculatedPayloadSize)&lt;br /&gt; {&lt;br /&gt; return NRF_ERROR_SD_RPC_H5_TRANSPORT_SLIP_CALCULATED_PAYLOAD_SIZE;&lt;br /&gt; }&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>