I'm trying to get DFU to work on my Xamarin iOS project. Has anyone managed to get the library binding of the iOS DFU library with Xamarin iOS?
I'm trying to get DFU to work on my Xamarin iOS project. Has anyone managed to get the library binding of the iOS DFU library with Xamarin iOS?
Hi Folks,
It took some time and I had to do some adaptions but it's working now. I've setup a public Git repository at Bitbucket. The repository includes a Xamarin project for iOS and Android. Feel free to comment and propose changes for upcoming releases.
This repository shows a demo app of the Nordic DFU implementation on Xamarin.
Git: https://bitbucket.org/arendiag/arendi_nordicdfu.git
Web: https://bitbucket.org/arendiag/arendi_nordicdfu/overview
This library provides the implementation of the Nordic DFU. It may be used free but no official support is provided.
The library provides Bluetooth Low Energy support for multiple platforms. It handles all the various API's of the different operating systems and offers a common high level interface for the application.
The BLE library is an official Xamarin component of Arendi AG. The provided version may be used for evaluation, but it has to be licensed for usage in any product.
Without providing a license key the library will block any BLE operation after two minutes.
For more information see: http://ble-library.arendi.ch
This library provides a few basic functions for all of our projects.
The DotNETLibrary is a supporting component of Arendi AG. The provided version may be used for evaluation, but it has to be licensed for usage in any product.
To test the implemention a device with support for the Nordic DFU is required. In the repository a firmware to test the app is included. Attach a PCA10028 developer board to your system and start the "App/Firmware/SDK11/erase_program_unprotected.bat" batch file. This will programm your developper board with a HRS application including a softdevice and bootloader.
Check out a copy of the git repo for the Arendi Nordic DFU app.
Open the solution for iOS or Android with your Visual Studio 2015 incl. Xamarin Support. Rebuild the project an deploy it to your device.
NOTE: Building apps with Xamarin for iOS needs a build server, a apple developer account and development certificates.
After the app started you should press the "select peripheral" button to select the device to update. If the test device is not visible it may have entered the power off state and a reset is required first. If the device is selected the update can be started by pressing "Start Update".
Arendi is a company based in Switzerland.
We provide embedded software for any sized devices:
BLE competence - More about the BLE competence of Arendi you can find in the Brochure BLE competence.
E-Mail: [email protected]
Web: http://www.arendi.ch
On that note - any news regarding release the code for the DFU library?
On that note - any news regarding release the code for the DFU library?