<?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 use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33929/dfu-use-in-c-xamarin-ios</link><description>Is it possible to both include and use the DFU component, inside the nRF-Toolbox, in a C# project? 
 Please advise or provide links on how-to.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 May 2020 08:42:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33929/dfu-use-in-c-xamarin-ios" /><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/250379?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 08:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b83d960-4160-458d-a8bc-5dd8fdee4f2c</guid><dc:creator>pdecostervgls</dc:creator><description>&lt;p&gt;Sorry to revive an old thread, but for the sake of completion, the NuGet packages&amp;nbsp;Xamarin.Nordic.DFU.Android and&amp;nbsp;Xamarin.Nordic.DFU.iOS from&amp;nbsp;Laerdal Medical provide this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/238468?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 09:50:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3587a3f5-174a-4412-9821-7ae0dfeee71d</guid><dc:creator>pcarvalho</dc:creator><description>&lt;p&gt;@gilpa We have been going about our own attempt at these bindings but it would be a lifesaver if you have something working already. If a nuget is too much effort, is it possible to open source the code that you used? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/189716?ContentTypeID=1</link><pubDate>Tue, 28 May 2019 20:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f3dbba8-6b37-430d-97ef-5f840eee3e72</guid><dc:creator>jtth</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/gilpa"&gt;Gilpa&lt;/a&gt; Any news or updates, hopefully?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/184529?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 11:22:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18cb3cca-a3a8-440b-8b5e-bd9fd8660b04</guid><dc:creator>Frotar</dc:creator><description>&lt;p&gt;Thanks for the quick reply, looking forward to it! : - )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/184498?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 09:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c03567a-5043-494b-af36-1576594b43f3</guid><dc:creator>Gilpa</dc:creator><description>&lt;p&gt;Hi Frotar,&lt;/p&gt;
&lt;p&gt;This is exactly what I&amp;#39;ve done. One binding for iOS and another one for Android.&lt;/p&gt;
&lt;p&gt;Our app use Xamarin Forms, I&amp;#39;ve also developed the bridge on top of the two bindings to expose the DFU feature to Forms but this bridge is closely linked to our use case / device.&lt;/p&gt;
&lt;p&gt;I will release the bindings in a couple of days and let you know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/184437?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2019 06:49:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc9266e8-3bc2-4259-88a3-0af29bc0aa25</guid><dc:creator>Frotar</dc:creator><description>&lt;p&gt;Hey Gilpa,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to find the most stable solution for integrating Nordic&amp;#39;s DFU library in a Xamarin project. As Mostafa Berg suggested a platform-specific binding seems the right way to go to be able to update the DFU library and get full support of Nordic.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking forward to what you have accomplished! : - )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/182934?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2019 13:08:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad392dce-a3bc-4385-b409-859184c168af</guid><dc:creator>Gilpa</dc:creator><description>&lt;p&gt;Ok !&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will release the nuget / github repo as soon as possible and let you know.&lt;br /&gt;(I just need to ask before the authorization from Nordic)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/181896?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2019 15:58:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eff4e813-b0ff-4504-b5f0-fdf44341c065</guid><dc:creator>jtth</dc:creator><description>&lt;p&gt;Yes! Very much interested &lt;a href="https://devzone.nordicsemi.com/members/gilpa"&gt;Gilpa&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/181890?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2019 15:08:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a9563ba-cfc3-4181-9fee-0302e06c8a6f</guid><dc:creator>Gilpa</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s an old topic, but is anybody still interested with a Xamarin nuget with the last Android and iOS libraries version of Nordic OTA ?&lt;/p&gt;
&lt;p&gt;if yes, I have one that I could publish. Let me know.&lt;/p&gt;
&lt;p&gt;(Binding libraries on top of the Android &amp;amp; iOS Nordic DFU libraries, with no dependencies on any other commercial stuffs)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/144365?ContentTypeID=1</link><pubDate>Wed, 15 Aug 2018 15:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f947653a-9915-432f-8f2f-844ac4d54682</guid><dc:creator>jtth</dc:creator><description>&lt;p&gt;Tesc,&lt;/p&gt;
&lt;p&gt;Understandably the effort here to bind the library is considerable. Per previous discussion, Mostafa Berg seemed adamant that this was possible and willing to work&amp;nbsp;towards a solution. But after receiving no response to the solution given for the build problem stated in the last post, and then having no communications in over three months, we figured this was too tall a request. In any case thanks for the reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/144322?ContentTypeID=1</link><pubDate>Wed, 15 Aug 2018 12:18:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ac8cee7-9569-4fb2-8ed1-5407e1541fbf</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We do not have any news on this, unfortunately. As previously stated, Xamarin is a third party solution for which we have no official support and no experience. Despite of this we have tried our best to help you and tried to point you in the right directions for solving the issue. I am afraid at this point there is nothing more we can do.&lt;/p&gt;
&lt;p&gt;Edit: I tried to fix the link to medium.com provided by &lt;a href="https://devzone.nordicsemi.com/members/mostafa_2d00_berg"&gt;Mostafa Berg&lt;/a&gt; in his last reply.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/141736?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 15:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:befee06e-49d7-4f03-9b0a-79d3533e580e</guid><dc:creator>jtth</dc:creator><description>&lt;p&gt;News, advances, breakthroughs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/133885?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 16:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73a20d99-7674-4b28-8830-eabe9a41b349</guid><dc:creator>jtth</dc:creator><description>&lt;p&gt;The &amp;#39;bridgeos&amp;#39; bug comes from not using the latest ver of Objective Sharpie. Please see&amp;nbsp;&lt;a href="https://github.com/xamarin/xamarin-macios/issues/3941"&gt;link&lt;/a&gt;&amp;nbsp;in which user &amp;#39;trinnguyen&amp;#39; points this out and provides the link to manually install ver 3.4.23.&lt;/p&gt;
&lt;p&gt;Likewise the link provided above (medium) returns 404.&lt;/p&gt;
&lt;p&gt;Hope the long weekend was restful. Any news/and or updates&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/mostafa_2d00_berg"&gt;Mostafa Berg&lt;/a&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/132208?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 09:08:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59f6d7b3-4fe2-47a0-b39a-fbbbb97c7eec</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;Can&amp;#39;t seem to build due to having the latest Xcode and iOS SDK which has that `bridgeos` bug, have you by the way taken a look at this blog post? might give a bit more insight?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://medium.com/@Flash3001/binding-swift-libraries-xamarin-ios-ff32adbc7c76"&gt;medium.com/.../binding-swift-libraries-xamarin-ios-ff32adbc7c76&amp;nbsp;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/132174?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 06:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b67de0-2779-4a17-8615-ad04445db50c</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;awesome, i&amp;#39;ll take a look&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/132113?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 15:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62b3b3a2-bc2d-4395-bc89-fbf60d7968eb</guid><dc:creator>jtth</dc:creator><description>&lt;p&gt;Fixed. Attached to op.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/132031?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 11:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7e70893-823e-43cc-95f0-6414b93e8ada</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/jtth"&gt;jtth&lt;/a&gt;, I don&amp;#39;t se any attachments, are you sure you uploaded it to the ticket ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/131735?ContentTypeID=1</link><pubDate>Fri, 11 May 2018 15:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c491c00-2880-46ab-a881-26d432f7ded8</guid><dc:creator>jtth</dc:creator><description>&lt;p&gt;Sent. See attached&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/131707?ContentTypeID=1</link><pubDate>Fri, 11 May 2018 12:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaf2164c-3488-4f0d-b407-87d8c9f18583</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;I would vote against&amp;nbsp;using 3rd party solutions that is not officially released by&amp;nbsp;Nordic, There are tons of porblems that would come with that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It will not be thoroughly tested as we do&amp;nbsp;internally.&lt;/li&gt;
&lt;li&gt;It will most&amp;nbsp;probably not be maintained, and is probably already outdated and will no longer work with our products.&lt;/li&gt;
&lt;li&gt;This will also cause an extra dependency to get the latest features we&amp;nbsp;release, as it has to be&amp;nbsp;implemented by the third party&lt;/li&gt;
&lt;li&gt;We will have another set of bugs that are related to DFU but are not caused by our own code, so it becomes impossible to reproduce and work with.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Xamarin&amp;nbsp;exports xCode projects, and that&amp;#39;s where the libraries should be natively imported and buit, Swift or Obj-C will not matter and both will natively compile with the Xamarin project.&lt;/p&gt;
&lt;p&gt;This makes it easier for our users to update their projects with our latest releases and previews with a single update command and avoids the hassle of going through a third party :)&lt;/p&gt;
&lt;p&gt;Of course there will be some trickery involved to get things working smoothly, but that&amp;#39;s how it is with&amp;nbsp;multi-platform&amp;nbsp;solutions&lt;/p&gt;
&lt;p&gt;but all in all the greater value would be to use&amp;nbsp;our official libraries instead :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/131705?ContentTypeID=1</link><pubDate>Fri, 11 May 2018 12:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:298d26fc-97a6-4d36-ab39-9ea010ad4950</guid><dc:creator>Mostafa Berg</dc:creator><description>&lt;p&gt;As per our email discussion, this is most probably an issue with Xamarin and iOS SDK 11.3, downgrade and use 11.2 or earlier to workaround the issue for now, can you please give&amp;nbsp;some error logs on those&amp;nbsp;warnings/errors you&amp;#39;re receiving ? would be nice to know what&amp;nbsp;these are:&lt;/p&gt;
[quote userid="71371" url="~/f/nordic-q-a/33929/dfu-use-in-c-xamarin-ios/131638"]The binding works and it generates the files, but&lt;span&gt;&amp;nbsp;&lt;/span&gt;both of the generated files&lt;span&gt;&amp;nbsp;&lt;/span&gt;do not build. Both are littered with errors. 49326 to put a # on it.[/quote]
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mostafa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/131638?ContentTypeID=1</link><pubDate>Thu, 10 May 2018 17:21:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75011bfa-1f64-408a-b547-061573af4e9b</guid><dc:creator>jtth</dc:creator><description>&lt;p&gt;Following the instructions...&lt;/p&gt;
&lt;p&gt;-Using the&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/blob/master/README_OBJC.md"&gt;OTA DFU Library for Mac and iOS&lt;/a&gt;&amp;nbsp;and&amp;nbsp;following the&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/blob/master/README_OBJC.md"&gt;Installation instructions for Obj-C projects&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;...the below results:&lt;/p&gt;
&lt;p&gt;Using CocoaPods&amp;nbsp;to&amp;nbsp;get the framework is successful, but when&amp;nbsp;attempting to generate the header files (ApiDefinition.h and Structs.h) via this objective sharpie command:&lt;/p&gt;
&lt;p&gt;&amp;#39;sharpie bind -sdk iphoneos11.3 iOSDFULibrary.framework/headers/iOSDFULibrary-Swift.h&amp;#39;&lt;/p&gt;
&lt;p&gt;The binding works and it generates the files, but&lt;span&gt;&amp;nbsp;&lt;/span&gt;both of the generated files&lt;span&gt;&amp;nbsp;&lt;/span&gt;do not build. Both are littered with errors. 49326 to put a # on it.&lt;/p&gt;
&lt;p&gt;Could you please assist in generating the header files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU use in C# (Xamarin.iOS)?</title><link>https://devzone.nordicsemi.com/thread/130542?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 12:38:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6f8d738-6c0f-48ec-be1f-7ecbbf2befbe</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately we do not have any links or how-tos for Xamarin. For more information see for instance this thread: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/15450/dfu-in-ios-xamarin"&gt;DFU in iOS Xamarin&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;What we provide for iOS is the &lt;a href="https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library"&gt;IOS-Pods-DFU-Libarary&lt;/a&gt;, which is mostly Swift. If you mean Objective C (and not C#) then you can follow this &lt;a href="https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library/blob/master/README_OBJC.md"&gt;guide for using the library with Obj-C projects&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>