There is a tutorial that shows the user how to create a DFU update on mesh by sending a binky sketch over
nrfutil dfu genpkg --application bin/blinky/blinky_nrf52832_xxAA_s132_7.2.0.hex --company-id 0x00000059 --application-id 1 --application-version 2 --key-file private_key.txt --sd-req 0x00CB --mesh dfu_test.zip
Above code is from the tutorial, -sd-req is 0x00CB which is wrong, should be 0x0101 , known issue in the tutorial as 0x00CB is 7.0.1 and 0x0101 is 7.2.0. The Blinky sketch doesn't use soft devices and so the above code will work regardless of the soft device.
Lets say you want to change Blinky to a different program, what considerations do I need to be aware off?
1 - the soft devices have to match in this case, all other parameters can match the code above
2 - the size of the new application, how big can the update be?
3 - has anyone tried with other examples? as I am only able to flash Blinky using this tutorial.
- for example, could I replace the blinky binary with lets say a mesh light switch binary and redo the steps
4 - Location of the update? Do we need to know? or will the DFU example sort that out for us using optimal_bank_address routine
5 - Anything else?