BLE connection persistence during FOTA update

Hi!

I'm able to update the firmware on the nrf5340 over BLE but the BLE settings seem to get overwritten during the update. The master device cannot automatically reconnect to the nrf5340 and needs to be manually reconnected. Is there a way to keep the old connection during the update?

-Ville

Parents
  • Hi Ville, 

    The original connection has to be terminate when doing DFU update that's unavoidable. It's because the chip has to be reset for the application to be replaced. 

    The question here is should the central device re-connect automatically. On normal working condition, if the device turn off and then turn back on, would the central reconnect automatically ? 
    Do you see any address change when the device get updated ? Do you do pairing/bonding between the two devices ? Do you need to re-bond after DFU update ?

  • Ah, my question was worded a bit wrong. The connection is ok to sever but the device is unable to rebond with the new software even though the address stays the same. Is there a way to keep the bond information during the update? The problem might be on the central side.

Reply Children
Related