This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

iOS and Android Sample Code/API to enable device bootloader

Hi,

The nRF Connect iOS and Android apps provides detailed instructions and functionality for enabling the device boot loader via the iOS/Android] mobile apps. When running the  nRF Toolbox DFU update app, I noticed that the DFU update does not place the device in boot loader mode prior to running a DFU update. As a result, the DFU update fails with a "Service Not Available" message. 

So, my questions are:

1. Can you please provide links to both iOS and Android Sample Code (swift/java/kotlin) to enable device bootloader? in nRF Connect, you have to

      write to 0xba to enable the boot loader. 

2. Do you have an iOS and Android API for I may reference as we develop our apps?

    Here is a sample API reference example: https://developer.android.com/reference/android/graphics/Color 

Thanks,

Related