Bluetooth Firmware updates using custom andriod app

Hello,

I'm implmenting firmware updates over BLE, using a nRF5340DK, nRF Connect SDK v3.2.1, and an Android phone.

I can use the nRF android app, but how can I do this in my own custom Andriod application and custom PCB.

Parents Reply Children
  • Hello,

    The NCS version I  am using is 3.2.1
    I'm using a Samsung  Galaxy  S23
    Andriod Version 14

    Currently, I  test  OTA  with the nRF Connect  App.

    Yes,  the  custom Android  application is  capable  of doing  everything BLE  related,  so  scanning,  connecting, write/read  etc, won't be a  problem.

    Will  the link you  sent me be  compatible  with my  parameters listed above?

    Also,  if I  wanted to do  a  OTA without using an application, for example with a  Raspberry Pi is this possible? Is there somewhere that has the  information of doing firmware  updates, e.g. talking to the  services/characteristics?

  • jerome.sc said:
    the  custom Android  application is  capable  of doing  everything BLE  related,  so  scanning,  connecting, write/read  etc, won't be a  problem.

    You can start the custom Android app from https://github.com/NordicSemiconductor/Android-nRF-Connect-Device-Manager 

    jerome.sc said:
    if I  wanted to do  a  OTA without using an application, for example with a  Raspberry Pi is this possible? Is there somewhere that has the  information of doing firmware  updates, e.g. talking to the  services/characteristics?

     It needs the application with the SMP protocol on the Raspberry Pi. The protocol involves sending encoded management commands to a specific SMP characteristic on the devices. Unfortunately, we don't have such resources. You would have to implement by yourself.  

Related