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

Bonbed OTA DFU with nrfutil

Hello,

I'm using the buttonless DFU bootloader examples with bonding and the PC nrfutil with a nRF52840 PDK for the firmware upload.

If I try to start the DFU process a second time with the same targed device, the connection will be refused with an error.

The problem is that the pairing/bonding keys (IRK, LTK, ...) are stored in the Flash of the targed device by the peer manager. But on the PC side the nrfutil tool doesn't save the pairing/bonding keys (IRK, LTK, ...) and tries to perform a new pairing/bonding at each connect to the same targed device. This will be refused by the targed device, because there are already pairing/bonding keys (IRK, LTK, ...) stored from the previous pairing/bonding with this PC.

Is there a solution to store pairing/bonding informations on the PC using nrfutil? Or is there a possibility to solve this problem in another way?

Best regards

Roland

Related