<?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>[iOS DFU Library] Not using the device name as &amp;quot;DfuTarg&amp;quot; ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27016/ios-dfu-library-not-using-the-device-name-as-dfutarg</link><description>SoftDevice : S110 7.1 
 
 
 SDK 7.2 
 
 
 Example : experimental_ble_app_uart + DFU service 
 
 
 Using IAR 7.1 
 
 
 Board : PCA10001 V 2.0.0 (Rev. 2 MCU) 
 
 
 Test device : Nexus 5 (Android 5.1.1) and iPhone 6+ (iOS 8.4) 
 
 
 Toolbox</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Jun 2016 15:01:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27016/ios-dfu-library-not-using-the-device-name-as-dfutarg" /><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/106000?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2016 15:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd533993-f1cf-4376-b733-3679bf7cbf13</guid><dc:creator>makouda</dc:creator><description>&lt;p&gt;@Hung Bui  what do you mean by The &lt;code&gt;DFU&lt;/code&gt; master won&amp;#39;t base on the name of the advertising name to find the bootloader !!! I put the peripheral on Dfu mode by writing on the Bootloader service (second charact), then disconnect then the peripheral advertise &lt;code&gt;DfuTarg&lt;/code&gt;, then I connect to it and upload the new app. if the advertising name is different from &lt;code&gt;DfuTarg&lt;/code&gt; it wont connect (I connect only to &lt;code&gt;DfuTarg&lt;/code&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/105999?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2015 10:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f857db2-9f7a-4937-be7c-c9f4d630a1a2</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Hi @Hung_Bui . It seems that the nrf toolbox app&amp;#39;s dfu doesn&amp;#39;t work on ios but it does on android, could you confirm ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/105998?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 14:07:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7cb902b-17ad-47c7-9f69-913f63415f29</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mango922,
Yes, you can use the scan response packet for the device name (or the 128bit service UUID), make sure you don&amp;#39;t also use it in the advertising packet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/105995?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 12:41:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc5ba59d-d695-4f7e-8890-35c06df511be</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Great! Thanks for the tip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/105994?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 12:38:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f0f376e-b2cf-4211-9dc9-044fd1a020c9</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;I don&amp;#39;t use iOS much and don&amp;#39;t know what Swift is but I heard that switching off and then back on Bluetooth on iOS helps with cache. If you paired device you need to &amp;quot;forget&amp;quot; it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/105997?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 12:27:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36eadfb2-a03b-4aef-a28e-ab9f5eb215af</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Oh, you pointed my problem correctly.&lt;/p&gt;
&lt;p&gt;I defined the device name 9 digits. I totally forgot to calculate the length.&lt;/p&gt;
&lt;p&gt;Then if I still want to use this 9 digit name,&lt;/p&gt;
&lt;p&gt;adding &lt;code&gt;ble_advdata_t scanrsp&lt;/code&gt; may do the trick, does it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/105993?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 12:23:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed347370-ae1c-4484-abdd-5dc95833d52c</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Didn&amp;#39;t know that. Thanks for telling me.&lt;/p&gt;
&lt;p&gt;Have you tried Swift? I&amp;#39;m curious whether a method to clear cache in iOS exists or not?&lt;/p&gt;
&lt;p&gt;Do you know methods that will do things like this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/105992?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 12:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:493d6154-965c-4483-af6b-3eb14b10017c</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Android Toolbox clears cache if you close and open it again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [iOS DFU Library] Not using the device name as "DfuTarg" ?</title><link>https://devzone.nordicsemi.com/thread/105996?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2015 11:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6349e31a-22dd-46e8-9959-85e3b5e17b5f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mango,&lt;/p&gt;
&lt;p&gt;The DFU master won&amp;#39;t base on the name of the advertising name to find the bootloader but on the Address and the 128 bit service UUID in the advertising packet.&lt;/p&gt;
&lt;p&gt;So it shouldn&amp;#39;t be a problem to change the name of the bootloader.&lt;/p&gt;
&lt;p&gt;However, since the 128 bit service UUID is included in the advertising packet, the length of the bootloader should be short. It should not be more than 8 digit otherwise you will have an error when start advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>