Skip to content

barracksiot/Barracks-Nordic-DFU-exemple-iOS

Repository files navigation

Barracks + Nordic DFU exemple

This exemple app shows you how to push an update from Barracks to a Nordic NRF52 board using the Barracks SDK and the Nordic DFU Library

alt tag

You should take a look at :

Setup

  • Download the source code
  • run pod install in a terminal at the root of the project
  • Open the newly created .xcworkspace and begin working on your project.

Using Barracks and Nordic

  • Don't forget to enter your API key in the BarracksHelper init

How it works ?

  • 1 : Find the advertising NRF52 by scanning bluetooth device
  • 2 : Once we found the device, let use Barracks to check if an update is available for the versionID we wrote.
  • 3 : If an update is available, let's proceed to the installation by downloading update using BarracksHelper then push it on the NRF52 to update the firmware using the Nordic DFU Library.

About

This exemple app shows you how to push an update from Barracks to a Nordic NRF52 board, using the NordicDFU library and the Barracks SDK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published