<?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>DFU Init packet invalid CRC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102681/dfu-init-packet-invalid-crc</link><description>I am working on an IOS app to do BLE OTA of custom hardware. I&amp;#39;m currently using a development kit to simulate the hardware. 
 I am using this flowchart to try to do an OTA update from my IOS application. 
 What I&amp;#39;ve done so far: 
 
 Created an IOS application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Aug 2023 15:37:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102681/dfu-init-packet-invalid-crc" /><item><title>RE: DFU Init packet invalid CRC</title><link>https://devzone.nordicsemi.com/thread/440560?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 15:37:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:199c4ab8-c380-4d4d-a353-e4a5b4b27b95</guid><dc:creator>jbmillard</dc:creator><description>&lt;p&gt;I found the the problem. &amp;nbsp;I was writing both the data/packet and control characteristics&amp;nbsp;CBCharacteristicWriteType of .withResponse. &amp;nbsp;For the data characteristic, it needed to be .withoutResponse.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Init packet invalid CRC</title><link>https://devzone.nordicsemi.com/thread/440545?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 14:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad612880-e36c-4cd6-a11c-b290acfe7cbe</guid><dc:creator>jbmillard</dc:creator><description>&lt;p&gt;Yes, it is from my app.&lt;/p&gt;
&lt;p&gt;Line 58 comes from the line before - see line 56 and 57. &amp;nbsp;That is data received from the radio bootloader in response to the get CRC command (0x03)&lt;/p&gt;
&lt;p&gt;I am not using the library. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Init packet invalid CRC</title><link>https://devzone.nordicsemi.com/thread/440521?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 13:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62f71ceb-b153-462a-b42b-dba25577f8a1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is this log from your custom mobile application, or from the nRF? Since it says &amp;quot;DFUController&amp;quot;, I assume it is the mobile app.&lt;/p&gt;
&lt;p&gt;Where do you get the offset and crc values from on line 58? I am not familiar with the mobile app libraries that we provide, but are you able to debug to see whether these are fetched correctly?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using our library at all, by the way? If so, you can compare the implementation with the &lt;a href="https://github.com/NordicSemiconductor/iOS-nRF-Toolbox"&gt;nRF Toolbox source code&lt;/a&gt;, and compare it with your implementation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>