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

How to upload the application code via BLE from Android device?

Hi Everyone

I am using BLE for NORDIC UART SERVICES. I want to update my code via BLE instead of a USB or J-LINK.

How can i upload my code from the Android device to nrf52840 which is using s140 device and sdk15.0

Do i have to generate a package file or Can i upload the hex file of my code directly onto the nordic nrf52840 ?

If i have to generate the package and enable the DFU Service, Can i still continue to use my NORDIC UART SERVICE  inside the same code?

What is the process i need to follow to achieve the above requirements?

Thanks !
Rajat

  • Hi Rajat, 

     

    Yes you can. You just need to use our BLE DFU bootloader. You will need to generate package file. Please follow this link

    Currently we don't have background DFU. You would need to switch from your main code to the bootloader mode and update firmware in this mode. 

    You can send a BLE command to switch from your application to the DFU bootloader (Buttonless).

Related