After the Bluetooth mesh dfu is completed, the distribution network information of the node is cleared

I have implemented DFU functionality in my Bluetooth mesh project and used device A as the distributor and device B as the node to be updated. I have already configured both devices and they can communicate with each other. Then I use the distributor to send new firmware to the node. After the node firmware is successfully updated, the original distribution network information of the node is cleared. At this point, the distributor and the node cannot communicate and need to manually reconfigure the distribution network. How can the original distribution network data be retained during DFU updates?

Parents Reply
  • Good news. I have found a solution now, which is to manually change the hash value in the upgrade package to the correct hash value, then upload the modified upgrade package to the distributor, and then perform dfu normally. At this point, the img_effect will be BT_MESH_DFU_EFFECT_NONE, and the node upgrade will not become an unprovisioning device after completion

    But this is too troublesome, so this problem still needs to be solved

Children
No Data
Related