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
  • Hi,

    What NCS version are you using? What nRF Android app are you using, nRF Connect or nRF Connect Device Manager? 

    Is your custom PCB capable of running the application as an nRF5340DK and working with the nRF Android app?

    Is your custom Android application capable of scanning and connecting to the BLE application running on the nRF5340DK?  

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

    Regards,
    Amanda H. 

  • 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?

Reply
  • 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?

Children
  • 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