Hi,
I would like to know, where the packets are written into the flash for the mesh DFU example.
In nrf_mesh_dfu.c is a function nrf_mesh_dfu_cmd_send:
It calls a handler, which was allocated at the end of the RAM:
An this command handler (Bootloader?) gets now commands for BLE transmits or RX packets etc, but I don't see where the commands are actually handled?
Further I don't see where the received packets are stored. There is somehow a listener registered:
And this listener somehow accesses the flash.
What I finally try to do is to store the DFU normally in the flash without flashing it or distributing it in the mesh. After I received the whole update, I want to start distributing
it in the mesh and update it at the end for myself, but I don't know where to access the individual packets out of the flash, since I don't see the storing mechanism behind.